Skip to content

Commit f2e038c

Browse files
committed
exclude
1 parent a7f1b36 commit f2e038c

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,16 @@ jobs:
1717
os: [ubuntu-latest]
1818
python: ['3.10', '3.11', '3.12']
1919
transformers: ['4.48.3', '4.51.3', 'main']
20-
torch: ['2.6', 'main']
21-
20+
torch: ['2.6', '2.7', 'main']
21+
exclude:
22+
- python: '3.10'
23+
transformers: 'main'
24+
- python: '3.10'
25+
torch: '2.7'
26+
- python: '3.11'
27+
transformers: '4.51.3'
28+
- python: '3.11'
29+
torch: '2.7'
2230
steps:
2331
- uses: actions/checkout@v3
2432

_unittests/ut_torch_export_patches/test_patch_serialization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def test_base_sliding_window_cache_unflatten_flatten(self):
175175
self.assertEqualAny([cache], cache2)
176176

177177
@ignore_warnings(UserWarning)
178-
@requires_torch("2.7")
178+
@requires_torch("2.8")
179179
def test_sliding_window_cache_export(self):
180180
class Model(torch.nn.Module):
181181
def forward(self, cache):

0 commit comments

Comments
 (0)