The Mac Studio equipped with the M3 Ultra chip has demonstrated significant capabilities in local large language model (LLM) training and inference, particularly when utilizing Apple's MLX framework. While specific documented cases of distributed LLM training using MLX on the Mac Studio M3 Ultra are limited, several successful implementations highlight its potential:
-
Local LLM Training on Apple Silicon: A project titled "Local LLM Training on Apple Silicon" showcases the fine-tuning of the Llama3 model on an Apple Silicon device using MLX and the Metal API. This endeavor overcame the absence of CUDA support, resulting in a privacy-preserving chatbot capable of efficiently solving complex mathematical word problems. The project utilized 16 GPUs, indicating the Mac Studio's capacity for handling substantial computational tasks[1].
-
Running Large AI Models Locally: The Mac Studio with M3 Ultra has been reported to run extensive AI models like DeepSeek R1 locally. Configurations with up to 512GB of unified memory enable the execution of large models, such as the 671 billion parameter DeepSeek R1, achieving approximately 17-18 tokens per second. This performance is notable for local processing and underscores the Mac Studio's suitability for AI development[2].
-
MLX Framework Enhancements: Apple's MLX framework has been instrumental in optimizing AI workloads on Apple Silicon. For instance, the 'mlx-graphs' project has achieved up to tenfold speed improvements in training Graph Neural Networks on Apple Silicon by leveraging dedicated kernels that parallelize computations on the M-series GPU[3].
While these examples primarily focus on local training and inference, discussions within the MLX community indicate ongoing efforts to support distributed inference across multiple Apple Silicon devices. A GitHub issue highlights the challenges posed by increasing model sizes and the potential for distributing inference tasks across multiple Macs connected via high-speed interfaces like Thunderbolt[4].
In summary, the Mac Studio M3 Ultra, in conjunction with the MLX framework, has proven effective for local LLM training and inference. Although specific cases of distributed LLM training using MLX on this hardware are not extensively documented, the existing successes and ongoing community discussions suggest a promising trajectory for such applications.