Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

fix xpu version itrex detect #1638

Merged
merged 4 commits into from
Jun 28, 2024
Merged

fix xpu version itrex detect #1638

merged 4 commits into from
Jun 28, 2024

Conversation

zhewang1-intc
Copy link
Contributor

Type of Change

feature or bug fix or documentation or others: bug fix
API changed or not: no

Description

detail description
JIRA ticket: https://jira.devtools.intel.com/browse/NLPTOOLKIU-1399
as there is no xpu._is_compiled() function in 2.2.0 torch, append GPU postfix to itrex.__version__ for multi-torch-version xpu available checking.

Expected Behavior & Potential Risk

the expected behavior that triggered by this PR: xpu detection works well on multi-version torch

How has this PR been tested?

how to reproduce the test (including hardware information) 64-core emr

Dependency Change?

any library dependency introduced or removed: no

Copy link

github-actions bot commented Jun 27, 2024

⚡ Required checks status: All passing 🟢

Groups summary

🟢 Format Scan Tests workflow
Check ID Status Error details
format-scan (pylint) success
format-scan (bandit) success
format-scan (cloc) success
format-scan (cpplint) success

These checks are required after the changes to intel_extension_for_transformers/qbits/__init__.py, setup.py.

🟢 Optimize Unit Test workflow
Check ID Status Error details
optimize-unit-test-baseline success
optimize-unit-test-PR-test success
Genreate-OptimizeUT-Report success

These checks are required after the changes to setup.py.

🟢 NeuralChat Unit Test
Check ID Status Error details
neuralchat-unit-test-baseline success
neuralchat-unit-test-PR-test success
Generate-NeuralChat-Report success

These checks are required after the changes to setup.py.

🟢 Engine Unit Test workflow
Check ID Status Error details
engine-unit-test-baseline success
engine-unit-test-PR-test success
Genreate-Engine-Report success

These checks are required after the changes to setup.py.

🟢 Windows Binary Test
Check ID Status Error details
Windows-Binary-Test success

These checks are required after the changes to setup.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 VincyZhang or XuehaoSun for help.

zhewang1-intc and others added 2 commits June 27, 2024 10:48
@XuehaoSun XuehaoSun requested a review from VincyZhang as a code owner June 27, 2024 06:28
Signed-off-by: Sun, Xuehao <[email protected]>
@XuehaoSun XuehaoSun merged commit a9a0e93 into main Jun 28, 2024
21 checks passed
@XuehaoSun XuehaoSun deleted the fix_xpu_version_itrex_detect branch June 28, 2024 09:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants