WSL for Tensorflow environment and local interpretor for pytorch environment

I need to use tensorflow in windows 11  so i am using wsl in pycharm, now i need to use pytorch environment too. should i create pytorch environment in wsl or can i use local interpretor pytorch environment ? what is the recommended way to do so?

also suggest if i am using wsl for tensorflow  then my project directory should be same as wsl (ubuntu) or i can place my project from other windows drives?

 

looking forward to your kind help.

0
1 comment

Hi Jack23 

This really might depend on your project dependencies but generally you can create a pytorch venv in WSL or windows so I think it  makes sense to evaluate if you would like to have more linux environment support for your project or everything you need is also available in windows.

Your project location I would advise to keep either in WSL (such as /home/youruser/yourproject) or in a windows drive like C which can mount without issues under /mnt in WSL

Kind regards,

 

 

 

 

0

Please sign in to leave a comment.