Skip to content

Commit c7b4be5

Browse files
committed
mypy
1 parent 909321d commit c7b4be5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

onnx_diagnostic/torch_models/hghub/hub_data.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
ConvBertModel,feature-extraction
3131
ConvNextForImageClassification,image-classification
3232
ConvNextV2Model,image-feature-extraction
33+
CosmosTransformer3DModel,image-to-video,
3334
CvtModel,feature-extraction
3435
DPTModel,image-feature-extraction
3536
Data2VecAudioModel,feature-extraction

onnx_diagnostic/torch_models/hghub/model_inputs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ def get_untrained_model_with_inputs(
282282

283283
# This line is important. Some models may produce different
284284
# outputs even with the same inputs in training mode.
285-
model.eval() # type: ignore[uion-attr]
285+
model.eval() # type: ignore[union-attr]
286286
res = fct(model, config, add_second_input=add_second_input, **kwargs)
287287

288288
res["input_kwargs"] = kwargs

0 commit comments

Comments
 (0)