neural-compressor
neural-compressor copied to clipboard
Fix onnxrt backend recover function
Type of Change
bug fix
Description
the q_config of tuning history is wrong in performance only mode
How has this PR been tested?
UT
⚡ Required checks status: All passing 🟢
Groups summary
🟢 Code Scan Tests workflow
| Check ID | Status | Error details | |
|---|---|---|---|
| Code-Scan | success | ✅ | |
| Code-Scan (Bandit Code Scan Bandit) | success | ✅ | |
| Code-Scan (DocStyle Code Scan DocStyle) | success | ✅ | |
| Code-Scan (Pylint Code Scan Pylint) | success | ✅ |
These checks are required after the changes to neural_compressor/adaptor/onnxrt.py.
🟢 Model Tests workflow
| Check ID | Status | Error details | |
|---|---|---|---|
| Model-Test | success | ✅ | |
| Model-Test (Generate Report GenerateReport) | success | ✅ | |
| Model-Test (Run ONNX Model resnet50-v1-12) | success | ✅ | |
| Model-Test (Run PyTorch Model resnet18) | success | ✅ | |
| Model-Test (Run PyTorch Model resnet18_fx) | success | ✅ | |
| Model-Test (Run TensorFlow Model darknet19) | success | ✅ | |
| Model-Test (Run TensorFlow Model inception_v1) | success | ✅ | |
| Model-Test (Run TensorFlow Model resnet-101) | success | ✅ | |
| Model-Test (Run TensorFlow Model resnet50v1.5) | success | ✅ | |
| Model-Test (Run TensorFlow Model ssd_mobilenet_v1_ckpt) | success | ✅ | |
| Model-Test (Run TensorFlow Model ssd_resnet50_v1) | success | ✅ |
These checks are required after the changes to neural_compressor/adaptor/onnxrt.py.
🟢 Unit Tests basic workflow
UT-Basic coverage report
| Base coverage | PR coverage | Diff | |
|---|---|---|---|
| Lines | 86.983% | 86.986% | 0.003% |
| Branches | 76.520% | 76.545% | 0.025% |
These checks are required after the changes to neural_compressor/adaptor/onnxrt.py, test/adaptor/onnxrt_adaptor/test_adaptor_onnxrt.py, test/adaptor/onnxrt_adaptor/test_layer_wise.py.
🟢 Unit Tests basic no coverage workflow
| Check ID | Status | Error details | |
|---|---|---|---|
| UT-Basic-No-Coverage | success | ✅ | |
| UT-Basic-No-Coverage (Unit Test FWKs adaptor Test FWKs adaptor) | success | ✅ | |
| UT-Basic-No-Coverage (Unit Test Pruning Test PyTorch Pruning) | success | ✅ | |
| UT-Basic-No-Coverage (Unit Test Pruning Test TensorFlow Pruning) | success | ✅ | |
| UT-Basic-No-Coverage (Unit Test User facing API Test User facing API) | success | ✅ | |
| UT-Basic-No-Coverage (Unit Test other basic case Test other basic case) | success | ✅ |
These checks are required after the changes to neural_compressor/adaptor/onnxrt.py, test/adaptor/onnxrt_adaptor/test_adaptor_onnxrt.py, test/adaptor/onnxrt_adaptor/test_layer_wise.py.
🟢 Unit Tests ITREX workflow
| Check ID | Status | Error details | |
|---|---|---|---|
| UT-ITREX | success | ✅ |
These checks are required after the changes to neural_compressor/adaptor/onnxrt.py.
Thank you for your contribution! 💜
Note This comment is automatically generated and will be updates every 180 seconds within the next 6 hours. If you have any other questions, contact chensuyue or XuehaoSun for help.