How to Install TensorFlow GPU in Windows WSL2 | Install Anaconda in WSL2 | Using WSL for TensorFlow

preview_player
Показать описание
✍️🏆🏅🎁🎊🎉✌️👌⭐⭐⭐⭐⭐
ENROLL in My Highest Rated Udemy Courses
to 🔑 Crack Data Science Interviews and Jobs

🏅🎁 Python for Machine Learning: A Step-by-Step Guide | Udemy

🎁🎊 Deep Learning for Beginners with Python

📚 📗 Natural Language Processing ML Model Deployment at AWS

📊 📈 Data Visualization in Python Masterclass: Beginners to Pro

📘 📙 Natural Language Processing (NLP) in Python for Beginners

🎉✌️ Advanced Natural Language and Image Processing Projects | Udemy

📈 📘 Python for Linear Regression in Machine Learning

📙📊 R 4.0 Programming for Data Science || Beginners to Pro

✍️🏆 Introduction to Spacy 3 for Natural Language Processing

Hi,
Learn here how to install tensorflow gpu in windows subsystem for linux (wsl2) formerly known as wsl. Using tensorflow GPU in wsl is pretty much simple. you just need to install anaconda and then tensorflow. Here is command to install it

TensorFlow

Anaconda

# install anaconda


~/anaconda3/bin/conda init bash
~/anaconda3/bin/conda init zsh

# Install Python
conda create --name py310 python=3.10

🔊 Watch till last for a detailed description

💯 Read Full Blog with Code
💬 Leave your comments and doubts in the comment section
📌 Save this channel and video for watch later
👍 Like this video to show your support and love ❤️

~~~~~~~~
🆓 Watch My Top Free Data Science Videos
👉🏻 Python for Data Scientist
👉🏻 Machine Learning for Beginners
👉🏻 Feature Selection in Machine Learning
👉🏻 Text Preprocessing and Mining for NLP
👉🏻 Natural Language Processing (NLP)
👉🏻 Deep Learning with TensorFlow 2.0
👉🏻 COVID 19 Data Analysis and Visualization
👉🏻 Machine Learning Model Deployment Using
👉🏻 Make Your Own Automated Email Marketing

***********
🤝 BE MY FRIEND
Рекомендации по теме
Комментарии
Автор

fuck tensorflow it's not working after trying for 10 fuckin hours

wwthe
Автор

Hey guys if you get an empty list after this commmand :python3 -c "import tensorflow as tf;
You can try to downgrade your tensorflow version to 2.15 by running this command: pip install tensorflow==2.15 it worked for me

arthurbarbier
Автор

Thanks a lot! This is the only video that correctly and efficiently explains the process.

Landry_Houston
Автор

Thanks for such an accurate information. It'll just take time to setup wsl2. Remaining all steps are very easy.

omsonawane
Автор

thank you!! you have no idea how long i've struggled with this before i found this video :)

spikips
Автор

For those having the error " Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU " when listing the GPUs, I fixed it by downgrading tensorflow to 2.15 version by running the command pip install tensorflow==2.15 ; then I saw another problem : it appeared that my GPU was not detected by the listing, to fix this, just go to your nvidia panel -> 3D parameters -> manage 3D parameters and select your GPU in the preferred Graphic Processor Option.

Andrea-duor
Автор

I have an issue whereby all that you show works if I run ubuntu app, but not from cmd -> wsl, then conda is not discovered, but if I start ubuntu it is there

arkadiuszkulpa
Автор

I am using windows native also my gpu discoverable but it shows jit compilation failed when running some code

ghostplays
Автор

OMG thank you so much saved a lot of time :)

praveenm
Автор

He can find tensorflow when I run in terminal but when i move to jupyter he can not find. He say "No module named 'tensorflow'", and vedio don't run tensorflow in jupyter as example either. Can anyone help me please?

maybe is this error : [IPKernelApp] ERROR | No such comm target registered: jupyter.widget.version

I found out that the version of python in terminal is different with the version in jupyter?why?

scott
Автор

It feels like it works, the computer doesn't use 100% of its capacity to computer anymore. But the GPU usage still seem to be very low (8%). Maybe it's the training task that doesn't allow for enough parallelization, I'll keep trying.

GenesisChat
Автор

please help mine returns an empty list and i have tried all the possible solutions i saw online I need help please

anyaecheebuka
Автор

thank you very much . How can I connect it to Spyder?

ramazanyalcn
Автор

not working
i think the problem is where the anaconda is getting installed there python is not got installed and when i try to run my code anywhere it says "tensorflow is not added"

ayushkr
Автор

hello after the import tensorflow step its telling me to that TENSOR RT Not found, how do i fix this

parthsen
Автор

Brdr I followed all the steps and everything looked the same as in the video but still when i tried to run gpu in my jupyter notebook it tells no GPU

SandeepIITB
Автор

May I know where you installed CUDA toolkit and cuDNN, inside or outside WSL2?

vzprnxw
Автор

For some reason I keep getting Out of Memory error when I try with WSL. Tensorflow (GPU) works perfectly with Windows, however I get the out of memory error when I try Tensorflow (GPU) on WSL. appreciate your guidance

shammy
Автор

Not worked for me:

Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU

pasemes
Автор

worked almost perfectly, just had to run some pip install tensorflow --upgrafe to make it work. Is it possible to connect my VSC instance on my desktop to my laptop and use my GPU from remote?

ronhicych