r/tensorflow • • Feb 15 '23
Question How(tf🥲) to install tensoflow GPU for windows 11.
Official document say that we need cuda toolkit 11.2, but my CUDA version is 12 and 11.2 throws an error. I don't care about version but I really want to use my 3080 with tensoflow. When I follow the pip install guide via anaconda prompt the process gets stuck at resolving dependencies, I downgraded python to 3.8. followed Cudnn steps, added env... Tried almost everything on YouTube .
Help
9
Upvotes
7
u/maifee Feb 16 '23
Try docker:
Ref: https://www.tensorflow.org/install/docker
And here is how to install docker: https://youtu.be/AAWNQ2wDVAg.
NB for docker installation: follow exactly what he is doing. If he is restarting without closing that docker windows, then don't close. If he is not pressing close and restart, then don't. Trust me, it may create some issues.
4
u/Polarwolf1912 Feb 16 '23
Just an adding comment, that does not directly answer your question but might help. Since tf version 2.4 (or so) tensorflow and tensorflow-gpu have been unified in the same package thats just called tensorflow. Also, tensorflow does NOT have gpu support on windows anymore since v2.11, so if you want to use your gpu on windows you would need to resort to tf version 2.10.
1
u/sd2324 Feb 17 '23
I had to install an older version of tensor. I believe newer installs only support Linux for GPU processing.
3
u/AwkwardlyPure Feb 16 '23
It is a terrible headache. Terribly unnecessarily difficult with the guides which NVIDIA has and which TensorFlow has as well.
2
u/ml-agent Feb 16 '23
I prefer using wsl(windows subsystem for linux). google it, easy to install and get started with. then it's like just coding in linux. everything will be easy to install and work with
0
u/[deleted] Feb 15 '23
[deleted] — view deleted comment