The PyTorch team at Hugging Face has released version 2.15, introducing significant performance enhancements for Apple silicon users via the MPS backend. The update brings FP8 precision support, substantial speedups for Mixture-of-Experts (MoE) model decoding, and critical memory optimizations for video generation workflows.

What Happened

PyTorch 2.15 adds native support for torch.float8_e4m3fn tensors on MPS, allowing users to store values in half the space of BF16 and utilize scaled matrix multiplication directly on the GPU. For language models, the release implements native grouped matrix multiplication for MoE layers, resulting in decoding speeds 5–6.5× faster than version 2.14. On an M3 Ultra chip with torch.compile, the Qwen3.6-35B-A3B model’s throughput increased from 9.4 to 61.3 tokens per second, while LFM2.5-8B-A1B jumped from 23.6 to 123.6 tokens per second.

The update also addresses memory efficiency in video generation. By moving constant padding operations to dedicated Metal kernels, the peak driver memory required for decoding a video with Wan2.2’s tiled VAE dropped from approximately 270 GiB to 8 GiB. Additionally, softmax operations over large vocabularies are now about 8× faster, and new linear algebra kernels support complex LU factorization and faster QR decomposition. The release also introduces public MPS streams for better control over work execution from Python.

Why It Matters

These improvements lower the barrier for running and fine-tuning large models locally on Mac hardware. The reduction in memory usage for video decoding makes high-resolution video generation feasible on consumer-grade Macs, while the FP8 support allows for more efficient weight storage and inference. For developers using tools like ComfyUI, transformers, or diffusers, the update resolves previous issues such as image corruption in Qwen-Image-2.1 editing workflows and significantly accelerates local LLM interactions. The shift from MPSGraph to dedicated Metal kernels represents a continued effort to make the Mac a first-class platform for PyTorch development.

The Bottom Line

PyTorch 2.15 requires macOS 15 or later and Python 3.11 or later for MPS support. The release marks a major step in optimizing Apple silicon for AI workloads, with further improvements to attention mechanisms and LLM decoding already underway for version 2.16.