Comparison of the Usability of Apple M2 and M1 Processors for Various Machine Learning Tasks

Sensors (Basel). 2023 Jun 8;23(12):5424. doi: 10.3390/s23125424.

Abstract

Thispaper compares the usability of various Apple MacBook Pro laptops were tested for basic machine learning research applications, including text-based, vision-based, and tabular data. Four tests/benchmarks were conducted using four different MacBook Pro models-M1, M1 Pro, M2, and M2 Pro. A script written in Swift was used to train and evaluate four machine learning models using the Create ML framework, and the process was repeated three times. The script also measured performance metrics, including time results. The results were presented in tables, allowing for a comparison of the performance of each device and the impact of their hardware architectures.

Keywords: Apple M1; Apple M2; CoreML; NPU benchmark; deep learning; machine learning; neural engine; neural processing cores; neural processing unit; processor architectures.

MeSH terms

  • Computers
  • Machine Learning
  • Malus*

Grants and funding

This research received no external funding.