Skip to content

Commit 3ce7978

Browse files
committed
bug
1 parent ffc3f46 commit 3ce7978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_unittests/ut_torch_models/test_test_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def test_validate_model_onnx(self):
6464
exporter="onnx-dynamo",
6565
dump_folder="dump_test_validate_model_onnx",
6666
patch=True,
67-
stop_if_static=pv.Version(torch.__version__) > pv.Version("2.6"),
67+
stop_if_static=2 if pv.Version(torch.__version__) > pv.Version("2.6") else 0,
6868
)
6969
self.assertIsInstance(summary, dict)
7070
self.assertIsInstance(data, dict)

0 commit comments

Comments
 (0)