Skip to content

Commit

Permalink
Update optimum/exporters/openvino/__main__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
slyalin authored Jan 5, 2024
1 parent feba5bf commit 4e7bfa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimum/exporters/openvino/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ class StoreAttr(object):
generation_config.save_pretrained(output)
maybe_save_preprocessors(model_name_or_path, output)
try:
# Avoid loding it for the second time if loaded before
# TODO: Avoid loading the tokenizer again if loaded before
tokenizer = AutoTokenizer.from_pretrained(model_name_or_path)
tokenizer_export(tokenizer, output)
except:
Expand Down

0 comments on commit 4e7bfa9

Please sign in to comment.