Skip to content

Commit 0f336f2

Browse files
authored
Fix typo in exporters/onnx/utils.py
1 parent 3adbe7c commit 0f336f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

optimum/exporters/onnx/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def get_speecht5_models_for_export(
247247
def get_encoder_decoder_models_for_export(
248248
model: Union["PreTrainedModel", "TFPreTrainedModel"], config: "ExportConfig"
249249
) -> Dict[str, Tuple[Union["PreTrainedModel", "TFPreTrainedModel"], "ExportConfig"]]:
250-
logger.warning(DEPRECATION_WARNING_GET_MODEL_FOR_EXPORT.format(mode_type="encoder_decoder"))
250+
logger.warning(DEPRECATION_WARNING_GET_MODEL_FOR_EXPORT.format(model_type="encoder_decoder"))
251251
return _get_encoder_decoder_models_for_export(model, config)
252252

253253

0 commit comments

Comments
 (0)