arXiv:2610.39029cs.DCOct 2026

Manuscript Offprint

arXiv:2610.39029

MCCL: Training Pytorch models across a fleet of Macs at Skywalker Sound

Kevin Sasso, Chris Fiegel, Francis Aitken, Nicolas Tsingos, Nicholas Tong

ABSTRACT

Skywalker Sound, a premier audio post-production facility, operates more than 200 M4 Max Mac Studios on a 10 Gb Ethernet network. When not in use by artists, these machines sit idle, representing massive untapped unified memory and compute capacity. While these fleets are excellent candidates for distributed machine learning alongside existing NVIDIA GPU clusters, PyTorch lacks an accelerated distributed backend for Apple’s Metal Performance Shaders (MPS). To bridge this gap, we introduce the Metal Communication Collective Library (MCCL), the first open-source MPS backend for multi-node PyTorch training over switched Ethernet. We evaluate its performance and scalability across 24 nodes, demonstrating that large all-reduce operations reach 98–99.7% of TCP goodput. Training a 113.5M-parameter Vision Transformer (ViT) scales from 198 to 4,568 samples/s, achieving 95.9% parallel efficiency. Benchmarked against an NVIDIA A100 GPU, one M4 Max Mac equals roughly 1.7× the throughput of FP32 matrix multiplication, and 5.5 Macs match an A100 using TF32. Harnessing 100 idle Macs for 12 hours nightly offsets approximately $200,000 annually in equivalent cloud compute costs. Our results demonstrate that existing Mac infrastructure can be seamlessly repurposed for high performance distributed training without abandoning the standard PyTorch codebase.

1 INTRODUCTION

Skywalker Sound, the renowned audio post-production facility behind the iconic soundtracks of Star Wars, Jurassic Park, Indiana Jones and many others, operates more than 200 Apple M4 Max Mac Studios (40-core GPU, 128 GB unified memory) on a single 10 Gb Ethernet network backed by central ZFS storage. By day, they operate as Digital Audio Workstations to create soundtracks; by night, we estimate that at least 100 of them sit idle for 12 hours, representing 438,000 Mac-hours a year.

Our machine learning team builds custom audio models for tasks such as stem separation, denoising, and upmixing, and trains them mostly on NVIDIA GPU clusters that are shared across teams and often fully booked. We wanted to use the idle Macs for exploratory prototyping and longer overnight training runs, with the same PyTorch code we run on our GPU clusters. PyTorch, however, has no distributed backend for MPS tensors, and its CPU backend, Gloo, works only if gradients are copied to CPU memory by hand, which stalls the GPU on every exchange (Section 2). Apple-specific frameworks such as MLX provide their own collectives, but adopting one would mean maintaining a second codebase.

To fill this gap, we created MCCL (https://github.com/mps-ddp/mccl), an open-source ProcessGroup that registers as backend="mccl" and runs our unmodified models under PyTorch Lightning and Ray. Prior distributed ML on Apple silicon runs over Thunderbolt. It includes inference across meshes of four to six machines (Katharopoulos, 2025; exo labs, 2024; MLX contributors, 2026; crystech, 2026) and, as the largest training result we are aware of, a 1.7M-parameter model trained with MLX on 16 Mac minis cabled into a Thunderbolt ring (van der Ouderaa et al., 2025). The prior multi-Mac PyTorch training we found used three machines (jasonappah, 2026). Our evaluation uses 24 Mac Studios on a switched network, with models of up to 113.5M parameters. MCCL lets our team run the same training jobs across all the accelerator hardware we already own, which matters as GPU capacity, both on our own clusters and in the cloud, remains contended and expensive. We expected the 10 Gb network to be the main obstacle, but a pipelined TCP ring reached 98–99.7% of TCP goodput early in development, and most of our effort went instead into the handoff between CPU and GPU (Section 4). With 100 machines idle each night, the fleet provides roughly 18 A100 GPUs' worth of training capacity at little added cost, or about $200,000 a year in equivalent cloud compute.¹

¹Skywalker Sound, Nicasio, California, USA. Correspondence to: Kevin Sasso ksasso@skysound.com.

¹Assumes 100 Mac Studios idle 12 hours a night (438,000 Mac-hours a year), one A100 with TF32 matmul matching about 5.5 Macs on our ViT benchmark (Section 5.2), and AWS EC2 Capacity

Figure

Figure 1. One MCCL training step on a Mac Studio node: audio batches stream from ZFS storage, forward and backward run on the MPS GPU in unified memory, and MCCL averages each finished gradient bucket in place across peers while the GPU keeps working.

This paper makes four contributions.

  • MCCL, an open-source PyTorch ProcessGroup for MPS tensors over switched Ethernet, which runs unmodified DistributedDataParallel code under PyTorch Lightning and Ray (Section 4).

  • An in-place handoff design for unified memory, in which CPU threads reduce MPS gradient buckets directly while backward computation continues, and per-bucket Metal shared events enforce the ordering that prevents races without synchronizing the entire GPU (Section 4).

  • An evaluation on 24 Mac Studios, to our knowledge the largest reported distributed PyTorch training on Apple silicon, showing all-reduce at 98–99.7% of TCP goodput, about 94% of communication overlapped with backward computation, and 95.9% scaling efficiency on a 113.5M-parameter ViT (Section 5).

  • Lessons from scaling past two nodes, including a buffer-reuse race that disappeared whenever we added a print(), a ring-ordering deadlock, and a silent gradient bug in PyTorch's MPS reflect-padding kernel that affects STFT losses on long audio (Section 6).