M1 and AMD GPU support. I'm personally more interested in the latter as I haven't yet upgraded my MacBook Pro and I expect that my Vega 20 to be faster than M1 at ML training. The raw compute power of M1's GPU seems to be 2.6 TFLOPS (single precision) vs 3.2 TFLOPS for Vega 20. This can give you an estimate of how fast it would be for training. Just for reference Nvidia's flagship desktop GPU(3090)'s FP32 performance…
So Apple would need 16x its GPU Core, or 128 GPU Core to reach Nvidia 3090 Desktop Performance. Or roughly 480mm2 Die Size, 192W TDP excluding memory controller and interconnect. Doesn't look too bad for Nvidia, especially when you consider 3090 is still on Samsung 8nm, which is equivalent to TSMC 10nm, compared to 5nm on Apple M1.
Apple M1 support for TensorFlow 2.5 pluggable device API
51–60 of 124 posts
Re: Apple M1 support for TensorFlow 2.5 pluggable device API
#52Re: Apple M1 support for TensorFlow 2.5 pluggable device API
#53I find the benchmarks confusing. If we normalize, is Apple close to beating Nvidia?
It is then supposed that with enough stacking, apple could get close to a dedicated GPU performance.
However this is speculative.
Re: Apple M1 support for TensorFlow 2.5 pluggable device API
#54https://github.com/tensorflow/tensorflow/releases/tag/v2.5.0 (Linked from Apple's article) Wow, that list of CVEs is 110 lines.
Re: Apple M1 support for TensorFlow 2.5 pluggable device API
#55Earlier quoted context omitted.
`pip install --upgrade pip` fixed this for me. (not in tensorflow directly, but while installing something else on my M1 last week which required numpy)
OK, so we’re in mid-2021, why is installing Python THAT HARD? I think the only reason Node is so popular is because it JUST WORKS. Windows, Mac, doesn’t matter. One-click installer and you got NPM as well and access to thousands of packages.
Re: Apple M1 support for TensorFlow 2.5 pluggable device API
#56Earlier quoted context omitted.
`pip install --upgrade pip` fixed this for me. (not in tensorflow directly, but while installing something else on my M1 last week which required numpy)
OK, so we’re in mid-2021, why is installing Python THAT HARD? I think the only reason Node is so popular is because it JUST WORKS. Windows, Mac, doesn’t matter. One-click installer and you got NPM as well and access to thousands of packages.
I've also had to use nvm to install an old version of NPM for a specific project because otherwise one of the NPM dependencies couldn't compile a certain C++ executable that I apparently needed? There was also an incompatibility with some binary that another dependency downloaded that required me to mess with soft links to libraries in specific places.
I don't think either NPM or PIP are inherently hard to use as long as you keep them updated (which is exactly what the parent comment is suggesting to do) and as long as you don't need binary dependencies. When you end up in binary territory, which this type of software eventually will, you'll run head-first into stuff that requires arcane commands to get stuff to run.
Re: Apple M1 support for TensorFlow 2.5 pluggable device API
#57Earlier quoted context omitted.
Kinda silly to use Rosetta when the whole point of this is native support for TensorFlow on M1.
Maybe, but lots and lots of software applications are not even close to being hardware constrained or in this specific case Rosetta constrained. If you're trying to get work done and you have the computational overhead available, this absolutely sounds like the right solution. Even if it's less efficient, I can easily imagine situations where "I need this to work without thinking about it" could win out.
Re: Apple M1 support for TensorFlow 2.5 pluggable device API
#58Earlier quoted context omitted.
I run everything python under Rosetta. Easiest way is to install home brew for Intel processors then make an alias to that version for managing rosetta stuff
> I run everything python under Rosetta. So basically the software that you require to run and do your work is still not available for Apple Silicon? In this case, Apple Silicon support for Python libraries. The whole point of Apple Silicon is to supersede its Intel Mac counterparts and to run software natively with a noticeable performance increase, especially with software with high performance requirements. In the…
Re: Apple M1 support for TensorFlow 2.5 pluggable device API
#59https://github.com/tensorflow/tensorflow/releases/tag/v2.5.0 (Linked from Apple's article) Wow, that list of CVEs is 110 lines.
Re: Apple M1 support for TensorFlow 2.5 pluggable device API
#60I have found the M1 air fine for web browsing but kind of hard to install software on. Following the instructions: ----- python -m pip install tensorflow-macos ... ERROR: Failed building wheel for numpy Failed to build numpy ERROR: Could not build wheels for numpy which use PEP 517 and cannot be installed directly ----- (base) dave@daves-air ~ % uname -a Darwin daves-air.lan 20.5.0 Darwin Kernel Version 20.5.0: Sat M…
I would love to hear more from other devs regarding where we're at with M1 for development. How is Node/React development, for example. Last I heard, Postgres was good to go on native M1. I know Node 14 is good natively. Are there commonly encountered problems? I hate my 2017 MBP and am desperate to upgrade.