How to Install TensorFlow GPU for Mac M1/M2 with Conda

preview_player
Показать описание

You can now install TensorFlow for GPU support with a Mac M1/M2 using CONDA. It is very important that you install an ARM version of Python. In this video I walk you through all the steps necessary to prepare an Apple Metal Mac for my deep learning course in TensorFlow.

Instructions

YAML File:

~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~ SUPPORT ME 🙏~~~~~~~~~~~~~~

0:37 Overview
1:25 Uninstall Old Python (optional)
3:37 Install Miniconda
6:09 Install Tools
6:43 Install Jupyter
6:55 Install Tensorflow
9:30 Register Jupyter Kernel
10:00 Test Tensorflow

Follow Me/Subscribe:

Рекомендации по теме
Комментарии
Автор

The only person from the whole internet who gave a working instruction upon how to install TensorFlow on Mac M1. Big thank you!

nulladdin
Автор

Thank you so much! I am a first semester PhD student and was struggling with the install. You made it so easy!

ryanmccune
Автор

You are a genius and Thank you, Jeff Heaton. I have been struggling to install Tensorflow for more than a month now!!

vswebsites
Автор

Dear Jeff, I just installed the program as is, following each step, on my brand new Mac Air M2. It worked perfectly, thanks so much and appreciate all the work that you put into creating the notebook in git hub and the video.

pabloaguirresolana
Автор

Not one of your students, but your videos constantly bail me out of snags I run into. Thanks for the content we really appreciate it and would love to have you on our podcast.

derekloyer
Автор

Thanks for your guidance. I initially struggled to install TensorFlow on my M1 Mac but could only do it after watching this video.

alexirabor
Автор

Thank you so much Prof! I'm a data science undergrad at Wash U. I've tried many other tutorials and this is the ONE! Great to see a Wash U prof on Youtube too. So cool!

zihancao
Автор

I bought a Mac one year back and trust me I had seen n number of videos on how to install keras, tensorflow in my Mac and to be able to use the GPU capability of my Mac but it is all in vain. I really thought it was a mistake to buy Mac as the intention is to use it for deep learning. This one lecture helped me to install correctly and am able to use GPU on my Mac. This is super helpful. Thanks a ton Jeff.

onlinemachinelearning
Автор

By far the best tutorial for getting tensorflow set up on Mac M1. However, the latest versions of tensorflow-macos and tensorflow-metal did not work. I had to install tensorflow-macos==2.9 and tensorflow-metal==0.5.0

jimjimjimjimjim
Автор

Thank you so much!!! I can't tell you how many times I have uninstalled and reinstalled tensorflow and anaconda. Thanks to the professor, I was able to solve the problem quickly. I really appreciate it.

aruesoft
Автор

I am not following your course, but recently I had to switch from Linux to Mac and this was really helpfull to me. Thanks a lot, specially the first part about downloading the right Miniconda/Anaconda.

viajeradelaluz
Автор

man i cant believe that worked. ive been working on this like 4 hrs and didnt get any results .but your solution just worked completely ! thanks alot

amirh-far
Автор

ive been trying to do this for weeks and this is the only tutorial that actually worked for me. i can finally go forward with my tensor flow machine learning projects thank you so much

rohanmahajan
Автор

8:20;
When I'm running that command on my M2 MacBook pro -> SpecNotFound: Invalid name 'tensorflow', try the format: user/package !

varunahlawat
Автор

This saved me! You're a computer science hero!

alrikschorling
Автор

I cannot thank you enough professor, I've been struggling to install tensor flow on my Mac for months now. Thank you so much for the insightful explanation, made my day!

MAHESHH-rkzq
Автор

Can’t thank you enough! Wish I ventured out to this video instead of wasting 5 hours of day.

bwaklog
Автор

Hi Jeff, thanks for the video. I'm from Brazil and I'm doing PhD in Deep Learning, I always watch your videos, thanks for the content.

veltoncardosopires
Автор

thank you legend! My eyes are watery when I finally see that "GPU is available". Being a rookie in DL and having a M1 at the same time is rough...

markxiangli
Автор

Just in case on M3 you got some errors with the new versions for keras, . 
Add
import keras
And replace print(f"Keras Version:
With
print(f"Keras Version: {keras.__version__}")
Then run and it will works.thank you @Jeff Heaton!!!

marcelbag