question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

xpu not supported?

See original GitHub issue

Hi, I have ADL GT1 GPU and would like to use ipex. I have installed the following versions of software:

intel-opencl-icd 22.23.23405+i755~u20.04
intel-level-zero-gpu 1.3.23405+i755~u20.04
intel-oneapi-runtime-dpcpp-cpp-common 2022.1.0-376
intel-extension-for-pytorch 1.11.08
torch 1.11.0

clinfo sees the card:

Platform Name                                   Intel(R) OpenCL HD Graphics

But when I run the following code:

import torch
import intel_extension_for_pytorch as ipex

f = torch.zeros((1,2,3)).to("xpu")

I get RuntimeError: PyTorch is not linked with support for xpu devices

Am I missing a requirement or is xpu not yet supported? I want to use ipex with Arc A380, but if it isn’t supported yet…

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:20 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
jingxu10commented, Dec 7, 2022

Yes, that’s the issue. The prebuilt wheel files are for Python 3.6 to Python 3.9.

1reaction
tedliosucommented, Nov 16, 2022

Instructions in the README for gpu seem to be incorrect. There is no pytorch version 1.10.0a0 available:

python -m pip install torch==1.10.0a0 -f https://developer.intel.com/ipex-whl-stable-xpu
Looking in links: https://developer.intel.com/ipex-whl-stable-xpu
ERROR: Could not find a version that satisfies the requirement torch==1.10.0a0 (from versions: 1.11.0, 1.12.0, 1.12.1, 1.13.0)
ERROR: No matching distribution found for torch==1.10.0a0

I don’t see the whl files in https://www.intel.com/content/dam/develop/external/us/en/documents/ipex/whl-stable-xpu.html either.

@tripzero Oh yea I ran into the same issue earlier when trying to get IPEX up and running on my machine; I simply changed the pytorch version to 1.10.0a0+git3d5f2d4 and then it worked fine 😄 You’re right though that the documentation should be corrected to account for this discrepancy between what is documented and what actually exists in the repositories.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fixed: CPU Is not Supported or CPU Is not Compatible with ...
Fix 1. Solve CPU isn't supported in Windows 10: Method 1. Run Microsoft Compatibility Appraiser to fix CPU not supported/compatible with Windows ...
Read more >
What does the error, “This CPU not supported” mean? - Quora
Typically it means that the CPU fan is not spinning at the correct RPM. It could be dying, but more likely, it may...
Read more >
What to do if my cpu is not supported?? - Microsoft Community
I am planning to update my device, and the tool says my cpu is not supported, and i am going to buy another...
Read more >
Fix Windows 11 Saying “Your Processor is Not Supported”
However, the most common reason for your system not meeting “minimum system requirements to run Windows 11” is an incompatible CPU. Check ...
Read more >
What to Do When Windows 11 Doesn't Support a Processor
Return to the Windows 11 installation tool and select Back. Then try to continue the installation again. The message saying that your CPU...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found