LFM2.5-8B-A1B inference speeds increased from 23.6 to 123.6 tokens per second on Mac hardware after the release of PyTorch 2.15. The update boosts Mixture of Experts (MoE) decoding by 5 to 6.5 times compared to version 2.14 and accelerates softmax over a 128k vocabulary by approximately 8 times. Peak driver memory for Wan2.2 VAE decoding also fell from 270 GiB to 8 GiB in the latest version.
The performance gains result from the PyTorch team at Hugging Face replacing MPSGraph paths with Metal kernels to better optimize Apple silicon. Along with these speedups, the update introduces FP8 dtype support for Metal Performance Shaders (MPS) and improves linear algebra support. The team is currently developing version 2.16 to further increase execution speeds.
