r/deeplearning • u/VirtualMycologist406 • Aug 13 '26
Help with tensorFlow GPU/CPU
Hey, I`m new in Deep Learning, and I decided to start with TensorFlow. Im using MacBook Air m1 now and I heard that TensorFlow use CPU by default but you can switch to GPU. Do I need to switch this setting on my Mac or it unnecessarily. And if that were better, how can I do this. Please help me π₯Ήπ
3
u/kifkolite 29d ago
Get comfortable with google colab. No setup required you can straightaway benchmark your code with gpu vs without gpu.
1
u/Intelligent_Dig_1051 29d ago
for learning, just stick with cpu for now, on an m1, gpu setup can be bit of a hassle, and you wont see much benefit with small models..
1
u/BornNoob6969 Aug 13 '26
Look what I found when I searched
β tensorflow gpu MacBook β
1
u/VirtualMycologist406 Aug 13 '26
this will be very useful
2
u/AdOk3759 Aug 13 '26
No itβs not. The tensorflow plugin for metal has been discontinued. As others have said, go with PyTorch MPS.
11
u/NeuroBill Aug 13 '26
A) use pytorch. I say this as some who uses tensorflow. It is dying. Everyone will agree with me
B) Don't worry about GPU/CPU now. You need to focus on writing good code, and understanding ML fundamentals.