oneapi-src / oneapi-src/oneAPI-samples

Intel Extension for PyTorch breaks with PyTorch 2.3.*

Open
#2,330 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
1.2k
Forks
745
PR merge metrics
No merged PRs in 30d

Description

Summary

While working with Intel Extension for PyTorch Getting Started Sample, I encountered an error that the latest version of PyTorch i.e. 2.3.0 is not compatible with IPEX. Intel Extension for PyTorch Getting Started Sample, I encountered an error that the latest version of PyTorch i.e. 2.3.0 is not compatible with IPEX.

A possible workaround is to downgrade but the latest version should be supported as well.

Version

Intel-extension-for-pytorch 2.2.0

Environment

Ubuntu

Steps to reproduce

python -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
python -m pip install intel-extension-for-pytorch

Error Screenshot

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Intel Extension for PyTorch Getting Started Sample at AI-and-Analytics/Getting-Started-Samples/Intel_Extension_For_PyTorch_GettingStarted and reproduce the reported installation using PyTorch 2.3.0 and Intel-extension-for-pytorch 2.2.0. Check the resulting compatibility error and update the sample or its dependency guidance so the sample works with the supported PyTorch version; verify by rerunning the listed installation and sample steps.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.