Sol-Attn: Accelerating Video Generation Inference via On-the-Fly Attention Sparsification
Abstract
Diffusion transformers are essential for high-fidelity video generation, but long token sequences make attention a dominant inference bottleneck. Training-free dynamic sparse attention alleviates this bottleneck by computing only selected key-value blocks, yet existing methods struggle to sparsify attention both efficiently and accurately for two reasons: (1) Rigid, unpredictable, and costly routing: selecting a fixed fraction of top-ranked blocks by proxy score imposes fixed budgets, whereas retaining blocks to reach a target cumulative proxy probability mass yields dynamic but potentially imbalanced budgets; both incur non-negligible overhead from computing and materializing proxy scores. (2) Lossy keep-or-drop sparsification: unselected blocks are discarded entirely, degrading accuracy under aggressive sparsity. These limitations motivate cheaper dynamic-budget routing while limiting accuracy degradation. In this paper, we introduce training-free Sol-Attn (Sparsifying online attention), which unifies dynamic routing, sparse computation, and approximation correction in a single online-softmax pass, achieving a better accuracy-efficiency trade-off in sparse attention. The core of Sol-Attn is on-the-fly block thresholding with proxy-score reuse, which selects critical blocks by comparing block proxy scores against a threshold during online softmax. This design enables dynamic yet controllable block budgets without materializing the proxy map, while directly reusing the proxy scores of unselected blocks to approximate their contribution. Experiments across image and video generation tasks show that Sol-Attn advances the quality-efficiency frontier of training-free sparse attention, delivering 2.1 times and 2.3 times end-to-end speedups for video generation and editing, respectively, while preserving visual quality.
Community
🚀 Sol-Attn is a training-free sparse attention method that accelerates video generation while better preserving quality.
Sol-Attn unifies dynamic routing, sparse computation, and approximate correction in a single online-softmax pass:
• On-the-fly block thresholding for dynamic yet controllable budgets
• Proxy-score reuse to approximate unselected blocks
Results (vs dense FlashAttention-3):
• Wan 2.1-14B: 2.02× end-to-end
• HunyuanVideo-13B: 2.12× end-to-end
• LTX 2.3: up to 2.4× end-to-end
When integrated into Sol-Engine (with kernel fusion + caching):
• Wan 2.1-14B: 3.48× end-to-end
• HunyuanVideo-13B: 5.08× end-to-end
Already available in Sol-Engine.
The B200 kernel is still under further optimization.
🎬 Project: http://nvlabs.github.io/Sana/Sol-Attn/
📄 Paper: https://arxiv.org/abs/2607.24027
🔗 Code: https://github.com/NVlabs/Sana/tree/sol-engine
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- ScalingAttention: Discovering Intrinsic Sparse Attention Topology for Video Diffusion Transformers (2026)
- HyperVAttention: Efficient Sparse Attention with Spatio-Temporal Clustering for Video Diffusion (2026)
- Chorus II: Cross-Request Sparsity Reuse for Efficient Image-to-Video Generation (2026)
- FVAttn: Adaptive Sparse Attention with Runtime Load Balancing for Video Generation (2026)
- Sol Video Inference Engine: Agent-Native Full-Stack Acceleration Framework for Efficient Video Generation (2026)
- MiniMax Sparse Attention (2026)
- You Only Index Once: Cross-Layer Sparse Attention with Shared Routing (2026)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper