Installing Latest TensorFlow on Windows with CUDA, cudNN & GPU support - Step by Step Tutorial 2022

  Рет қаралды 81,736

Bhavesh Bhatt

Bhavesh Bhatt

Күн бұрын

In this video I will show you how to set up and install the latest Tensorflow version with GPU support on Windows 10 & 11. We will require Visual C++, CUDA, CuDNN, as well as the Python libraries using Anaconda.
▶ Step 1: NVIDIA Video Driver [www.nvidia.com...]
▶ Step 2: Visual Studio C++ [visualstudio.m...]
▶ Step 3: CUDA [developer.nvid...]
▶ Step 4: CuDNN [developer.nvid...]
▶ Step 5: Anaconda [www.anaconda.com/]
▶ Step 6: Jupyter Notebook, Environment & TensorFlow/Keras
▶ Sponsor me on GitHub : github.com/spo...
▶ Join this channel to get access to perks: bit.ly/Bhavesh...
▶ Join the Telegram channel for regular updates: t.me/bhattbhav...
▶ If you like my work, you can buy me a coffee : bit.ly/BuyBhav...
*I use affiliate links on the products that I recommend. These give me a small portion of the sales price at no cost to you. I appreciate the proceeds and they help me to improve my channel!
▶ Best Book for Python : amzn.to/3qYThqu
▶ Best Book for Statistics : amzn.to/3vzvHEn
▶ Best Book for BERT: amzn.to/3lpX0fz
▶ Best Book for Machine Learning : amzn.to/2P6aZuT
▶ Best Book for Deep Learning : amzn.to/30UMTGl
▶ Best Intro Book for MLOps : amzn.to/3AoPZmM
Equipments I use for recording the videos:
▶ 1st Laptop I use : amzn.to/3AqI8Fp
▶ 2nd Laptop I use : amzn.to/3KAiYsB
▶ Microphone : amzn.to/3qUPxtz
▶ Camera : amzn.to/3rKQsM2
▶ Mobile Phone : amzn.to/3nRHP1f
▶ Ring Light : amzn.to/33LedM5
▶ RGB Light : amzn.to/3KzLgmS
▶ Bag I use : amzn.to/3AsM3RZ
If you do have any questions with what we covered in this video then feel free to ask in the comment section below & I'll do my best to answer those.
If you enjoy these tutorials & would like to support them then the easiest way is to simply like the video & give it a thumbs up & also it's a huge help to share these videos with anyone who you think would find them useful.
Please consider clicking the SUBSCRIBE button to be notified for future videos & thank you all for watching.
You can find me on:
▶ Blog - bhattbhavesh91...
▶ Twitter - / _bhaveshbhatt
▶ GitHub - github.com/bha...
▶ Medium - / bhattbhavesh91
▶ About.me - about.me/bhatt...
▶ Linktree - linktr.ee/bhat...
▶ DEV Community - dev.to/bhattbh...
▶ Telegram - t.me/bhattbhav...
#tensorflow #gpu #windows #cuda #cudnn

Пікірлер: 172
@kevinsuvarna1795
@kevinsuvarna1795 Жыл бұрын
Hello. Everything went correctly. At the last step, when I am checking whether the GPU's are connected, it is returning False. Any suggestions?
@arnabroy1206
@arnabroy1206 Жыл бұрын
Update?
@kevinsuvarna1795
@kevinsuvarna1795 Жыл бұрын
@@arnabroy1206 Hello I tried again a few times... but to no avail :(. As of now I still cannot connect to GPU's to train my ML model. I have tried with both PyTorch and Tensorflow.
@dvamsidhar6008
@dvamsidhar6008 6 ай бұрын
I am facing the same issue. Did you find the solution please let me know.
@kevinsuvarna1795
@kevinsuvarna1795 6 ай бұрын
@@dvamsidhar6008 Hi sorry but I gave up on that. I haven't tried installing CUDA again since then Sorry that I'm not of help
@SW-ud1wt
@SW-ud1wt 5 ай бұрын
Same issue with me, mine nvidia GeForce rtx 2050 card .
@manishachaurasia3405
@manishachaurasia3405 8 ай бұрын
Will this way work for geforce gtx 1650
@danielsun716
@danielsun716 Жыл бұрын
FYI, because after tensorflow-2.10, tensorflow will not support GPU on naive-windows instead of WSL2. So the last version is tensorflow-2.10.1. Remember, you have to install CUDA-11.2 and cudnn-8.9 in your host machine. Also, you need to install anaconda-navigator, any version is OK. Then in anaconda-navigator create the virtual environment with Python 3.10.x, you cannot use Python 3.11, because that is the limit for tensorflow-2.10 After that, in your venv-python 3.10 in anaconda prompt: pip install tensorflow==2.10.1 then you gonna see 'True'
@Brian5094
@Brian5094 11 ай бұрын
Is it possible just use conda install cudnn and cuda to set up gpu? or I have to manually do like the video shows?
@ВадимСабуров-н6т
@ВадимСабуров-н6т 11 ай бұрын
Thank you! Your solution was very helpful!
@J.H.Lee_
@J.H.Lee_ 10 ай бұрын
THANK YOU SO MUCH!!!! I was about to cry after going through hours of this (including the video) and it still showed False. You extended my life a little longer
@tudorpopa9978
@tudorpopa9978 10 ай бұрын
thenk you marry me please
@shlokkumar6257
@shlokkumar6257 9 ай бұрын
for 11.2 win 11 option is not available, is it okay to download as win 10
@MaryadiGeophysicist
@MaryadiGeophysicist 11 ай бұрын
Thanks! Very helpful! I follow the instructions and it works very well. Confirmed with actual TensorFlow usage. However, due to limitations for Windows native, I specify the version of some packages and software as follows: - VS Community 2019 - CUDA 11.4 - CuDNN 8.2.4.15 - Python 3.9.7 - TensorFlow 2.7.0 To avoid errors in TensorFlow installation, you may need to install Protobuf==3.20.0 in advance.
@SW-ud1wt
@SW-ud1wt 5 ай бұрын
Mine not working with Nvidia GeForce rtx 2050 card. Any suggestions please?
@shwetanshusood9450
@shwetanshusood9450 Жыл бұрын
doesn't work in my. its rtx 3060
@nobertnghoboko4325
@nobertnghoboko4325 Жыл бұрын
Yah mine too
@nobertnghoboko4325
@nobertnghoboko4325 Жыл бұрын
If you’ve solved it tell me how
@akashrai7102
@akashrai7102 Жыл бұрын
guys I got the results after changing the python version to an old model like in my case I selected python=3.6 while creating a new environment
@CrewNDx
@CrewNDx Жыл бұрын
mine is rtx 3060 as well, have you been able to solve?
@akashrai7102
@akashrai7102 Жыл бұрын
@@CrewNDx are you getting an error?
@harshal2455
@harshal2455 2 ай бұрын
While downloading its saying-> [NVIDIA installer cannot continue No NVIDIA is detected in your computer This graphics driver could not find compatible graphics hardware.] How to fix it
@PetarLuketina
@PetarLuketina Жыл бұрын
Unfortunely, it did not work for me, even after using all the same versions. I have an RTX 4090 so I am not sure if that's the issue. I will have to do more research because CPU is not ideal. Thank you for the video because it gives me an introduction of what I may need to eventually do.
@PetarLuketina
@PetarLuketina Жыл бұрын
For anyone else: I got it to work but ended up using WSL which is Window's built in Ubuntu remote desktop (super simple). I followed a video that basically followed the directions on the Tensorflow website. I just ran commands in a shell and everything worked flawlessly.
@ichbin1984
@ichbin1984 Жыл бұрын
Hi, I also installed it via wsl, which I am able to run in vsc. Everything works until I actually try to train the model. It states that no libdevice is found. Did you have a similar problem?
@kamalsharma3294
@kamalsharma3294 Жыл бұрын
@@PetarLuketina Could you please tell which video did you referred for it?
@akashrai7102
@akashrai7102 Жыл бұрын
guys I got the results after changing the python version to an old model like in my case I selected python=3.6 while creating a new environment
@chauhan100990
@chauhan100990 Жыл бұрын
@@akashrai7102 worked for me too. Thanks bro
@ritikrana7973
@ritikrana7973 Жыл бұрын
I followed every step, but it is not working. Gives FALSE. Please help
@chantony9318
@chantony9318 10 ай бұрын
Thanks! Very helpful! I follow the instructions and it works very well. Confirmed with actual TensorFlow usage. However, due to limitations for Windows native, I specify the version of some packages and software as follows: - VS Community 2022 - CUDA 11.8.0 [Highest supported version in Windows at the moment] - CuDNN 8.9.5.30 [Highest supported version in Windows at the moment] - Python 3.10.13 [Highest supported version in Windows at the moment] - TensorFlow 2.10.0 [Highest supported version in Windows at the moment]
@akshatthakur4713
@akshatthakur4713 7 ай бұрын
After searching for hours this info finally came to my rescue. Tysm 🙏🙏
@ayomideoraegbu1764
@ayomideoraegbu1764 Жыл бұрын
I don't comment often on social media, but I have to give you your "flowers" for this tutorial video. It really helped me, and for that I am thankful.
@bhattbhavesh91
@bhattbhavesh91 Жыл бұрын
Glad it was helpful!
@YashasviYadav-p7u
@YashasviYadav-p7u 2 ай бұрын
what if in the end it show false as out put
@nagendrapai3950
@nagendrapai3950 5 ай бұрын
i followed it but it is not working for me
@CrewNDx
@CrewNDx Жыл бұрын
Hi Bhabesh, Thank you so much! I attempted to install Tensorflow on GPU twice and eventually gave up. Recently, I am working on a project where I am training 5370 lstm models on billions of observations and training on CPU is a joke. hence I had to make it work and I spent around 7 hours to figure it out and finally I stumbled on your video and it worked like a charm. You saved my life. Thank you so very much! God Bless you
@shwetanshusood9450
@shwetanshusood9450 Жыл бұрын
Ya i resolved it too. As i also tried for so many hours. I got it resolved from Krish Naik video
@AandGTech
@AandGTech Жыл бұрын
hey I need your help
@shwetanshusood9450
@shwetanshusood9450 Жыл бұрын
@@AandGTech ya say
@KienTran-bc9dr
@KienTran-bc9dr Жыл бұрын
After months I was able to get my GPU to run with python 3.10 and tensorflow 2.10.1. I also uninstalled all my CUDA 12 and installed CUDA 11.6 instead (not sure if that helps). Here is my code. conda create -y --name tf python=3.10 conda activate tf pip install tensorflow==2.10.1 python import tensorflow as tf len(tf.config.list_physical_devices('GPU'))>0 Thanks to all the troubleshooting in the comments, hope everyone has a nice day.
@japhethmumo6768
@japhethmumo6768 10 ай бұрын
Thanks, Bhavesh for your great tutorial, I would really like to use Cuda but unfortunately, my pc does not have Nvidia which supports it instead it has Intel(R)Iris(R) Plus Graphics
@itsme9877
@itsme9877 6 ай бұрын
Same here.. I am struggling to get the code running.. Please let me know what alternate method did you follow
@kokosarra2630
@kokosarra2630 Жыл бұрын
thank you, but i do the same what u do in the video but in the last I have result =False
@bernadettmolnar6514
@bernadettmolnar6514 Жыл бұрын
I did the same and got len(tf.config.list_physical_devices('GPU'))>0 =False as well ... did you figure out the problem? :(
@hemesh5663
@hemesh5663 Жыл бұрын
@@bernadettmolnar6514 Hey even I am getting same problem did you figure out the solution.
@akashrai7102
@akashrai7102 Жыл бұрын
guys I got the results after changing the python version to an old model like in my case I selected python=3.6 while creating a new environment
@Acer3859
@Acer3859 Жыл бұрын
I followed all your instructions, but they didn't work for me. I'm running Windows 11 home, Python v 3.10.10, TF v2.12.0, and CUDA v12.1.0. I'm not sure what's wrong.
@renatgaliev2137
@renatgaliev2137 Жыл бұрын
Tensorflow can't work wit CUDA - 12, Max version is 11.8
@sulemankazi7587
@sulemankazi7587 Жыл бұрын
@@renatgaliev2137 Python v 3.10.11, TF v2.12.0, and CUDA v11.8.0, cUdnn 8.6 STILL NOT WORKING
@aneeshkalita7452
@aneeshkalita7452 Жыл бұрын
Thank you so much Bhavesh. Worked Flawlessly and enjoyed the whole process ! Cheers
@bhattbhavesh91
@bhattbhavesh91 Жыл бұрын
You are most welcome
@ayomideoraegbu1764
@ayomideoraegbu1764 Жыл бұрын
hello @aneeshkalita7452 what specific version of cuDNN and CUDA libraries did you install?
@mohsenghafari7652
@mohsenghafari7652 4 ай бұрын
thanks dear . you tutorial work for 3080 nvidia gpu?
@bhattbhavesh91
@bhattbhavesh91 3 ай бұрын
Yes, of course
@NavnilDas-o1n
@NavnilDas-o1n 4 ай бұрын
Can Somebody Please tell that is it mandatory to download the VS Code C++?
@carlosazuaje8381
@carlosazuaje8381 3 ай бұрын
mnononoon
@adhikari777
@adhikari777 8 ай бұрын
What you Actually need! --> cuda version 11.2 --> cuDNN version compatible with any 11.x version will work. --> python version 3.10.13 --> tensorflow version 2.10.1 will only work. (pip install tensorflow==2.10.1) (Anaconda Any latest version will work) cuda version 11.6 might not work but 11.2 does!
@mohsinfaurkh2646
@mohsinfaurkh2646 Жыл бұрын
I followed all the steps as in the video, but at the end I got this result @Bhavesh Bhatt >>> import tensorflow as tf >>> tf.__version__ '2.11.0' >>> len(tf.config.list_physical_devices('GPU'))>0 False
@mohsinfaurkh2646
@mohsinfaurkh2646 Жыл бұрын
Oh I did it..... By adding this line: pip install tensorflow-gpu
@tanzeelmohammed9157
@tanzeelmohammed9157 Жыл бұрын
@@mohsinfaurkh2646 where do i have to add this line?
@mohsinfaurkh2646
@mohsinfaurkh2646 Жыл бұрын
@@tanzeelmohammed9157 After installing tensorflow. In the terminal/command prompt
@tanzeelmohammed9157
@tanzeelmohammed9157 Жыл бұрын
@@mohsinfaurkh2646 i did the same but mine is showing errors
@mohsinfaurkh2646
@mohsinfaurkh2646 Жыл бұрын
@@tanzeelmohammed9157 which error?
@Lil_bit_of_everthg
@Lil_bit_of_everthg Жыл бұрын
Brrooooo i followed all the step also nvidia is there in my laptop still it's showing false😭😭😭😭😭😭😭
@nukestrom5719
@nukestrom5719 9 ай бұрын
Didn't work for me. I think they changed it with Windows wsl.
@himanshuagarwal8454
@himanshuagarwal8454 Жыл бұрын
at last what i see is FALSE
@akashrai7102
@akashrai7102 Жыл бұрын
I got the results after changing the python version to an old model like in my case I selected python=3.6 while creating a new environment
@nambirajmeenakshi1492
@nambirajmeenakshi1492 8 ай бұрын
Bro can pls tell me which version will be suitable for GTX 1650ti
@al.habibii
@al.habibii 4 ай бұрын
Hi Bhavesh Bhatt, Thank you so much for this amazing video on installing a GPU for TensorFlow! It's been a lifesaver in getting me started. I have a quick question though. I'm preparing for an upcoming TensorFlow exam and need to install TensorFlow 2.13.0 for it. I'm using a Windows 11 system with an NVIDIA RTX 3050 GPU. I'm a bit lost on the specific installation steps I need to follow for this setup. Could you please provide some more detailed guidance on this? Your expertise would be a huge help in ensuring I have the correct setup for my exam. Thanks again for your awesome tutorials!
@bhattbhavesh91
@bhattbhavesh91 4 ай бұрын
Glad it was helpful!
@romaindec1717
@romaindec1717 Жыл бұрын
why do you install visual studio C++ what's the reason
@zahidkhan-ee4th
@zahidkhan-ee4th Жыл бұрын
why do we need validation? I mean what is the purpose, can we install without validation, will it work properly?
@hxrry21
@hxrry21 Жыл бұрын
mine coming false :( need help
@vamc4164
@vamc4164 7 ай бұрын
Thank you !!!, such an amazing video to install cuda and CuDNN , it was very helpfull and it works!!!!
@bhattbhavesh91
@bhattbhavesh91 7 ай бұрын
You're welcome!
@shashaankkota9020
@shashaankkota9020 Жыл бұрын
If still gpu is not showing do the following In the newly created anaconda environment run: conda install -c conda-forge cudatoolkit=11.2 cudnn=8.1.0 The above code solved my issue
@krishnagalax
@krishnagalax 10 ай бұрын
i want to build a pc for testing ml model and i have decided to use ryzen 5600g with geforce 3060 . will i face any compatbility issues or not
@codingpreparation
@codingpreparation Жыл бұрын
The video is outdated, now the latest tensorflow GPU works with wsl2. But for older versions it seems to work, I think.
@prakhyatsrivastava8691
@prakhyatsrivastava8691 Жыл бұрын
can you tell the latest method because i am still getting false
@akashrai7102
@akashrai7102 Жыл бұрын
I got the results after changing the python version to an old model like in my case I selected python=3.6 while creating a new environment
@Tananda-o3e
@Tananda-o3e 5 ай бұрын
Thank you for your kindness. I just bought a new computer and it has helped me tremendously.
@bhattbhavesh91
@bhattbhavesh91 5 ай бұрын
You are welcome!
@benmahmoudayoub7758
@benmahmoudayoub7758 Жыл бұрын
I have installed cuda 11.8 and cudnn 8.1 and nothing works he is not seeing my GPU for some reason i don't know i tried everything please help
@akashrai7102
@akashrai7102 Жыл бұрын
I got the results after changing the python version to an old model like in my case I selected python=3.6 while creating a new environment
@qlarettemach754
@qlarettemach754 Жыл бұрын
Sir, why is it when i install the CUDA after clicking "Agree and continue" i got a warning that says "you already have a newer version of NVIDIA frameview sdk installed"? Can you provide me some solutions please?
@qlarettemach754
@qlarettemach754 Жыл бұрын
solved! Just removed the frameview sdk on control panel
@asiasi3546
@asiasi3546 Жыл бұрын
Hi ; i want version tensorflow and keras appropriate to knime As any version the knime is said not known
@pixelometry2216
@pixelometry2216 Жыл бұрын
i want to know, do i have to download and install all those individual component you selected? or only IDE is enought?
@ghostplays5291
@ghostplays5291 9 ай бұрын
Is that visual studio part is essential pls tell anyone
@bhattbhavesh91
@bhattbhavesh91 9 ай бұрын
Yes!
@Mani-fj9mq
@Mani-fj9mq Жыл бұрын
I do all in this Steps in properly but it will still show me false
@akashrai7102
@akashrai7102 Жыл бұрын
I got the results after changing the python version to an old model like in my case I selected python=3.6 while creating a new environment
@pablodiegoacosta2424
@pablodiegoacosta2424 Жыл бұрын
Yo save me from a depression jajajajajaj Thanks a lot!!!
@akshatbanga2770
@akshatbanga2770 Жыл бұрын
Thank you so much Bhavesh bhai it was a great effort and a great help indeed.
@almariozambra9670
@almariozambra9670 Жыл бұрын
Thx now I can play my favorite game 👍
@germancruz6618
@germancruz6618 Жыл бұрын
Dear Bhatt, I recently installed a RTX 4060 TI GPU in my PC, which cuda version do you suggest ? I have installed Anaconda/Spyder
@yashsawkar2982
@yashsawkar2982 Жыл бұрын
i saw lot of videos and i to have RTX 4060 ti GPU in my PC, I am getting void array when i run " print(tf.config.list_physical_devices('GPU'))" as []
@ANIKETSHIVAM-j3f
@ANIKETSHIVAM-j3f Жыл бұрын
i got false in the last part , what should i do now , to resolve it, i have a 3050 laptop gpu , windows 11 , and have installed cuda 12.2 , i dont know where the error is
@mini7fabero
@mini7fabero 5 ай бұрын
how did you solved?
@ANIKETSHIVAM-j3f
@ANIKETSHIVAM-j3f 5 ай бұрын
@@mini7fabero i tried installing , tensrflow-gpu by refering to the website and going line by line as said note : make sure that if using anaconda prompt , it should be in c drive , rather than any other drive
@tvharikrishna4080
@tvharikrishna4080 Жыл бұрын
Thank you so much. Best Tutorial in first go my laptop tensorflow is accessing the GPU of my machine. Thank you so much for beautiful lesson 😎
@bhattbhavesh91
@bhattbhavesh91 Жыл бұрын
Glad you liked it!
@3366ashish
@3366ashish Жыл бұрын
This also helps :)
@saktlaunda2698
@saktlaunda2698 Жыл бұрын
hi
@vishakarudhra8665
@vishakarudhra8665 2 жыл бұрын
Bhai, can you please please make a similar video for WSL?
@Alex_Tsingos
@Alex_Tsingos 2 жыл бұрын
Yes, I would also like to see such a video.
@juanpineda4961
@juanpineda4961 Жыл бұрын
Ty for saving me, now I can train NN so much faster, kudos for the excelent work
@bhattbhavesh91
@bhattbhavesh91 Жыл бұрын
Great to hear!
@ghostplays5291
@ghostplays5291 9 ай бұрын
Is that visual studio part is essential pls tell anyone
@gauravmalik3911
@gauravmalik3911 Жыл бұрын
Mine is showing false at the end
@janardhanpasala2143
@janardhanpasala2143 Жыл бұрын
same here, is any further installation or setup needed?
@akashrai7102
@akashrai7102 Жыл бұрын
guys I got the results after changing the python version to an old model like in my case I selected python=3.6 while creating a new environment
@ipass-q4m
@ipass-q4m Жыл бұрын
@@akashrai7102 ty bro , your way work for me
@sajith1792
@sajith1792 Жыл бұрын
Thank you so much!!!!
@bhattbhavesh91
@bhattbhavesh91 Жыл бұрын
You're welcome!
@iliaspapadopoulos9861
@iliaspapadopoulos9861 Жыл бұрын
So this still works? I was worried that with the new version of tensorflow i need to use wsl2? this is what i saw on some other videos... but this tutorial looks more robust to me.
@sajith1792
@sajith1792 Жыл бұрын
Yes it is still working, just make sure to download the exact same versions shown in the video and when you install tensorflow mention it's version since its updated.
@BedfordGibsons
@BedfordGibsons 2 жыл бұрын
Well the vid was great upto the environment variable changes. Moved too fast and cant see what the end result should be. Even freezing video doesnt quite help. Maybe post the intended outcome please. Thanks
@vivekchowdhury4225
@vivekchowdhury4225 Жыл бұрын
Thank you for this video. It would have been great if you could have told us to refer the correct cudNN version according to tensorflow we had. I had to refer StackOverflow for that part. I could use my GPU in the end. Thanks a lot!
@flowsolo
@flowsolo Жыл бұрын
I'm having troubles with this part too. it automatically downloaded cuda 12.0.1 but I dont see a cuDNN that supports it
@akiladissanayaka5692
@akiladissanayaka5692 Жыл бұрын
@@flowsolo same happen to me, did you find any solution?
@flowsolo
@flowsolo Жыл бұрын
@@akiladissanayaka5692 I unfortunately did not.. I went back to using my CPU :(
@ashu030991
@ashu030991 Жыл бұрын
@@flowsolo Yes you have to install cuda 11.2
@ankitmhaske3507
@ankitmhaske3507 2 жыл бұрын
Total downloading and installation of vs code, c++ files, cuda, cudnn, etc - how much total disk space does it take? Last time I tried installing when I realised that it's going to take 30GB+, mainly C++ files.
@ankitmhaske3507
@ankitmhaske3507 Жыл бұрын
@omrode5483
@omrode5483 Жыл бұрын
@@ankitmhaske3507 should be not more than 10gb
@eminakamar6860
@eminakamar6860 2 жыл бұрын
Hİ, i did all the operations but it gave a "ModuleNotFoundError: No module named 'tensorflow' " warning
@issafares7073
@issafares7073 2 жыл бұрын
good evening, were you able to solve the issue?
@eminakamar6860
@eminakamar6860 2 жыл бұрын
@@issafares7073 Yes, I finally solved the problem thanks
@dragosstoica5921
@dragosstoica5921 2 жыл бұрын
@@eminakamar6860 I'm currently facing the same problem. How did you solve it?
@AmolChaurasia
@AmolChaurasia 2 жыл бұрын
@@dragosstoica5921 try this(Note there are 2 underscores before and after "version"): print(tf.__version__)
@eminakamar6860
@eminakamar6860 Жыл бұрын
@Dragos Stoica I have added CUDA file path repeatedly according to TensorFlow documentation
@srsohan2102
@srsohan2102 Жыл бұрын
>>> len(tf.config.list_physical_devices('GPU'))>0 False I am having this issue. Instead of returning "True" it's showing "False". How to solve this anyone, please!
@yvos
@yvos Жыл бұрын
You forgot to install tensorflow-gpu and instead used tensorflow (which is the CPU version)
@azimbekkhudoyberdiev0817
@azimbekkhudoyberdiev0817 Жыл бұрын
In the latest version just installing tensorflow is enough, no need to mention tensorflow-gpu or -cpu
@Prathamesh0937
@Prathamesh0937 Жыл бұрын
Why not choose installer type as exe(network)???
@Saou8794
@Saou8794 2 жыл бұрын
Thank you, it works for me!
@minastiktok5250
@minastiktok5250 2 жыл бұрын
actually this is the first time that i found an informative video like this, really thank you
@rahulmondal6037
@rahulmondal6037 2 жыл бұрын
I can now see that TensorFlow is accessing the GPU of my machine. Thank you so much for the beautiful lesson.
@vigneswaranm8460
@vigneswaranm8460 2 жыл бұрын
bro how to find CUDA compatible CUDNN Version for my laptop
@kirthivasanpandurangan3287
@kirthivasanpandurangan3287 Жыл бұрын
en.wikipedia.org/wiki/CUDA
@thakkarshitalp.prof.1348
@thakkarshitalp.prof.1348 2 жыл бұрын
Thank you
@edwinj.rodriguezmarte2397
@edwinj.rodriguezmarte2397 Жыл бұрын
After following the video tutorial step by step when I get to the step of testing if tensorflow is using my gpu, the result I get is False. I got it to work by installing Python version 3.6 thanks to Akash Rai's comment. But I don't understand why it doesn't work. I did it installing the CUDA 11.8 and cuDNN 8.6 versions because they are the versions that it says in the tensorflow page that are compatible with tensorflow 2.12.0.
@edwinj.rodriguezmarte2397
@edwinj.rodriguezmarte2397 Жыл бұрын
I was able to validate my gpu usage by installing python 3.10. What I did was that instead of using the command "pip install tensorflow" I used "pip install tensorflow==2.10.1". With that command you can install a specific version of tensorflow, in my case version 2.10.1 works for me.
@CrewNDx
@CrewNDx Жыл бұрын
I got a lil bit confused 😅. could you please elaborate what was the combination of CUDA, cuDNN, Python and TensorFlow versions that worked for you?
@sahiljain3249
@sahiljain3249 Жыл бұрын
@@edwinj.rodriguezmarte2397 Yeah I am lost at what to do can you give the version of everything required
@bhupendrakumar8996
@bhupendrakumar8996 Жыл бұрын
Bhai kahan tha ye video... itne din se try kar rha tha CUDA aur CuDNN install karne ka... finally it is working in my system
@SUJITHPS
@SUJITHPS Жыл бұрын
It Worked 😍🥹
@bhattbhavesh91
@bhattbhavesh91 Жыл бұрын
Great!
How do Cats Eat Watermelon? 🍉
00:21
One More
Рет қаралды 10 МЛН
💩Поу и Поулина ☠️МОЧАТ 😖Хмурых Тварей?!
00:34
Ной Анимация
Рет қаралды 2 МЛН
Install Tensorflow/Keras in WSL2 for Windows with NVIDIA GPU
9:59
Nvidia CUDA in 100 Seconds
3:13
Fireship
Рет қаралды 1,3 МЛН
TensorFlow and Keras GPU Support - CUDA GPU Setup
15:54
deeplizard
Рет қаралды 111 М.
217 - 9 steps to installing TensorFlow GPU on Windows 10
14:14
DigitalSreeni
Рет қаралды 45 М.
Install PyTorch for Windows GPU
8:49
Jeff Heaton
Рет қаралды 9 М.
Creating a conda Environment for Pytorch and Cuda
11:50
Alex Soupir
Рет қаралды 18 М.
How do Cats Eat Watermelon? 🍉
00:21
One More
Рет қаралды 10 МЛН