Skip to content

Commit 6d19c02

Browse files
committed
req
1 parent 654fffe commit 6d19c02

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

onnx_diagnostic/export/dynamic_shapes.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,14 +196,14 @@ def _generic_walker(self, processor: Callable, args_kwargs: bool = False):
196196
kwargs.update(self.kwargs)
197197
res = self._generic_walker_step(processor, kwargs, self.dynamic_shapes)
198198
if args_kwargs:
199-
ags = [None for _ in range(len(self.args))]
199+
pgs = [None for _ in range(len(self.args))]
200200
kws = {}
201201
for k, v in res.items():
202202
if k not in self.kwargs:
203-
ags[self.args_names.index(k)] = v
203+
pgs[self.args_names.index(k)] = v
204204
else:
205205
kws[k] = v
206-
return ags, kws
206+
return pgs, kws
207207
return res
208208

209209
raise NotImplementedError(

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ diffusers>=0.30.0
44
furo
55
huggingface_hub
66
matplotlib
7-
onnx-array-api
7+
onnx-array-api>=0.3.1
88
git+https://github.com/microsoft/onnxscript.git
99
openpyxl
1010
packaging

0 commit comments

Comments
 (0)