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

Integrate Auto-Round to INC 3.x #1647

Merged
merged 32 commits into from
Mar 12, 2024
Merged

Integrate Auto-Round to INC 3.x #1647

merged 32 commits into from
Mar 12, 2024

Conversation

Kaihui-intel
Copy link
Contributor

@Kaihui-intel Kaihui-intel commented Mar 4, 2024

Type of Change

feature

Description

Depends on AutoRound's calibration implementation. (merged)

Expected Behavior & Potential Risk

the expected behavior that triggered by this PR

How has this PR been tested?

how to reproduce the test (including hardware information)

Dependency Change?

any library dependency introduced or removed

@Kaihui-intel Kaihui-intel added INC3.X PyTorch Related to PyTorch F/W labels Mar 4, 2024
Copy link

github-actions bot commented Mar 4, 2024

⛈️ Required checks status: Has failure 🔴

Warning
If you do not have the access to re-run the Probot, please contact XuehaoSun for help. If you push a new commit, all of the workflow will be re-triggered.

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/common/utils/constants.py, neural_compressor/torch/algorithms/weight_only/__init__.py, neural_compressor/torch/algorithms/weight_only/autoround.py, neural_compressor/torch/quantization/__init__.py, neural_compressor/torch/quantization/algorithm_entry.py, neural_compressor/torch/quantization/config.py, neural_compressor/torch/utils/constants.py.

🟢 Unit Tests basic workflow
Check ID Status Error details
UT-Basic success
UT-Basic (Coverage Compare CollectDatafiles) success
UT-Basic (Unit Test FWKs adaptor Test FWKs adaptor) success
UT-Basic (Unit Test FWKs adaptor baseline Test FWKs adaptor baseline) success
UT-Basic (Unit Test ITEX Test ITEX) success
UT-Basic (Unit Test ITEX baseline Test ITEX baseline) success
UT-Basic (Unit Test Pruning Test PyTorch Pruning) success
UT-Basic (Unit Test Pruning Test TensorFlow Pruning) success
UT-Basic (Unit Test Pruning baseline Test PyTorch Pruning baseline) success
UT-Basic (Unit Test Pruning baseline Test TensorFlow Pruning baseline) success
UT-Basic (Unit Test TF newAPI Test TF newAPI) success
UT-Basic (Unit Test TF newAPI baseline Test TF newAPI baseline) success
UT-Basic (Unit Test User facing API Test User facing API) success
UT-Basic (Unit Test User facing API baseline Test User facing API baseline) success
UT-Basic (Unit Test other basic case Test other basic case) success
UT-Basic (Unit Test other cases baseline Test other cases baseline) success
UT-Basic coverage report
Base coverage PR coverage Diff
Lines 86.922% 86.922% 0.000%
Branches 76.281% 76.281% 0.000%

These checks are required after the changes to test/requirements.txt.

🟢 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 test/requirements.txt.

🔴 Unit Tests 3x-TensorFlow workflow
Check ID Status Error details
UT-3x-TensorFlow failure
UT-3x-TensorFlow (Coverage Compare CollectDatafiles) no_status
UT-3x-TensorFlow (Unit Test 3x TensorFlow Unit Test 3x TensorFlow) failure download
UT-3x-TensorFlow (Unit Test 3x TensorFlow baseline Unit Test 3x TensorFlow baseline) failure download

These checks are required after the changes to neural_compressor/common/utils/constants.py.

🟢 Unit Tests 3x-PyTorch workflow
Check ID Status Error details
UT-3x-Torch success
UT-3x-Torch (Coverage Compare CollectDatafiles) success
UT-3x-Torch (Unit Test 3x Torch Unit Test 3x Torch) success
UT-3x-Torch (Unit Test 3x Torch baseline Unit Test 3x Torch baseline) success

These checks are required after the changes to neural_compressor/common/utils/constants.py, neural_compressor/torch/algorithms/weight_only/__init__.py, neural_compressor/torch/algorithms/weight_only/autoround.py, neural_compressor/torch/quantization/__init__.py, neural_compressor/torch/quantization/algorithm_entry.py, neural_compressor/torch/quantization/config.py, neural_compressor/torch/utils/constants.py, test/3x/torch/quantization/weight_only/test_autoround.py, test/3x/torch/requirements.txt, test/3x/torch/test_config.py, requirements_pt.txt.

🟢 Unit Tests 3x-ONNXRT workflow
Check ID Status Error details
UT-3x-ONNXRT success
UT-3x-ONNXRT (Coverage Compare CollectDatafiles) success
UT-3x-ONNXRT (Unit Test 3x ONNXRT Unit Test 3x ONNXRT) success
UT-3x-ONNXRT (Unit Test 3x ONNXRT baseline Unit Test 3x ONNXRT baseline) success

These checks are required after the changes to neural_compressor/common/utils/constants.py.


Thank you for your contribution! 💜

Note
This comment is automatically generated and updates for 360 minutes every 180 seconds. If you have any other questions, contact chensuyue or XuehaoSun for help.

@Kaihui-intel Kaihui-intel added WIP and removed WIP labels Mar 4, 2024
@Kaihui-intel Kaihui-intel requested review from xin3he and yiliu30 March 6, 2024 07:49
requirements_pt.txt Outdated Show resolved Hide resolved
test/3x/torch/quantization/weight_only/test_autoround.py Outdated Show resolved Hide resolved
Signed-off-by: Kaihui-intel <[email protected]>
Signed-off-by: Kaihui-intel <[email protected]>
@chensuyue chensuyue requested review from ftian1 and WeiweiZhang1 March 8, 2024 03:46
@WeiweiZhang1 WeiweiZhang1 requested a review from wenhuach21 March 8, 2024 03:50
@yiliu30 yiliu30 self-requested a review March 11, 2024 01:27
Signed-off-by: Kaihui-intel <[email protected]>
Signed-off-by: Kaihui-intel <[email protected]>
Signed-off-by: Kaihui-intel <[email protected]>
neural_compressor/torch/quantization/algorithm_entry.py Outdated Show resolved Hide resolved
neural_compressor/torch/quantization/config.py Outdated Show resolved Hide resolved
neural_compressor/torch/quantization/config.py Outdated Show resolved Hide resolved
requirements_pt.txt Show resolved Hide resolved
@yiliu30 yiliu30 self-requested a review March 11, 2024 09:32
@chensuyue
Copy link
Contributor

@chensuyue chensuyue merged commit 2694bbf into master Mar 12, 2024
43 of 47 checks passed
@chensuyue chensuyue deleted the kaihui/autoround_3x branch March 12, 2024 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
INC3.X PyTorch Related to PyTorch F/W
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants