How To Use Your GPU for Machine Learning on Windows with Jupyter Notebook and Tensorflow

preview_player
Показать описание
A quick guide on how to enable the use of your GPU for machine learning with Jupyter Notebook, Tensorflow, Keras on the Windows operating system.

I researched and tried various methods to get this work, and discovered this to be the easiest and quickest solution.

This will allow you to use your GPU instead of your CPU when training your your neural network.

This makes it so that iteration through each epoch of your datasets will be completed faster.

Heres a copy of the test functions:
import tensorflow as tf
from tensorflow import keras
import sys

Please Like, Comment, and Subscibe so I will make more videos.
Рекомендации по теме
Комментарии
Автор

after suffering for more than a week to make tensorflow integrate with GPU, finally, you saved me. Thanks,

MohamedAshraf-zsnv
Автор

Thanks mate, making a model for my thesis and was wondering why Jupyter was using my CPU instead of GPU for training the model. This was such a big help!

ultankearns
Автор

Oh my lord, thank you so much, i tried for 3 days to have my notebooks running on GPU, at the end i found you and your tutorial saved me. Thx from Italy!

andreipotra
Автор

Thanks God U are here on YouTube Otherwise i was Failed in ML PROJECT ❤️❤️❤️❤️

facebookandyoutubetrickess
Автор

Thank you. I was pulling my hair out with Ubuntu and windows. Fiddling with Python 3.8, CUDA liberties and dockers. This works right off the bat.

Arkarkyawwin
Автор

For me, Anaconda taking lot of time while installing the packages mentioned like tensorflow, tensorflow gpu and keras. Is its supposed to take a lot of time or having any issue?

harshadapatke
Автор

The pakages that are not installed do not show up. i do not understand why. please help, like if i search for "tensorflow " for the not-installed packages nothing shows up

d.sullivan
Автор

It helped a lot. Thank You. This is easier than doing it on anaconda prompt.

satish
Автор

I have NVIDIA genforce 940mx. I tried in both windows10 and ubuntu but it's not working. It's showing no. of gpus as 0 only. Can you help me out?

himanimadaan
Автор

Hey! thanks for this helpful tutorial.. however I have few ambiguities to ask:
1. I have already installed jupyter notebook in my system. Do I have to uninstall it and after configurating the environment, install again?
2. Won't it be problematic for our system if we enable GPU as default? If yes, Is there any option to turn on GPU for specific notebooks only?
Thank you in advance for your help!

ridamahmood
Автор

I didn’t know Intel had support for CUDA. Thank you.

StEvUgnIn
Автор

Hi, I followed each and every step, but the results I got after run the block of codes above is:
'''
Num GPUs Available: 0
2.10.0
'3.9.15 (main, Nov 4 2022, 16:35:55) [MSC v.1916 64 bit (AMD64)]'
'''
Could you please show me why this method doesn't work for me.

i am using NVIDIA GPU RTX 3060

shwetanshusood
Автор

Hi! I've done it and I get 1 avaibale GPU. But do I need to install CUDA and CUDNN? (I have an Nvidia GPU)

adriancanellaortiz
Автор

Not working for me..It's showing no. of gpus as 0 only

marcosbeliera
Автор

It's that KOF 96 theme in the background?

yezidalejandrogarciacabrej
Автор

It does not work with my laptop. The tensorflow-gpu library does not download, Conda stays loading for hours to download just that library.

robertbarrios
Автор

thanks dear . you tutorial work for 3080 nvidia gpu?

mohsenghafari
Автор

Does this method work for Intel Iris Xe Integrated Graphics? I have an 11th gen core i5-1135G7. I don't have a dedicated graphics card and I was hoping if the integrated graphics could be used.

yeahright
Автор

I am currently connected to a remote GPU, what would be the equivalent code for that?

yatharthm
Автор

Its been stuck at the installing packages for a while. How could I solve this issue?

Debertan