Is there any way to install tensorflow-gpu on WSL2?
After trying to set up CUDA on WSL and running nvidia-smi
, it had the error:
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
If anyone knows how to fix it, that would be appreciated.
Quoting here: "In initial releases of WSL 2 hardware access support will be limited, e.g: you will be unable to access the GPU...".
Update June 18, 2020:
"What’s new in Build 20150 Three new Windows Subsystem for Linux (WSL) features: GPU compute, WSL install, and WSL update" https://www.tenforums.com/windows-10-news/158773-windows-10-insider-preview-build-20150-1000-rs_prerelease-june-17-a.html
WSL is not designed to provide a full spectrum Linux experience, and is limited in ways Microsoft only knows how, but we're finding out. The well accepted method to run Linux under another OS is virtualization, such as VirtualBox or other virtual machine systems.