-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add OpenVINO export CLI #437
Conversation
The documentation is not available anymore as the PR was closed or merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @echarlaix I love this! I also really like that it exports the tokenizer too. Agreed that weight compression for CausalLM models would be great to add too. It would also be good to have an FP16 option. We could also consider to export to FP16 by default. This is what OpenVINO now does by default too when you convert/save a model, with an option to disable it.
The example worked without errors, but it exported the distilbert model as model.xml and .bin instead of openvino_model.xml and bin. And for gpt2 it exported decoder_model.xml/bin and decoder_model_with_past xml/bin.
Yes it would be good to have the FP16 support directly in the CLI as well I agree!
Yes, I also realized this and added the fix in |
It totally makes sense. |
example :
It could also make sense to add weight only quantization in a following PR, what do you think ? @helena-intel @AlexKoff88