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

refine 3.x ut for ipex sq and static #1847

Merged
merged 2 commits into from
Jun 7, 2024
Merged

refine 3.x ut for ipex sq and static #1847

merged 2 commits into from
Jun 7, 2024

Conversation

violetch24
Copy link
Contributor

Type of Change

refine ut

Description

increase ut coverage
static: line 89-->93% branch 86-->90%
sq: 77-->98% branch 72-->94%

Expected Behavior & Potential Risk

reach 85% line 80% branch

How has this PR been tested?

ut passed

Dependency Change?

@violetch24 violetch24 requested review from yuwenzho and xin3he June 5, 2024 07:01
Copy link

github-actions bot commented Jun 5, 2024

⚡ 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/torch/algorithms/smooth_quant/save_load.py, neural_compressor/torch/algorithms/smooth_quant/smooth_quant.py, neural_compressor/torch/algorithms/static_quant/static_quant.py, neural_compressor/torch/algorithms/static_quant/utility.py.

🟢 Model Tests 3x workflow
Check ID Status Error details
Model-Test-3x success
Model-Test-3x (Generate Report GenerateReport) success
Model-Test-3x (Run PyTorch Model opt_125m_woq_gptq_int4) success
Model-Test-3x (Run PyTorch Model opt_125m_woq_gptq_int4_dq_bnb) success
Model-Test-3x (Run PyTorch Model opt_125m_woq_gptq_int4_dq_ggml) success

These checks are required after the changes to neural_compressor/torch/algorithms/smooth_quant/save_load.py, neural_compressor/torch/algorithms/smooth_quant/smooth_quant.py, neural_compressor/torch/algorithms/static_quant/static_quant.py, neural_compressor/torch/algorithms/static_quant/utility.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/torch/algorithms/smooth_quant/save_load.py, neural_compressor/torch/algorithms/smooth_quant/smooth_quant.py, neural_compressor/torch/algorithms/static_quant/static_quant.py, neural_compressor/torch/algorithms/static_quant/utility.py, test/3x/torch/quantization/test_smooth_quant.py, test/3x/torch/quantization/test_static_quant.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.

@chensuyue chensuyue added this to the v2.6 milestone Jun 5, 2024
@violetch24 violetch24 requested a review from Kaihui-intel June 6, 2024 05:56
@violetch24 violetch24 merged commit 9d4c88b into master Jun 7, 2024
30 of 31 checks passed
@violetch24 violetch24 deleted the zixuan/ut_ipex branch June 7, 2024 05:54
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