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

map ipex op_name w/ pt op_name #1740

Merged
merged 10 commits into from
Apr 23, 2024
Merged

map ipex op_name w/ pt op_name #1740

merged 10 commits into from
Apr 23, 2024

Conversation

violetch24
Copy link
Contributor

@violetch24 violetch24 commented Apr 19, 2024

Type of Change

feature: add ipex op_name mapping
bug fix: op_type set local config

Description

ipex op_name <-> eager model op_name mapping, for users to better use fallback by op_name for ipex
eg:
image

Expected Behavior & Potential Risk

How has this PR been tested?

ut

Dependency Change?

@violetch24 violetch24 marked this pull request as ready for review April 21, 2024 09:13
Copy link

github-actions bot commented Apr 21, 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/common/base_config.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, neural_compressor/torch/quantization/config.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/common/base_config.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, neural_compressor/torch/quantization/config.py.

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

These checks are required after the changes to neural_compressor/common/base_config.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/base_config.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, neural_compressor/torch/quantization/config.py, test/3x/torch/quantization/test_static_quant.py.

🟢 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/base_config.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.

Copy link
Contributor

@yiliu30 yiliu30 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@chensuyue chensuyue merged commit 855c10c into master Apr 23, 2024
34 checks passed
@chensuyue chensuyue deleted the zixuan/map_ipex_op branch April 23, 2024 06:01
zehao-intel pushed a commit that referenced this pull request Apr 26, 2024
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