Ultimate Guide: Install TensorFlow GPU on WSL2 Ubuntu 24.04 | CUDA, cuDNN, TensorRT & PyTorch

preview_player
Показать описание
Learn how to install TensorFlow GPU on WSL2 Ubuntu 24.04 for Windows 11 in this comprehensive tutorial! This video covers the step-by-step process to install and configure the CUDA toolkit, cuDNN, and TensorRT. As a bonus, we'll also show you how to install PyTorch. Perfect for AI developers and data scientists looking to harness the power of NVIDIA GPUs on a Windows 11 system.

#################################################

I tried to put all the commands here but Youtube didn't allow me to put the commands. Please check the github repository for all the commands:

#################################################

0:00 Introduction
0:30 Setting up WSL2 on Windows 11
2:00 Installing Ubuntu 24.04 on WSL2
3:45 Installing NVIDIA Drivers
5:15 Installing CUDA Toolkit
7:30 Setting up cuDNN
9:00 Installing TensorRT
11:00 Verifying CUDA and cuDNN Installation
12:30 Installing TensorFlow GPU
15:00 Testing TensorFlow GPU Installation
16:30 Bonus: Installing PyTorch
18:00 Testing PyTorch Installation
19:30 Conclusion
Рекомендации по теме
Комментарии
Автор

In more than three weeks of watching tutorials and looking for amazing solutions, you were the only one who could help me. Thank you very much.

NatanaelFerreiraCostadeCastro
Автор

Man, I don't know how it's possible but it's working. You did such a great tutorial for a noob as me that started 3 days ago learning Deep Learning. And it worked at the first try! Great job

guitarist
Автор

Brilliant, Thank You! Been trying to do this for at least 6 month now and finally got it to work!!!😁

bertjansen
Автор

I have been trying to do this for so long. Finally a video that showed me exactly how to do that and solved all my queries. Thank you so much!

inclinedadarsh
Автор

You Are a LEGEND man!!! After all that searching you are the one who's done it for me. Keep Going. CHEERS!!!

AboElWes
Автор

Thank you so much bro, I wasted hours and days trying to figure whats wrong. you deserve more support and subscribers.

shashankpericherla
Автор

Thank you so much! The only tutorial that has worked so far end-to-end. Thanks again!

bxyz
Автор

Thank you so much. Please keep uploading. Learned a lot from you. Respect.

anandharsh
Автор

Thank you for preparing this guide, it was very helpful

halilkaya
Автор

You're the software wizard I needed, thank you very much

eymericchauchat
Автор

Thank you my brother!
Very Useful video

iihyder
Автор

Thank you so much. Great tutorial! 👍👍👍👍👍👍👍

surajkumar-vdxl
Автор

Thank you SO MUCH! All other resources are sooo behind that I wasted way too much time trying to get TensorRT to show up.

neelg
Автор

Thank you so much. It works, really save the time. GOD BLESS YOU.

yudhitanasa
Автор

**THIS VIDEO CAN HELP YOU TO INSTALL ANY VERSION OF CUDA, CUDNN, TENSORRT, AND TENSORFLOW IN YOUR WSL2**

Thank you again for creating an updated video on this topic.
feedback: kindly fix the chapter's timing it is not in sync.

nilutpaldas
Автор

Lol bro, I've been trying to find a solution to this problem for almost a week, I've read many gigabytes of information and visited every possible page on Nvidia's website, and somehow I can't solve this problem, you're my superman, thank you very much)❤❤❤

nikitsbozenko
Автор

If I install the latest version of tensorflow without tensorrt, would I later be able to use the downgraded versions of cuda and tensorflow for tensorrt? Also, the latest version of tensorflow uses cuda 12.3 while pytorch is 12.1 or 12.4, so can I have multiple cuda versions? I'm unfamiliar with these technologies because I'm just starting out.

HarrisonNguyen-zm
Автор

Awesome video. Thanks a lot. Till now I was using Ubuntu and windows separately using dual boot and has tf gpu install at both place. Both has its benefit. With windows it allowed me to open large models because some how in windows my gpu was able access my system ram too. But Ubuntu supported many features of torch which doesn’t work on windows. No I am getting a new laptop and wanted to try this wsl. I want to know from your experience is your gpu able to access system memory?

nonameastold
Автор

Thanks a lot man, this is the best video. I was trying to install for more than a day and couldn't. U r a saviour 🙏.
One thing i want to ask is ur GitHub link u provided has some extra lines of code to execute at the end like sudo rm and few other lines that you don't talk about in the video, should I run them?

_flx_up_
Автор

Thank you soooo much, It's clear and sharp to the point
Can you help me how to use the tf environment for local windows folder in vs code

farhaanjamal