Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2796

How might I work around WSL2's GPU limitation by training a Tensorflow model on Window's instance of Python?

$
0
0

I've got a neural network model whose training would be sped up significantly if I could run it on my Nvidia GPU instead of my CPU. My model exists in my WSL2 environment -- WSL2 does not grant Tensorflow access to my computer's GPU.

As a workaround, perhaps the Python environment that is native to the Windows OS (as opposed to my WSL-Ubuntu install) has access to the GPU. However, runningpython.exe neuralnet.pyfrom WSL seems to exit immediately without output or error.

Is this workaround possible?


Viewing all articles
Browse latest Browse all 2796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>