Skip to content

Commit 0b7dcee

Browse files
committed
fix
1 parent 28ca556 commit 0b7dcee

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
@@ -428,6 +428,8 @@ def _batch1(t):
428428
# self.assertEqualArrayAny(expected, got)
429429

430430
with self.subTest(input="cache0", backed_size_oblivious=True):
431+
if not has_transformers("4.55"):
432+
raise unittest.SkipTest("test not working with transformers<4.55")
431433
with (
432434
torch.fx.experimental._config.patch(backed_size_oblivious=True),
433435
torch_export_patches(patch_transformers=True),

0 commit comments

Comments
 (0)