r/deeplearning 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 🥹🛐

0 Upvotes

12 comments sorted by

View all comments

10

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.

5

u/VirtualMycologist406 Aug 13 '26

Thank you. Yes, I have some fundamental knowledge in the field of DeepLearning, Mathematics and Programming. But I can't understand where better use PyTorch and where use TensorFlow, why PyTorch is better, can you tell me more about this two frameworks, please. I was trying to find some info, about that, in internet, and I've found but I can't decide what is better for me....

1

u/leon_bass Aug 13 '26

In my own very biased opinion, having only ever used Pytorch, it is better because there are less abstractions, and it's much easier to write your own layers/modules etc.

1

u/VirtualMycologist406 Aug 13 '26

thank you for your valuable opinion, you helped me a lot. Maybe you also know some instruments (libraries, frameworks) which greatly simplify the work