Skip to content

Commit 28ca556

Browse files
committed
disable one test
1 parent e18dd1f commit 28ca556

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

_unittests/ut_torch_export_patches/test_patch_torch.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,8 @@ def _batch1(t):
395395
# self.assertEqualArrayAny(expected, got)
396396

397397
with self.subTest(input="batch1", backed_size_oblivious=True):
398+
if not has_transformers("4.55"):
399+
raise unittest.SkipTest("test not working with transformers<4.55")
398400
with (
399401
torch.fx.experimental._config.patch(backed_size_oblivious=True),
400402
torch_export_patches(patch_transformers=True),

0 commit comments

Comments
 (0)