Sign In

ComfyUI and Intel XPU How to cook it

1

Sep 15, 2025

(Updated: 4 months ago)

generation guide
ComfyUI and Intel XPU How to cook it

So... You have intel ultra i5/i7/i9 (with Arc graphics) or A570/B570 video card and want to use Stable deffusion? Or even WAN?

First of all, you need to install GPU drivers - it's required.

https://www.intel.com/content/www/us/en/support/articles/000005629/graphics/processor-graphics.html

Then you need upgrade Python packages.

pip install --pre --upgrade pytorch-triton-xpu torch diffusers torchsde torchvision torchaudio safetensors --extra-index-url https://download.pytorch.org/whl/nightly/xpu

Then you need to use some this arguments (red is required, other just recomended):

--bf16-text-enc --bf16-unet --bf16-vae --cache-classic --mmap-torch-files --supports-fp8-compute --async-offload --force-non-blocking --disable-api-nodes

And you MUST SET EXTERNAL VARIABLE!!! (linux it means export, windows use set) this variable fix 4GB bug and now you able to create longer video.

SYCL_UR_USE_LEVEL_ZERO_V2 = 1

Now you can use SD, Flux, Wan (2.1 and 2.2)

Hope it helps somebody because I spend about 6 month before found all this.

1