intel-extension-for-pytorch: XPU Installation Instructions Don't Work

Describe the bug

When I copy/paste the installation instructions for XPU, they fail:

❯ python -m pip install torch==1.13.0a0+git6c9b55e intel_extension_for_pytorch==1.13.120+xpu -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.13.0a0+git6c9b55e (from versions: 1.7.1, 1.8.0, 1.8.1, 1.9.0, 1.9.1, 1.10.0a0+git3d5f2d4, 1.10.0, 1.10.1, 1.10.2, 1.11.0, 1.12.0, 1.12.1, 1.13.0a0+gitb1dde16, 1.13.0, 1.13.1, 2.0.0, 2.0.1)
ERROR: No matching distribution found for torch==1.13.0a0+git6c9b55e
❯ python -m pip install torch==1.13.0a0 intel_extension_for_pytorch==1.13.120+xpu -f https://developer.intel.com/ipex-whl-stable-xpu
Looking in links: https://developer.intel.com/ipex-whl-stable-xpu
Collecting torch==1.13.0a0
  Using cached https://intel-optimized-pytorch.s3.cn-north-1.amazonaws.com.cn/ipex_stable/xpu/torch-1.13.0a0%2Bgitb1dde16-cp39-cp39-linux_x86_64.whl (140.5 MB)
ERROR: Could not find a version that satisfies the requirement intel_extension_for_pytorch==1.13.120+xpu (from versions: 1.10.100, 1.10.200+gpu, 1.11.0, 1.11.100, 1.11.200, 1.12.0, 1.12.100, 1.12.200, 1.12.300, 1.13.0, 1.13.10+xpu, 1.13.100, 2.0.0, 2.0.100)
ERROR: No matching distribution found for intel_extension_for_pytorch==1.13.120+xpu

You can see I can get torch 1.13.0a0 only if I drop the git hash that is stated as mandatory. Further, the IPEX components don’t seem to be available either. Can you confirm the installation instructions work for XPU?

Thanks!

Versions

This is on an early-access system at Argonne National Laboratory.

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Comments: 40 (15 by maintainers)

Most upvoted comments

hey @DaWe35 , this might help, i have an unofficial but self contained pytorch xpu tests that uses the docker images: https://github.com/rahulunair/xpu_verify

git clone https://github.com/rahulunair/xpu_verify
cd xpu_verify
./check_pytorch.sh # pulls a pytorch + ipex docker container from intel and tests it . The test takes about 10 seconds after the docker image has been downloaded.