dit.xpu : Taming DiT Sparse Inference on Mobile SoCs
Jiayu Chen, Jinye Hu, Maoliang Li, Anqian Cen, Hailong Zou, Zihao Zheng, Xinming Wei, Guojie Luo,
Key points
From the paper's conclusion- We present DiT.XPU, a sparse DiT inference framework for heterogeneous mobile SoCs.
Abstract
Diffusion Transformers (DiTs) enable on-device image generation and editing but incur high attention costs at high resolutions. Existing sparse attention reduces computation, yet dynamic sparsity introduces preprocessing and irregular data accesses that poorly fit mobile NPUs. We present DiT.XPU, a sparse DiT inference framework for heterogeneous mobile SoCs. DiT.XPU combines tile-aligned sparse attention with anchor-based error compensation by exploiting slowly varying dense-sparse output residuals across denoising steps. Heterogeneous XPU collaboration overlaps NPU dense attention with GPU sparse calibration, while mask-guided dataflow reduces data transfers and layout conversion by overlapping data movement with computation. Across five DiT models on two Snapdragon smartphones, DiT.XPU achieves up to 1.56x end-to-end denoising speedup over the Hexagon-NPU backend and 11.5x attention-kernel speedup over the fastest alternative, while preserving generation quality close to dense attention. Code is available at https://github.com/IF-LAB-PKU/dit.xpu.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- MoDDiT: Simple Token Routing in Diffusion TransformersarXiv · 2026
- Sink-Sparse Hybrid Attention for Efficient Inference in T2I/T2V Diffusion TransformersarXiv · 2026
- Phantom: Temporal Caching for Diffusion ModelsarXiv · 2026
- iCATS: Fast Video Generation via Interaction-Aware Sparse Attention and Timestep-Adaptive SparsityarXiv · 2026
- Layerwise Error Attribution for Fast and Robust Mixed-Precision Post-Training QuantizationarXiv · 2026
- Multiobjective Evolutionary Diffusion Transformer Acceleration.IEEE transactions on cybernetics · 2026