burn
burn copied to clipboard
No adapter found for graphics API AutoGraphicsApi (wgpu backend)
I can run wgpu examples in WSL2 with GPU, but encountered the error No adapter found for graphics API AutoGraphicsApi and cannot find any support from doc or Google. Can anyone tell me how to properly setup adapter for wgpu backend?
You can use an explicit graphics API, you can try Vulkan, OpenGL, Dx11 or Dx12 and let me know if one works.
can I use vulkan in wsl2?
That's a good question, I guess if it's installed you could use vulkan, but I'm unsure.
@nathanielsimard Hi, I met the same error. Here is the GPU on our CentOS7 server, how to set the backend ? Could you paste the code ?
You have to install Vulkan on linux to get wgpu working. You should be able to call vulkaninfo.
I haven't installed Vulkan, but I can use GPU to train the model using Pytorch. I am not sure if I installed OpenGL, how to check whether I can enable OpenGL ?
It depends on your OS, if CUDA is already installed you might try the cuda backend using the feature flag cuda-jit. Otherwise you have to follow a guide on how to install vulkan on your OS.