Intel® Optimized AI Frameworks
Receive community support for questions related to PyTorch* and TensorFlow* frameworks.
88 Discussions

Re: AssertionError: Torch not compiled with XPU enabled

Pablo_BR
Novice
3,888 Views

Install the next version

python -m pip install torch==2.7.0 torchvision==0.22.0 torchaudio==2.7.0 --index-url https://download.pytorch.org/whl/xpu
python -m pip install intel-extension-for-pytorch==2.7.10+xpu --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/

0 Kudos
1 Reply
Ying_H_Intel
Moderator
3,823 Views

Hi Pablo_BR, 

thank you for try Intel extension for pytorch: 

Just quick try on my windows machine with  Intel® Core™ Ultra 7 Processor 165U with the command on Intel® Extension for PyTorch* Installation Guide,  the detection of XPU seems ok. 

Ying_H_Intel_0-1749173422119.png

 

Could you please tell your OS ,  CPU information, and driver information (you can open Task Manager => performance Tab to get such information. )

 

Best Regards,

 

0 Kudos
Reply