Is there a way to unite WSL2 Ubuntu, Tensorflow-GPU, CUDA, and Pycharm[windows]?

1

1

  1. I have a WSL 2 Ubuntu with Anaconda 3 installed in Ubuntu WSL 2.
  2. Then I installed PyCharm in Windows 10.
  3. Then I created an environment for tensorflow-gpu in WSL2.
  4. I installed CUDA and cuDNN in Windows 10.

Now my question is, "How to connect all of them, if at all possible?" I read that WSL 2 is pure Linux Kernal and Tensorflow is faster in Linux than Windows 10.

Vasu Srivastava

Posted 2019-11-23T03:28:08.533

Reputation: 11

My question is clear. I listed the 4 points. Based on that, I simply want to know how to connect them to run tensorflow-gpu in pycharm which is installed in Windows. Or do I have to install cuda in wsl 2? – Vasu Srivastava – 2019-11-23T03:36:27.220

5

GPU isn't accessible in WSL. See this long issue https://github.com/microsoft/WSL/issues/1788

– Biswapriyo – 2019-11-23T04:10:18.307

No answers