intel / intel-extension-for-pytorch

A Python package for extending the official PyTorch that can easily obtain performance on Intel platform
Apache License 2.0
1.61k stars 246 forks source link

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

Open mohibovais79 opened 9 months ago

mohibovais79 commented 9 months ago

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?

jgong5 commented 9 months ago

@jingxu10 Any idea?

jingxu10 commented 9 months ago

seems to be a network issue at your side? image

AngryLoki commented 9 months ago

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

mohibovais79 commented 9 months ago

seems to be a network issue at your side? image

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

drnwh commented 7 months ago

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.

anthony-intel commented 7 months ago

Support for python 3.12 should be added

jingxu10 commented 4 months ago

Yes, WIP adding python 3.12 support.

Qubitium commented 3 weeks ago

Yes, WIP adding python 3.12 support.

Can we expedite the 3.12 pip release support please?

kimasplund commented 3 weeks ago

BUMP....