Skip to content

Fix static quantization for QDQ and Percentile distribution - #17649

Merged
yufenglee merged 11 commits into
microsoft:mainfrom
xadupre:quant2
Sep 25, 2023
Merged

Fix static quantization for QDQ and Percentile distribution#17649
yufenglee merged 11 commits into
microsoft:mainfrom
xadupre:quant2

Conversation

@xadupre

@xadupre xadupre commented Sep 21, 2023

Copy link
Copy Markdown
Member

Description

One quantization case was not covered by the current list of unit tests. This PR adds a unit test to cover that case with the fix. It fixes the issue #17619.

Motivation and Context

Comment thread onnxruntime/test/python/quantization/test_quantize_static_resnet.py Fixed
Comment thread onnxruntime/test/python/quantization/test_quantize_static_resnet.py Fixed
Comment thread onnxruntime/test/python/quantization/test_quantize_static_resnet.py Fixed
Comment thread onnxruntime/test/python/quantization/test_quantize_static_resnet.py Fixed
Comment thread onnxruntime/test/python/quantization/test_quantize_static_resnet.py Fixed
Comment thread onnxruntime/test/python/quantization/test_quantize_static_resnet.py Fixed
Comment thread onnxruntime/test/python/quantization/test_quantize_static_resnet.py Fixed
@xadupre
xadupre marked this pull request as ready for review September 22, 2023 14:05
Comment thread onnxruntime/test/python/quantization/test_quantize_static_resnet.py Fixed
Comment thread onnxruntime/test/python/quantization/test_quantize_static_resnet.py Fixed
@yufenglee
yufenglee merged commit 905faea into microsoft:main Sep 25, 2023
snnn pushed a commit that referenced this pull request Sep 29, 2023
### Description
One quantization case was not covered by the current list of unit tests.
This PR adds a unit test to cover that case with the fix. It fixes the
issue #17619.



### Motivation and Context
snnn pushed a commit that referenced this pull request Oct 2, 2023
Cherry-pick the following PRs to the release branch:

Fix: Fail to skip disabledmodel in winml (#17728) 
Move dotnet build and test into docker in Linux CPU CI (#17417) 
Run Nuget_Test_Linux_GPU in container (#17452) 
Run Final_Jar_Testing_Linux_GPU in docker (#17533) 
TreeEnsemble speed up (#17449) 
Remove onnxruntime extensions from list of gitmodules (#17615) 
Include onnxruntime_float16.h in the package. (#17637) 
Fix static quantization for QDQ and Percentile distribution (#17649) 
[TensorRT EP] Back out the PerThreadContext (#17690) 
Update nodejs to 18.x (#17657) 
Update linux-wasm-ci.yml: remove the ln command (#17735)
kleiti pushed a commit to kleiti/onnxruntime that referenced this pull request Mar 22, 2024
…t#17649)

### Description
One quantization case was not covered by the current list of unit tests.
This PR adds a unit test to cover that case with the fix. It fixes the
issue microsoft#17619.



### Motivation and Context
@xadupre
xadupre deleted the quant2 branch November 7, 2024 10:38
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.

4 participants