Setup Mac for Machine Learning with TensorFlow in 13 minutes (works for all M1, M2)

preview_player
Показать описание
Setup your Apple M1 or M2 (Normal, Pro, Max or Ultra) Mac for data science and machine learning with TensorFlow.

In this video, we install Homebrew and Miniforge3 to create a Conda environment containing pandas, NumPy, Scikit-Learn, Matplotlib, Jupyter and TensorFlow.

We'll also setup TensorFlow to leverage the GPU on the new M1 chips.

Links:

Connect elsewhere:

Timestamps:
0:00 - Intro
0:30 - What we're covering
1:00 - All resources are on GitHub
1:25 - Downloading and installing Homebrew
2:45 - Downloading and installing Miniforge3
4:25 - Restart terminal for changes to take effect
4:57 - Creating a directory to test out TensorFlow
5:30 - Creating a Conda environment for machine learning experiments
7:12 - Installing TensorFlow dependencies for Mac from Apple's Conda channel
8:40 - Installing tensorflow-macos
9:15 - Installing tensorflow-metal so you can run TensorFlow on your Mac's GPU
10:30 - Installing tensorflow-datasets (optional)
10:50 - Installing standard data science packages (Jupyter, NumPy, pandas, Matplotlib, Sklearn)
11:15 - Starting a Jupyter Notebook
11:40 - Testing importing different libraries and seeing if TensorFlow has GPU access

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

This is the best environment setup tutorial I've ever seen. I just got my personal MacBook Air M1 ~30 min ago and I'm already up and running with TF on the GPU. Well done, sir!

D
Автор

First time using MacBook and that's an M4 Pro. Your tutorial works perfectly! Thank you so much

sanumioluwafemi
Автор

WOW!! Speechless literally I was just about to give up and start doing Machine Learning on my old pc if it were not for this I would have been coding on a toaster.
Thank you Daniel very though rough video and very helpful.

jimmye
Автор

Thanks Daniel! After trying multiple other tutorials I was going to give up, but I got TensorFlow working with this tutorial!

BradenLimb
Автор

Thank you Daniel! I bought the M1 MBP so that I could learn and experiment. Successfully installed and tested TensorFlow-metal. Enrolled in your TemsorFlow Developer Certificate course. Great course, great explanations of concepts and exercises!

OtRatsaphong
Автор

You are a life saver man! Had been stuck trying to get tensor flow working on my m1(I'm new to Python and ML) and after trying out countless ways I finally found your video. Thanks a ton!

irshadgirach
Автор

There are dozens of videos that I have not been able to utilize, this one is so useful. Thank you!

GangstTheEr
Автор

Thank you very much. I was trying to install tensorflow for two days, i couldn't find any way, your video solved my problem. Thank you very very much.

karanhadiyal
Автор

amazing, I tried to get all this installed for the last few days and failed, with the video it was so easy. Thank you so much!

sportherz
Автор

You saved my £1500 man i was about to break my mac pro and wanted to get windows
You are such a beauty thank you very much everything worked on my mac

maheemahee
Автор

Thank you so much daniel....i have been trying from the past 4 months to install tensorflow on mac....this really helped me a lot :-))

saigowthambabuamburi
Автор

Still waiting on my M1 Max to show up after ordering the week after the release. Thanks for these videos. Would love to see more about how you setup you dev environment in general.

GuyThompsonFWTX
Автор

Dear Sir,I am an international student at UOM,and I was doing preview for the 2nd year study,your video helped me a lot on tensorflow!!thank you!

chenzihao
Автор

and now my M2Pro chip comes to life in tensorFlow. Thanks a million, man!!

edhead
Автор

Literally the only guide on the whole internet that actually works

maximbeekenkamp
Автор

Thanks this worked better than the other solutions I've seen on YouTube

bacon_sammich
Автор

gone through many tutorials but found this one the best....and works, , so, I am subscribing you...

_dhyaneshdikkar
Автор

Thanks! These instructions worked on M3 Pro as well! You saved my day!

kunupat
Автор

thanks a lot for this video, i tried many diff videos on yt and yet none of them worked but i successfully installed tf using ur video, really glad i fond this video

shouryabhosale
Автор

absolute banger video mah man, may i suggest to change the thumbnail? I opened this after several others and it was BY FAR THE BEST -- from all aspects.

shauryakansal