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

Sensors (Basel). 2022 Oct 20;22(20):8005. doi: 10.3390/s22208005.

Abstract

In this paper, the authors have compared all of the currently available Apple MacBook Pro laptops, in terms of their usability for basic machine learning research applications (text-based, vision-based, tabular). The paper presents four tests/benchmarks, comparing four Apple Macbook Pro laptop versions: Intel based (i5) and three Apple based (M1, M1 Pro and M1 Max). A script in the Swift programming language was prepared, whose goal was to conduct the training and evaluation process for four machine learning (ML) models. It used the Create ML framework-Apple's solution dedicated to ML model creation on macOS devices. The training and evaluation processes were performed three times. While running, the script performed measurements of their performance, including the time results. The results were compared with each other in tables, which allowed to compare and discuss the performance of individual devices and the benefits of the specificity of their hardware architectures.

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

MeSH terms

  • Computers
  • Machine Learning
  • Malus*

Grants and funding

This research received no external funding.