Skip to content

add Intel GPU support#1356

Open
DDXDB wants to merge 7 commits into
JaidedAI:masterfrom
DDXDB:master
Open

add Intel GPU support#1356
DDXDB wants to merge 7 commits into
JaidedAI:masterfrom
DDXDB:master

Conversation

@DDXDB

@DDXDB DDXDB commented Jan 3, 2025

Copy link
Copy Markdown

Need to install

PyTorch+XPU or IPEX (Intel® Extension for PyTorch)

For PyTorch+XPU

https://pytorch.org/docs/stable/notes/get_start_xpu.html

For IPEX

https://pytorch-extension.intel.com/installation?request=platform

Update: IPEX has been discontinued. Now, torch + XPU is the only option.
All you need to do is:
pip install torch torchvision --index-url https://download.pytorch.org/whl/xpu

@Napuh

Napuh commented Jan 29, 2025

Copy link
Copy Markdown

You removed torch from requirements, is that right?

@DDXDB

DDXDB commented Jan 29, 2025

Copy link
Copy Markdown
Author

You removed torch from requirements, is that right?

xpu requires a specific version of torch, which is still being BETA, and this removal simply pull my local personal changes by mistake

@DDXDB

DDXDB commented Feb 13, 2025

Copy link
Copy Markdown
Author

Both PyTorch+XPU and IPEX are now supported.

DDXDB added 2 commits June 22, 2026 23:22
Removed import of intel_extension_for_pytorch with exception handling.
@DDXDB

DDXDB commented Jun 22, 2026

Copy link
Copy Markdown
Author

Need to install

PyTorch+XPU or IPEX (Intel® Extension for PyTorch)

For PyTorch+XPU

https://pytorch.org/docs/stable/notes/get_start_xpu.html

For IPEX

https://pytorch-extension.intel.com/installation?request=platform

Update: IPEX has been discontinued. Now, torch + XPU is the only option.
All you need to do is:
pip install torch torchvision --index-url https://download.pytorch.org/whl/xpu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants