Skip to content

Commit 7905d8a

Browse files
committed
lint
1 parent 33fd641 commit 7905d8a

File tree

2 files changed

+5
-17
lines changed

2 files changed

+5
-17
lines changed

_unittests/ut_tasks/test_tasks.py

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,8 @@ def test_automatic_speech_recognition_float32(self):
6565
"cache_position": {0: "seq_length"},
6666
"encoder_outputs": [{0: "batch"}],
6767
"past_key_values": [
68-
[
69-
[{0: "batch"}, {0: "batch"}],
70-
[{0: "batch"}, {0: "batch"}],
71-
],
72-
[
73-
[{0: "batch"}, {0: "batch"}],
74-
[{0: "batch"}, {0: "batch"}],
75-
],
68+
[[{0: "batch"}, {0: "batch"}], [{0: "batch"}, {0: "batch"}]],
69+
[[{0: "batch"}, {0: "batch"}], [{0: "batch"}, {0: "batch"}]],
7670
],
7771
},
7872
ds,
@@ -126,14 +120,8 @@ def test_automatic_speech_recognition_float16(self):
126120
"cache_position": {0: "seq_length"},
127121
"encoder_outputs": [{0: "batch"}],
128122
"past_key_values": [
129-
[
130-
[{0: "batch"}, {0: "batch"}],
131-
[{0: "batch"}, {0: "batch"}],
132-
],
133-
[
134-
[{0: "batch"}, {0: "batch"}],
135-
[{0: "batch"}, {0: "batch"}],
136-
],
123+
[[{0: "batch"}, {0: "batch"}], [{0: "batch"}, {0: "batch"}]],
124+
[[{0: "batch"}, {0: "batch"}], [{0: "batch"}, {0: "batch"}]],
137125
],
138126
},
139127
ds,

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ matplotlib
88
onnx-array-api>=0.3.1
99
onnx
1010
git+https://github.com/onnx/ir-py.git
11-
git+https://github.com/microsoft/onnxscript.git
11+
onnxscript
1212
openpyxl
1313
packaging
1414
pandas

0 commit comments

Comments
 (0)