I have an intel arc B580, and i wanted to do upscaling. I came across this repo and realised that it is absolutely possible to use my card with seedvr2, all you have to do is litteraly just ctrl+f quickreplace all mentions of cuda and change them to xpu, and remove torch.xpu.ipc_collect() from memory_manager.py. this is a bodge fix tho (thats why im putting it here instead of a pull request or fork). But generally xpu support can be added very easily like this! Im geussing this hasnt been done bc nobody asked yet and native xpu on pytorch is still young, so just pointing this out.
I have an intel arc B580, and i wanted to do upscaling. I came across this repo and realised that it is absolutely possible to use my card with seedvr2, all you have to do is litteraly just ctrl+f quickreplace all mentions of cuda and change them to xpu, and remove
torch.xpu.ipc_collect()from memory_manager.py. this is a bodge fix tho (thats why im putting it here instead of a pull request or fork). But generally xpu support can be added very easily like this! Im geussing this hasnt been done bc nobody asked yet and native xpu on pytorch is still young, so just pointing this out.