-
Notifications
You must be signed in to change notification settings - Fork 188
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 qnn examples of clip models. #1616
Conversation
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.
lintrunner found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
"type": "OnnxStaticQuantization", | ||
"quant_preprocess": true, | ||
"data_config": "quant_data_config", | ||
"op_types_to_quantize": [ "MatMul", "LayerNormalization", "Gemm", "Sigmoid", "Gelu" ], |
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.
Note: the line "op_types_to_quantize": [ "MatMul", "LayerNormalization", "Gemm", "Sigmoid", "Gelu" ],
in the json configurations are not effective due to known Olive issues, but has been left in place for future use.
#1552
This reverts commit 81bd4f3.
"sub_types": [ | ||
{ "name": "accuracy", "priority": 1, "goal": { "type": "max-degradation", "value": 0.05 } } | ||
], | ||
"user_config": { |
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.
nit: since the target ep is qnn, this config is not needed if you want to run on qnn ep.
Describe your changes
Add qnn examples of clip models:
Checklist before requesting a review
lintrunner -a
Metrics
(Optional) Issue link