[IPEX] Fix xpu generator#14562
Conversation
|
Hi, i'm succesfully running IPEX 2.1 from your repo here, But, when i'm use Vlad's System Info Benchmark, it's gives error about NaN in benchmark step 3,4,5 (16,32,64 batch i think) But, when i'm downgrade to IPEX 2.0, it's fine, no error |
Extensive benchmark tests batch size 1, 2, 4, 8, 16. |
oh, okay. IPEX 2.0 is fine. with your IPEX extension, my A770 can pass 20 it/s on benchmark. the only thing i concern about IPEX 2.1 (with torch 2.1 ofc), is to be able use FP8 Weight Storage form memory management. but it's still broken for IPEX 2.1, with "torch not compiled with CUDA" error. |
Description
torch.Generatorsupportsxpudevice before hijacking. "xpu" is supported starting from torch 2.1 and at the same timetorch.xpu.GeneratorAPI is removed starting from IPEX 2.1.devicearg when it's astr. Fixes issue [Bug]: Can't use IPEX with Token Merging #14434Screenshots/videos:
Using token merging:

txt2img works as expected:

Checklist: