Skip to content

Commit

Permalink
Fix typo in exporters/onnx/utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zhxchen17 authored Mar 10, 2025
1 parent 3adbe7c commit 0f336f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimum/exporters/onnx/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def get_speecht5_models_for_export(
def get_encoder_decoder_models_for_export(
model: Union["PreTrainedModel", "TFPreTrainedModel"], config: "ExportConfig"
) -> Dict[str, Tuple[Union["PreTrainedModel", "TFPreTrainedModel"], "ExportConfig"]]:
logger.warning(DEPRECATION_WARNING_GET_MODEL_FOR_EXPORT.format(mode_type="encoder_decoder"))
logger.warning(DEPRECATION_WARNING_GET_MODEL_FOR_EXPORT.format(model_type="encoder_decoder"))
return _get_encoder_decoder_models_for_export(model, config)


Expand Down

0 comments on commit 0f336f2

Please sign in to comment.