Skip to content

Commit

Permalink
Remove "to ONNX" from info message when exporting model (#1627)
Browse files Browse the repository at this point in the history
  • Loading branch information
helena-intel committed Jan 8, 2024
1 parent ec14b3f commit 0f0a663
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/exporters/onnx/usage_guides/export_a_model.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ You should see the following logs (along with potential logs from PyTorch / Tens

```bash
Automatic task detection to question-answering.
Framework not specified. Using pt to export to ONNX.
Framework not specified. Using pt to export the model.
Using framework PyTorch: 1.12.1

Validating ONNX model...
Expand Down
2 changes: 1 addition & 1 deletion optimum/exporters/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1403,7 +1403,7 @@ def determine_framework(
else:
raise EnvironmentError("Neither PyTorch nor TensorFlow found in environment. Cannot export model.")

logger.info(f"Framework not specified. Using {framework} to export to ONNX.")
logger.info(f"Framework not specified. Using {framework} to export the model.")

return framework

Expand Down

0 comments on commit 0f0a663

Please sign in to comment.