Questions about installing MIGraphX on WSL2
So I followed steps from https://rocm.docs.amd.com/projects/radeon/en/latest/docs/install/native_linux/install-migraphx.html, I installed Radeon software for WSL with ROCm and Pytouch strictly following those steps and everything works fine, and I start to try to install MIGraphX, because it says that the steps is the same with those using normal Linux, so I just installed docker for windows and the third step, build image using cloned script seems to success?
However the forth step "Run container" failed, when I copied the command and try to run it, it reports "docker: Error response from daemon: error gathering device information while adding custom device "/dev/kfd": no such file or directory."
I checked again if my steps went wrong, and the Q&A page, seems there is not a solution for me, so I am here for help, could anyone can help me?
Hi @Mhyho. Internal ticket has been created to assist with your issue. Thanks!
Hi @Mhyho, thanks for pointing this out. The documentation is incorrect here, WSL does not use /dev/kfd. Try --device=/dev/dxg instead; an example docker run on WSL can be found in Option B of https://rocm.docs.amd.com/projects/radeon/en/latest/docs/install/wsl/install-pytorch.html#install-methods.
Hi @Mhyho, thanks for pointing this out. The documentation is incorrect here, WSL does not use
/dev/kfd. Try--device=/dev/dxginstead; an example docker run on WSL can be found in Option B of https://rocm.docs.amd.com/projects/radeon/en/latest/docs/install/wsl/install-pytorch.html#install-methods.
Thank you, I will try it!
Hi @Mhyho, did this work for you?
Hi @Mhyho, did this work for you?
Sorry for not replying, It worked well. I was busy working on my dissertation since then so thank you very much.
Thanks for confirming! I'll see if the docs need to be revised on this.