Skip to content

Commit 6f9d0e0

Browse files
committed
fix
1 parent 159402c commit 6f9d0e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

onnx_diagnostic/investigate/input_observer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def _build_inputs_completed_with_none_values(
160160
if not self.flat_inputs or self._max_args is None or self._max_kwargs is None:
161161
raise RuntimeError("No inputs were captured.")
162162

163-
flat_index_to_args = []
163+
flat_index_to_args: list[int | str] = []
164164
arg_sizes = []
165165
for index_args, a in enumerate(self._max_args):
166166
size = len(torch.utils._pytree.tree_flatten(a)[0])

0 commit comments

Comments
 (0)