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

Intel extension pytorch

AsterCrash
New Contributor I
7,266 Views
Estou tentando baixar o intel extension pytorch para usar o webui forge mas não estou achando ele para instalar e coloca-lo no webui para usar minha intel arc b580 para gerar imagens no webui no link na qual achei só versão pra linux mas eu uso o Windows 11
0 Kudos
12 Replies
JedG_Intel
Moderator
7,177 Views

Hello AsterCrash,

 

Thank you for posting on Intel Community Forum.

 

The Intel® Extension for PyTorch* for GPU extends PyTorch with up-to-date features and optimizations for an extra performance boost on Intel Graphics cards.


The latest Intel® Extension for PyTorch* release introduces XPU solution optimizations. XPU is a device abstraction for Intel heterogeneous computation architectures, that can be mapped to CPU, GPU, FPGA, or other accelerators, and It's an open source project on GitHub* xpu-master branch.


Please try to access the links above and download the extensions. If you continue to observe the same issue, please let me know.

 

For reference: Intel® PyTorch Extension for GPUs

 

Best regards

Jed G.

Intel Customer Support Technician


0 Kudos
AsterCrash
New Contributor I
7,158 Views
Show consegui instalar e rodar mas quando gero imagens no webui forge ele usa a cpu e não a gpu para acelerar
0 Kudos
JedG_Intel
Moderator
7,128 Views

Hello AsterCrash,

 

Informamos que só posso apoiá-lo em inglês. Usei uma ferramenta de tradução da web para traduzir essa resposta, portanto, pode haver alguma tradução imprecisa.

 

Just to confirm, were you able to install the Pytorch extension? It appears that you are facing issues when generating images in Webui forge. To have a wider view of this, kindly share a photo of the issue.

 

Best regards

Jed G.

Intel Customer Support Technician


0 Kudos
AsterCrash
New Contributor I
7,098 Views

How to check if it is installed? Sending the prints regarding the use of the CPU, it works but not with the arc b580 accelerating to create the image

0 Kudos
JedG_Intel
Moderator
7,045 Views

Hi AsterCrash,


I really appreciate the photos. I'll be investigating this matter and I'll get back in touch as soon as I have an update.


Best regards,

Jed G.

Intel Customer Support Technician


0 Kudos
JedG_Intel
Moderator
7,016 Views

Hello AsterCrash,

 

Upon review, to ensure you receive the most specialized assistance, we have a dedicated forum that addresses these specific concerns. Therefore, I will be moving this discussion to our AI Frameworks forum. This will allow our knowledgeable community and experts to provide you with timely and accurate solutions. 

 

Best regards

Jed G.

Intel Customer Support Technician


0 Kudos
Jing_Xu
Employee
6,996 Views
0 Kudos
AsterCrash
New Contributor I
6,725 Views

Attached is the output of the executed file

0 Kudos
Jing_Xu
Employee
6,684 Views

I can see pytorch and ipex 2.6 xpu are installed.

Please allow me to double-confirm your issue.

Did you get the workload running on GPU, but it ran slower than that on CPU? Or you didn't get it running at all on GPU, but only worked on CPU?

0 Kudos
Jianyu_Z_Intel
Employee
6,670 Views

@AsterCrash 

Hi,

  I checked this issue.

 

  You are using "webui forge" (https://github.com/lllyasviel/stable-diffusion-webui-forge) now.

  It's a project based on SD-WebUI 1.10.1 at this commit (July 2024).

  The "webui forge" doesn't mention it support Intel GPU, only support CUDA according to the project README.md.

  We can't make sure this project could support Intel GPU well.

 

   Since you are  using SD model, we recommend another tool [ComfyUI Windows Portable Package for Intel GPU|XPU] (https://github.com/YanWenKun/ComfyUI-WinPortable-XPU).

   It supports SD on Intel GPU, including BMG well.

   Could you try it?

 

  Thank you!

 

 

0 Kudos
AsterCrash
New Contributor I
6,576 Views

Okay, I'll test this version of comfyui. If anything happens, I'll let you know.

0 Kudos
Jianyu_Z_Intel
Employee
5,824 Views

Any feedback of the answer?


Thank you!


0 Kudos
Reply