Support for Intel XPU / Intel ARC GPUs#1329
Conversation
|
Hey thanks for this amazing work! I like how you are abstracting the backends into separate classes. Today we have released nnU-net v2 which already extends the supported devices to cuda, cpu and mps. |
|
Hey Thomas, I think fabric is the way to go for this in the future. I will work on adding fabric to nnU-Net soon |
|
Hi Fabian, If you are looking into frameworks as a solution then ONNX might be worth considering as well. It is backed by Microsoft. |
|
Hey, I am quite confident that fabric will support XPUs soon. I have talked to one of their developers recently and they seem highly motivated to include everything that is needed for broad adoption. I like how fabric seamlessly integrates into existing pytorch code which is why I like this solution. It works for both training and inference. |
|
Is XPU integration still something that you need? If so I can look into enabling that in nnU-Net. Since I don't have an arc GPU I would need someone to test that it works |
Hi everyone,
I am excited to announce that I have begun adding Intel XPU support through IPEX into nnUNet, which will allow training and inference on the Intel ARC GPUs. However, I would like to note that the code needs further testing and optimization before merging. Therefore, I am sharing it with the community in hopes that others can contribute to this project.
Currently, the code has only been tested for CPU and Intel XPU. Therefore, there may be bugs that need to be addressed. Furthermore, I have noticed that training on an AMD 7900x CPU is faster than training with the A770 Intel ARC GPU using this code. Additionally, the XPU backend only supports BFloat16 precision at this time.
If you are interested in helping with this project, please feel free to contribute or provide feedback.