Skip to content
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

🌊 Only_onnxruntime to false when opt_level > 1 #599

Merged
merged 8 commits into from
Sep 26, 2023

Conversation

trajepl
Copy link
Contributor

@trajepl trajepl commented Sep 22, 2023

Describe your changes

  1. Only_onnxruntime to false when opt_level > 1
  2. set quantization calibration_method to minmax as the bug from ort 1.16.0 quantize_static fail with HistogramCalibrater. onnxruntime#17619

Checklist before requesting a review

  • Add unit tests for this change.
  • Make sure all tests can pass.
  • Update documents if necessary.
  • Format your code by running pre-commit run --all-files
  • Is this a user-facing change? If yes, give a description of this change to be included in the release notes.

(Optional) Issue link

@trajepl trajepl changed the title Only_onnxruntime to false when opt_level > 1 🌊 Only_onnxruntime to false when opt_level > 1 Sep 22, 2023
@trajepl trajepl merged commit 66a4d7b into main Sep 26, 2023
34 checks passed
@trajepl trajepl deleted the jiapli/pin_bert_config_combo branch September 26, 2023 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants