Python TensorFlow

I need to use TensorFlow to practice with training a Convolution Neural Network (Deep Learning).

Unluckily TensorFlow runs on NVIDIA GPU.

Mac has Intel h/w.

Has anyone tried to run TensorFlow on Mac? Is there a solution?

Thank you in advance,

Maura E.

MacBook Pro 16″, macOS 11.4

Posted on Jul 15, 2021 1:29 AM

Reply
8 replies

Jul 15, 2021 2:40 AM in response to K Shaffer

Thank you.

TensorFlow may run on Mac but at a price.

In the following, I am pasting the answer of an AI expert:

"Tensorflow also runs on machines without Nvidia GPUs. There all the computations are done on the CPU. Using the CPU for CNNs is ca. 50 times slower than running on an Nvidia GPU (depending on your CPU). That means that running serious training of deep networks with e.g. 1000 epochs gets very slow (e.g. 25 days vs 1/2 day). However, when using doing inference (applying a trained model to a single data set), using the CPU only is fine (but still slower than an Nvidia GPU)."

Jul 15, 2021 2:31 AM in response to mauede33


While not in my area of interest, did find some relevant details worth

further exploration among search results; these seem promising..


https://duckduckgo.com/?t=ffab&q=Python+TensorFlow+on+macOS&ia=web


• Install Tensorflow on MacOS - GeeksforGeeks

https://www.geeksforgeeks.org/install-tensorflow-on-macos/

TensorFlow is an open-source software library developed by the Google brain team.

It widely used to implement deep learning models which helps in solving real world

problems. In this article.. learn how to install TensorFlow on macOS using Homebrew.


Various older/newer versions of Python/TensorFlow are included in this search result.


While some results omit 'Python' others include that detail.

[Some links are glacierally slow on my old Mac here in AK.]


PS: didn't help the local GCI internet 'bundle' totally failed; so did my reply-upload

and I keyboarded to ether for 1/2 hr. ~ Finally after troubleshooting, it came back.


Jul 15, 2021 3:08 AM in response to mauede33

One or more of the links found in DDG search suggest TensorFlow

application can be run in new M1 Silicon Apple. And recent/new

models, 'SoC' system-on-chip hardware; & Intel-based Mac, too.


If I weren't running antiques here, I'd try M1 version.

(IF that's 'not ready for prime-time' ~ see Rosetta2.)


Early limitations have seen work-arounds, in recent macOS versions.


Jul 15, 2021 3:48 AM in response to K Shaffer

I appreciate your help.

I will go through all the material you suggested. I foresee a lot of sufferance from all the installations, dependencies, and testing.


At the time being, I am using the cloud available over the 3-weeks school covering, among the other topics, Deep Learning.

After completion of the school attendees will have to rely on personal resources.

Thank you

Jul 15, 2021 3:41 AM in response to mauede33

Never had my suggestions implied such a frivolous waste

of resources money or energies, as you've just stated here.


Use the search results page I've posted and read; without

even opening each of them beyond previews. Are you a

contrarian; just on kinda 'just-say-no' kick, etc? LOL😃


Reference first or second scrolling page, for recent details:

https://duckduckgo.com/?t=ffab&q=Python+TensorFlow+on+macOS&ia=web

..I'm done here and @ 2:42AM AKDT ~ will un-follow this discussion..


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Python TensorFlow

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.