# PyTorch 2.13: FlexAttention on Apple Silicon, 4x Memory Savings, Upgrade Guide

> Source: <https://byteiota.com/pytorch-2-13-flexattention-on-apple-silicon-4x-memory-savings-upgrade-guide/>
> Published: 2026-07-13 00:12:49+00:00

PyTorch 2.13 shipped July 8 with changes worth acting on before your next training run. FlexAttention now has native Metal support on Apple Silicon — up to 12x faster than SDPA on sparse patterns. A new fused loss function cuts peak GPU memory 4x for large-vocabulary LLM training. And two APIs got renamed, with one feature set hard-removed. Here is what to check before upgrading. FlexAttention on Apple Silicon: Finally a Reason to Train on MPS If you have been running inference on an M-series Mac but sending training jobs to a cloud GPU, PyTorch 2.13 gives you a reason […]

The post
