﻿# MLX fine-tuning across M3 Ultras: batch scaling, topology and the demo boundary

Apple’s distributed MLX session reports a fine-tuning demonstration across four Macs. Gradient averaging and a larger global batch differ from model sharding.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/mlx-m3-ultra-distributed-finetuning-global-batch-topology-demo/
Language: en

Apple’s [distributed MLX session](https://developer.apple.com/videos/play/wwdc2026/233/) demonstrates moving from a single M3 Ultra to a cluster of four. It covers inference, model sharding and fine-tuning, but those examples use different forms of parallelism. The fine-tuning result should be read as a particular data-parallel demonstration, rather than evidence that every training job scales in the same way.

## The communication stack matters

The session describes RDMA over Thunderbolt 5 starting with macOS 26.2, JACCL as the collective communication layer, and MLX above it. A local network and SSH coordinate launching; the described data path between Macs uses the Thunderbolt links. The launch host is not automatically another training worker.

Topology changes the balance between fixed communication latency and transfer time. The presentation explains a fully connected mesh for low-latency communication and a ring with fewer peer connections and possible parallel cables for large transfers. Those properties matter because gradient averaging and per-layer tensor exchange send different message patterns. A cable count alone does not predict application speed.

## Fine-tuning uses replicated models

In the demonstrated data-parallel workflow, each machine has a model replica, processes different examples and contributes gradients to an average. This spreads the data computation. It does not divide the model’s parameters across machines in the way that the session’s tensor-parallel inference example does.

For Qwen3.5-9B fine-tuning, the published command changes the global batch size from 4 on the single machine to 16 on the cluster. That preserves the number of examples processed by each worker per step. It also changes the total examples represented in an optimizer step. Matching training quality therefore needs its own learning-rate, update-count and evaluation record; token throughput alone does not establish equal optimization behavior.

## What the demonstration reports

The narration reports approximately 180 training tokens per second on one M3 Ultra and 600 across the cluster. These are attributed demonstration figures, rather than measurements independently repeated here. They show a throughput improvement in that presented setup, without providing a complete confidence interval, energy comparison or time-to-target-quality study.

The session’s separate Qwen3.6 inference example and large-model capacity example cannot supply missing fine-tuning conditions. Pipeline and tensor parallelism have different communication and memory behavior from replicated data parallelism. The [multi-GPU guide](/journal/multi-gpu/) explains this distinction at the workload level; the same conceptual separation remains useful across Macs.

## Confirm that a distributed group actually exists

The [MLX documentation](https://ml-explore.github.io/mlx/build/html/usage/distributed.html) describes backend selection and launch behavior. A distributed operation can become a no-op in a singleton group; permissive backend selection can fall back to that group if no distributed backend initializes. Successful script execution alone therefore does not prove that the intended workers participated.

A reproducible record should retain actual group size, chosen backend, host topology, model and data versions, batch interpretation and synchronized timing. The [software environment guide](/journal/software-stack-reproducibility/) explains why those settings belong with the result. The demo supports a concrete route to faster local fine-tuning with more devices, while a production comparison still needs equivalent quality, memory and completion criteria.
