Skip to content

Commit 6237a78

Browse files
committed
lint
1 parent b768139 commit 6237a78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnx_diagnostic/torch_models/validate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ def validate_model(
497497
tuple(), data[k], dynamic_shapes=data["dynamic_shapes"]
498498
)
499499
if patch_kwargs.get("patch", False):
500-
with torch_export_patches(**patch_kwargs):
500+
with torch_export_patches(**patch_kwargs): # type: ignore[arg-type]
501501
data[k] = cpl.change_dynamic_dimensions(
502502
desired_values=dict(batch=1), only_desired=True
503503
)

0 commit comments

Comments
 (0)