Skip to content

Commit d7438ce

Browse files
committed
Update conversion script
Use latest version of Optimum (source)
1 parent 5216fb4 commit d7438ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/convert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class ConversionArguments:
114114
metadata={
115115
"help": (
116116
"The task to export the model for. If not specified, the task will be auto-inferred based on the model. Available tasks depend on the model, but are among:"
117-
f" {str(list(TasksManager._TASKS_TO_AUTOMODELS.keys()))}. For decoder models, use `xxx-with-past` to export the model using past key values in the decoder."
117+
f" {str(TasksManager.get_all_tasks())}. For decoder models, use `xxx-with-past` to export the model using past key values in the decoder."
118118
)
119119
}
120120
)

0 commit comments

Comments
 (0)