Launched in November 2020, Apple M1 was a revolution in the world of computers dominated by Intel. These new M1 Macs showed impressive performance in many benchmarks as M1 was faster than most high-end desktop computers for only a fraction of their energy consumption.
Here are my previous benchmarks for the M1:
In January 2023, Apple announced the new M2 Pro and M2 Max. Their specs let us expect good performance increases, especially regarding the GPU.
This M2 Max has 30 GPU cores, so we estimated the 10.7 TFLOPS from the 13.6 TFLOPS of the 38 GPU cores version.
By comparison, the M2 Max 38 Cores GPU reaches 13.6 TFlops. My test below will show that the TFlops alone cannot be used to estimate the actual performances of these GPUs.
To get comparable results, I run every test with the default TensorFlow FP32 floating point precision.
You can verify this precision by running :
On M1 and M2 Max computers, the environment was created under miniforge. Only the following packages were installed:
conda install python=3.10
conda install tensorflow