intel-extension-for-pytorch icon indicating copy to clipboard operation
intel-extension-for-pytorch copied to clipboard

ERROR: Could not find a version that satisfies the requirement intel-extension-for-pytorch==2.1.100 (from versions: none)

Open mohibovais79 opened this issue 1 year ago • 14 comments

Describe the issue

!pip install torch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2 --index-url https://download.pytorch.org/whl/cpu !pip install intel-extension-for-pytorch==2.1.100 !pip install oneccl_bind_pt==2.1.0 --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/cpu/us/

when I run these commands I get the above issue mentioned in the title. How to fix it?

mohibovais79 avatar Feb 03 '24 15:02 mohibovais79

@jingxu10 Any idea?

jgong5 avatar Feb 04 '24 11:02 jgong5

seems to be a network issue at your side? image

jingxu10 avatar Feb 06 '24 07:02 jingxu10

Blindly guessing,

  1. torch has whl for python 3.12, intel-extension-for-pytorch has none (btw, it would be useful at least for 2.2.0... should not be too difficult?)
  2. torch has whls for non-linux, intel-extension-for-pytorch does not

AngryLoki avatar Feb 08 '24 09:02 AngryLoki

seems to be a network issue at your side? image

all other libraries are downloading fine only issue with this..

mohibovais79 avatar Feb 09 '24 17:02 mohibovais79

This is most likely caused by intels repository having now whl's for Python 3.12 as mentioned by @AngryLoki

On Fedora the solution ends up being:

dnf install python3.11
python3.11 -m venv intel-extensions
source intel-extensions/bin/activate
python -m pip install torch==2.1.0a0 torchvision==0.16.0a0 torchaudio==2.1.0a0 intel-extension-for-pytorch==2.1.10+xpu --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/

I too totally missed Python 3.12 isn't supported via the whl's and the written instruction path. Fedora has 3.12 as default now so after a brief re-read I saw where I completely overlooked the supported python versions. Sadly, outside of bold, large font, blinking text, unsure how to make it more readable for folks like myself who have a tendency to skim docs.

drnwh avatar Mar 16 '24 14:03 drnwh

Support for python 3.12 should be added

anthony-intel avatar Mar 27 '24 16:03 anthony-intel

Yes, WIP adding python 3.12 support.

jingxu10 avatar Jun 13 '24 03:06 jingxu10

Yes, WIP adding python 3.12 support.

Can we expedite the 3.12 pip release support please?

Qubitium avatar Oct 10 '24 02:10 Qubitium

BUMP....

kimasplund avatar Oct 13 '24 17:10 kimasplund

Python 3.12 support has been added in IPEX release since v2.5.10+xpu. Can we close this now?

tye1 avatar Mar 18 '25 08:03 tye1

I'm using Python 3.12.10 on Windows right now and running:

pip install intel-extension-for-pytorch

produces:

ERROR: Could not find a version that satisfies the requirement intel-extension-for-pytorch (from versions: none)
ERROR: No matching distribution found for intel-extension-for-pytorch

So I think the problem still persists.

holestine avatar Apr 29 '25 19:04 holestine

Same Issue here also. @holestine Can anyone help ?

kishanlal-ai avatar May 02 '25 06:05 kishanlal-ai

Also facing this issue

srmeier avatar Oct 25 '25 02:10 srmeier