Skip to content

Commit bb123af

Browse files
authored
switch to 4.55.4 (#201)
* switch to 4.55.4 * remove unnecessary unit test
1 parent 4d91662 commit bb123af

File tree

3 files changed

+4
-26
lines changed

3 files changed

+4
-26
lines changed

.github/workflows/check-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
matrix:
1717
os: [ubuntu-latest, macOS-latest, windows-latest]
1818
python: ['3.11', '3.12']
19-
transformers: ['4.48.3', '4.52.4', '4.55.3', 'main']
19+
transformers: ['4.48.3', '4.52.4', '4.55.4', 'main']
2020
torch: ['2.7', '2.8', 'main']
2121

2222
steps:

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
matrix:
1717
os: [ubuntu-latest]
1818
python: ['3.10', '3.11', '3.12', '3.13']
19-
transformers: ['4.48.3', '4.51.3', '4.52.4', '4.53.3', '4.55.3', 'main']
19+
transformers: ['4.48.3', '4.51.3', '4.52.4', '4.53.3', '4.55.4', 'main']
2020
torch: ['2.8', 'main']
2121
exclude:
2222
- python: '3.10'
@@ -28,15 +28,15 @@ jobs:
2828
- python: '3.10'
2929
transformers: '4.53.3'
3030
- python: '3.10'
31-
transformers: '4.55.3'
31+
transformers: '4.55.4'
3232
- python: '3.11'
3333
torch: 'main'
3434
- python: '3.11'
3535
transformers: '4.53.3'
3636
- python: '3.11'
3737
transformers: 'main'
3838
- python: '3.11'
39-
transformers: '4.55.3'
39+
transformers: '4.55.4'
4040
- python: '3.13'
4141
torch: '2.8'
4242
- python: '3.13'

_unittests/ut_torch_models/test_validate_whole_models.py

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -116,28 +116,6 @@ def test_g_validate_model_onnx_dynamo_os_ort(self):
116116
onnx_filename = data["onnx_filename"]
117117
self.assertExists(onnx_filename)
118118

119-
@requires_torch("2.7")
120-
@hide_stdout()
121-
@ignore_warnings(FutureWarning)
122-
@requires_experimental()
123-
def test_h_validate_model_custom_os_ort(self):
124-
mid = "arnir0/Tiny-LLM"
125-
summary, data = validate_model(
126-
mid,
127-
do_run=True,
128-
verbose=10,
129-
exporter="custom",
130-
dump_folder="dump_test/validate_model_custom_os_ort",
131-
patch=True,
132-
stop_if_static=2 if pv.Version(torch.__version__) > pv.Version("2.6.1") else 0,
133-
optimization="default+os_ort",
134-
)
135-
self.assertIsInstance(summary, dict)
136-
self.assertIsInstance(data, dict)
137-
self.assertLess(summary["disc_onnx_ort_run_abs"], 1e-4)
138-
onnx_filename = data["onnx_filename"]
139-
self.assertExists(onnx_filename)
140-
141119
@requires_torch("2.7")
142120
@hide_stdout()
143121
@ignore_warnings(FutureWarning)

0 commit comments

Comments
 (0)