Skip to content

Use more extra quantization options of ONNX Runtime#398

Merged
echarlaix merged 1 commit into
huggingface:mainfrom
fxmarty:ort-add-more-extra-quantization-options
Oct 3, 2022
Merged

Use more extra quantization options of ONNX Runtime#398
echarlaix merged 1 commit into
huggingface:mainfrom
fxmarty:ort-add-more-extra-quantization-options

Conversation

@fxmarty
Copy link
Copy Markdown
Contributor

@fxmarty fxmarty commented Sep 26, 2022

Pass AddQDQPairToWeight, DedicatedQDQPair, QDQOpTypePerChannelSupportToAxis to QDQQuantizer or ONNXQuantizer, as those configuration attributes are available in QuantizationConfig but were not passed up to now.

This is useful if we later aim at using TensorrtExecutionProvider with a static quantized model.

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

HuggingFaceDocBuilderDev commented Sep 26, 2022

The documentation is not available anymore as the PR was closed or merged.

Copy link
Copy Markdown
Contributor

@JingyaHuang JingyaHuang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Copy Markdown
Collaborator

@echarlaix echarlaix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM !

@echarlaix echarlaix merged commit fe3c71f into huggingface:main Oct 3, 2022
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.

5 participants