Add experimental Intel XPU backend support - #590
Conversation
|
Additional local validation logs from Intel XPU testing: Smoke test: 768x768 -> 1080x1080Environment:
Key log excerpt: Larger image test: 1280x720 -> 3640x2048This run also exercised RGBA input and VAE tiled encode/decode. Key log excerpt: These are not benchmark claims, just reproducibility evidence that the XPU device path can load the nodes, materialize both VAE and DiT on |
15b4042 to
c22ce16
Compare
|
Update pushed in Notes for review:
Latest local validation:
|
|
Updated this PR with a new experimental Intel Omni XPU attention backend for SeedVR2. What changed in the PR branch:
Dependency note: This mode depends on Intel's Omni work from
The SeedVR2-side change does not vendor Intel's ComfyUI monkey patches into this PR. Users need to install Local validation:
Known notes from testing:
Prebuilt wheels: I intentionally did not add binary wheels to this upstream PR. For users of my Intel XPU fork, I put community-built Windows CPython 3.13 https://github.com/a86582751/ComfyUI-SeedVR2_VideoUpscaler-intel-xpu/tree/main/wheels Those include |
|
can you help to merge this pr as we need this for end customer evaluation? @numz |
Summary
Adds experimental Intel XPU backend discovery and memory-management support so SeedVR2 nodes can load on PyTorch XPU systems.
Changes:
torch.xpudevices and expose them asxpu:0,xpu:1, etc. in SeedVR2 device dropdowns.get_gpu_backend().Local validation
Tested on Windows portable ComfyUI with PyTorch
2.12.0+xpuon Intel Core Ultra x7 358H / Intel XPU.Validated:
SeedVR2VideoUpscalerSeedVR2LoadDiTModelSeedVR2LoadVAEModelSeedVR2TorchCompileSettings['xpu:0']and offload list returns['none', 'cpu', 'xpu:0'].seedvr2_ema_7b-Q8_0.ggufema_vae_fp16.safetensorsxpu:0sdpaThis is intended as experimental support. It does not add CUDA-only attention backends for XPU.