Masked diffusion LLM on AMD XDNA2 NPU: 1.67x faster, 8.9x better energy than CPU

PyTorch · x · 2026-10-19

PyTorch officially previewed a PyTorchCon NA 2026 poster: AMD's Ravi Gupta, Shiksha Patel, and Rishi Madduri present efficient inference of masked diffusion language models on the AMD XDNA2 NPU. On a Ryzen AI MAX+ 395 APU at sequence length 128, the NPU path ran 504 ms per forward at 36 W vs 843 ms at 110 W for CPU INT4 — 1.67x faster and 8.9x better on energy. The poster also covers the INT4 quantization and graph-partitioning pipeline, the CastAvx fix, and the runtime approach for single-step prefill on the NPU. Rare real-world data on deploying diffusion LLMs on edge NPUs.

Original post →

More from Infra

Infra channel →