Profiling Apple Silicon Performance for ML Training

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Feng, Dahua, Xu, Zhiming, Wang, Rongxiang, Lin, Felix Xiaozhu
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910802200494080
author Feng, Dahua
Xu, Zhiming
Wang, Rongxiang
Lin, Felix Xiaozhu
author_facet Feng, Dahua
Xu, Zhiming
Wang, Rongxiang
Lin, Felix Xiaozhu
contents Apple Silicon has attracted much attention for its performance and role in machine learning (ML) training. Unlike NVIDIA GPUs, which have traditionally dominated ML training, Apple Silicon has a significant difference in memory architecture. It uses Unified Memory, which integrates CPU and GPU memory instead of separate CPU memory and GPU VRAM. However, it is difficult to tell whether Unified Memory means more performance benefits. This paper investigates the performance differences by training several large language model (LLM) workloads end-to-end under different memory scenarios. The results show a significant performance gap between Apple Silicon and NVIDIA GPUs. This paper attributes this gap to system-level factors such as page faults, power consumption, and kernel launch time. In addition, the performance difference of basic linear algebra subprograms (BLAS) on the NVIDIA GPUs and Apple Silicon chips is analyzed to further explain the observed gap.
format Preprint
id arxiv_https___arxiv_org_abs_2501_14925
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Profiling Apple Silicon Performance for ML Training
Feng, Dahua
Xu, Zhiming
Wang, Rongxiang
Lin, Felix Xiaozhu
Performance
Apple Silicon has attracted much attention for its performance and role in machine learning (ML) training. Unlike NVIDIA GPUs, which have traditionally dominated ML training, Apple Silicon has a significant difference in memory architecture. It uses Unified Memory, which integrates CPU and GPU memory instead of separate CPU memory and GPU VRAM. However, it is difficult to tell whether Unified Memory means more performance benefits. This paper investigates the performance differences by training several large language model (LLM) workloads end-to-end under different memory scenarios. The results show a significant performance gap between Apple Silicon and NVIDIA GPUs. This paper attributes this gap to system-level factors such as page faults, power consumption, and kernel launch time. In addition, the performance difference of basic linear algebra subprograms (BLAS) on the NVIDIA GPUs and Apple Silicon chips is analyzed to further explain the observed gap.
title Profiling Apple Silicon Performance for ML Training
topic Performance
url https://arxiv.org/abs/2501.14925