Skip to content

Commit a8ab456

Browse files
committed
fix mypy
1 parent 1cbe7f0 commit a8ab456

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOGS.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Change Logs
44
0.8.4
55
+++++
66

7+
* :pr:`341`: preliminary support to export submodule
78
* :pr:`340`: supports devices in onnx plugs
89
* :pr:`338`: fixes ReplayConfiguration.dump, add function to select of part of a model
910
* :pr:`337`: fixes extract_subset_of_nodes

onnx_diagnostic/torch_models/hghub/model_inputs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def _preprocess_model_id(
4444
return _preprocess_model_id("//".join(spl[:-1]), "", True, True, submodule)
4545
if spl[-1] in {"transformer", "vae"}:
4646
# known subfolder
47-
return "//".join(spl[:-1]), spl[-1], same_as_pretrained, use_pretrained
47+
return "//".join(spl[:-1]), spl[-1], same_as_pretrained, use_pretrained, submodule
4848
return model_id, subfolder, same_as_pretrained, use_pretrained, submodule
4949

5050

0 commit comments

Comments
 (0)