-
Notifications
You must be signed in to change notification settings - Fork 270
Fix ONNXRT calibration for Dml EP #1526
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
Conversation
Signed-off-by: yuwenzho <[email protected]>
Signed-off-by: yuwenzho <[email protected]>
for more information, see https://pre-commit.ci
…compressor into yuwenzho/fix_calib
Signed-off-by: yuwenzho <[email protected]>
Signed-off-by: yuwenzho <[email protected]>
Signed-off-by: yuwenzho <[email protected]>
Signed-off-by: yuwenzho <[email protected]>
009c3b0
to
b0f9803
Compare
for more information, see https://pre-commit.ci
Signed-off-by: yuwenzho <[email protected]>
for more information, see https://pre-commit.ci
Signed-off-by: yuwenzho <[email protected]>
for more information, see https://pre-commit.ci
extension test on Dml EP of ssd_mobilenet_v1, shufflenet-v2-12. Acc regression of resnet50-v1-12 in CI model test is reasonable: The graph optimization level here is changed from 'ORT_ENABLE_ALL' (default) to 'ORT_DISABLE_ALL', which will casuse the intermediate output to change slightly. |
Ok, then we need to update model refer before merge this PR. But why need to disable the graph optimization? |
The graph optimization is disabled during calibration, becasue:
|
Type of Change
bug fix
API changed or not: no
Description
Fix ONNXRT calibration for Dml EP: calibrate initializer tensors and output tensors separately.
The bug is found in microsoft/Olive#852
How has this PR been tested?
CI
Dependency Change?
no