How to correctly run Cuda toolkit in Ubuntu in the WSL (eventually to be used for YOLO)?

爱⌒轻易说出口 提交于 2019-12-07 12:33:57

问题


I followed the tutorial here from the Medium: https://medium.com/@GuruAtWork/setup-fastai-ubuntu-on-windows-10-44ca50b13a9

I was following it well until a MinGW was used for command lines. I am not sure how they went about doing this as the only way I could get nvcc to work is with sudo apt install nvidia-cuda-toolkit. However, this does not seem to complete the same thing as their tool kit is installed as if the exe was just run with Windows. However, that, of course, doesn't work with the Ubuntu. Let me know what you think, thank you.


回答1:


AFAIK it's just not possible right now to do so from WSL. The link from Medium only sets it up for the Git bash prompt, which is not the same as WSL.




回答2:


You can go about this http://www.erogol.com/using-windows-wsl-for-deep-learning-development/

It is a little bit hacky but hope it helps.



来源:https://stackoverflow.com/questions/55791794/how-to-correctly-run-cuda-toolkit-in-ubuntu-in-the-wsl-eventually-to-be-used-fo

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!