Performance and cost
PyTorch 2.15 Brings FP8 and Much Faster MoE Decoding to Apple's MPS Backend
Hugging Face's PyTorch team details PyTorch 2.15 for Apple MPS: FP8 tensors on Mac, 5-6.5x faster MoE decoding, and Wan2.2 video VAE decode peak memory cut from 270 GiB to about 8 GiB.
Hugging Face's PyTorch team has published an overview of what PyTorch 2.15 changes in the MPS backend for Apple silicon. The team says one of its focus areas is making the Mac a first-class place to run and train PyTorch models; at the start of 2026, it notes, running even small models on MPS often meant working around unsupported operations, performance cliffs and unexpected memory growth. Much of the new work replaces MPSGraph paths with dedicated Metal kernels, done with PyTorch maintainers and community contributors.
The headline addition is FP8 on the Mac. PyTorch 2.15 supports torch.float8_e4m3fn tensors on MPS, one byte per value and half the storage of FP16 or BF16, and F.scaled_mm can multiply them on the GPU with tensorwise or rowwise scaling.
Language-model decoding gets the largest practical gains. During decode each new token passes through the model as a single row, turning large matrix multiplications into matrix-vector products. According to the post, GEMV kernels that previously served torch.mm are now wired into F.linear, yielding a 1.23x geometric-mean speedup across 96 BF16 layer shapes from real models. Mixture-of-experts layers get a native grouped matmul: group offsets are read directly on the GPU instead of being copied to the CPU and looped over.
Measured on an M3 Ultra with torch.compile, the authors report Qwen3.6-35B-A3B rising from 9.4 to 61.3 tokens/s and LFM2.5-8B-A1B from 23.6 to 123.6 tokens/s, with MoE models decoding 5-6.5x faster than in 2.14. Softmax and log_softmax move to dedicated Metal kernels as well; an FP32 softmax over a 128,256-entry logits row drops from 57 microseconds to 7.
Memory behavior improves sharply for video. Wan2.2's tiled VAE decode makes 8,764 padding calls over a 28-tile decode; moving constant padding to Metal cuts peak driver memory from about 270 GiB to about 8 GiB, the post says. The same fix repairs Qwen-Image-2.1's VAE encoder, which silently corrupted images on MPS in 2.14, raising encode-decode PSNR against CPU from 10.06 dB to 29.95 dB.
Several linear-algebra and training paths also move to Metal: complex64 LU factorization, LU solve and triangular solve; batched FP32 inverses up to 4x4 in one kernel; blocked QR; a dedicated fast path for Gated DeltaNet's 16x16, 32x32 and 64x64 triangular systems; plus new kernels for conv1d forward, reflection and replication padding, out-of-place dropout, upsampling backward and channels-last conv2d backward. PyTorch 2.15 requires macOS 15 or later and Python 3.11 or later, and exposes torch.mps.Stream from Python.
The post previews 2.16: committing the command buffer every 16 kernels so the GPU starts earlier, attention running entirely on Metal without MPSGraph, and shaders built for Metal 3.1 by default, shrinking libtorch_cpu.dylib from about 384 MiB to 287 MiB. These figures are the authors' own measurements from a single blog post and have not been independently reproduced. The practical implication is that local Mac inference for MoE and video-generation workflows should become considerably more viable, though FP8 gains depend on models shipping compatible weights.