Skip to content

Commit 7e35e7f

Browse files
authored
fix test_replace_string_by_dynamic for torch nightly build (#243)
* Simple change to check CI * fix test_replace_string_by_dynamic
1 parent d6ea09a commit 7e35e7f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

_unittests/ut_helpers/test_torch_helper.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ def test_replace_string_by_dynamic(self):
240240
"_DimHint(type=<_DimHintType.DYNAMIC:3>,min=None,max=None,_factory=True)",
241241
"DYN",
242242
)
243+
.replace("DimHint(DYNAMIC)", "DYN")
243244
)
244245
self.assertEqual(
245246
"{'input_ids':{0:DYN,1:DYN},'attention_mask':({0:DYN,1:DYN},),'position_ids':[{0:DYN,1:DYN}]}",

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
ml_dtypes
12
numpy
23
onnx>=1.16.0
34
onnxruntime>=1.23

0 commit comments

Comments
 (0)