SLA: Beyond Sparsity in Diffusion Transformers via Fine-Tunable Sparse-Linear Attention
On the map: Diffusion models → Video generation
Abstract (arXiv)
In Diffusion Transformer (DiT) models, particularly for video generation, attention latency is a major bottleneck due to the long sequence length and the quadratic complexity. We find that attention weights can be separated into two parts: a small fraction of large weights with high rank and the remaining weights with very low rank. This naturally suggests applying sparse acceleration to the first part and low-rank acceleration to the second. Based on this finding, we propose SLA (Sparse-Linear Attention), a trainable attention method that fuses sparse and linear attention to accelerate diffusion models. SLA classifies attention weights into critical, marginal, and negligible categories, applying O(N^2) attention to critical weights, O(N) attention to marginal weights, and skipping negligible ones. SLA combines these computations into a single GPU kernel and supports both forward and backward passes. With only a few fine-tuning steps using SLA, DiT models achieve a 20x reduction in attention computation, resulting in significant acceleration without loss of generation quality. Experiments show that SLA reduces attention computation by 95% without degrading end-to-end generation quality, outperforming baseline methods. In addition, we implement an efficient GPU kernel for SLA, which yields a 13.7x speedup in attention computation and a 2.2x end-to-end speedup in video generation on Wan2.1-1.3B. The code is available at https://github.com/thu-ml/SLA.
Key facts. Cited by 58 papers in the map (data through 14 Oct 2026). Placed in Video generation, one of 14 directions in Diffusion models. Builds on 39 of its 48 references that are in the map. First posted on arXiv 28 Sep 2025.
Builds on
39 of 48 references.
Closest ancestors · 9
Same direction, newest first
- 2025VMoBA: Mixture-of-Block Attention for Video Diffusion Models30 Jun
- 2025Radial Attention: O(nlog n) Sparse Attention with Energy Decay for Long Video Generation24 Jun
- 2025FPSAttention: Training-Aware FP8 and Sparsity Co-Design for Fast Video Diffusion5 Jun
- 2025Sparse VideoGen2: Accelerate Video Generation with Sparse Attention via Semantic-Aware Permutation24 May
- 2025VSA: Faster Video Diffusion with Trainable Sparse Attention19 May
- 2025DraftAttention: Fast Video Diffusion via Low-Resolution Attention Guidance17 May
- 2025Sparse VideoGen: Accelerating Video Diffusion Transformers with Spatial-Temporal Sparsity3 Feb
- 2024CogVideoX: Text-to-Video Diffusion Models with An Expert Transformer12 Aug
- 2024DiG: Scalable and Efficient Diffusion Models with Gated Linear Attention28 May
Other references · 30
- 2017Attention Is All You Needcited by 60,361
- 2022Scalable Diffusion Models with Transformerscited by 6,054
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2025Wan: Open and Advanced Large-Scale Video Generative Modelscited by 2,708
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2015Fast and Accurate Deep Network Learning by Exponential Linear Units (ELUs)cited by 1,070
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 532
- 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 519
18 more
- 2025Reconstruction vs. Generation: Taming Optimization Dilemma in Latent Diffusion Modelscited by 393
- 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 383
- 2023EvalCrafter: Benchmarking and Evaluating Large Video Generation Modelscited by 340
- 2024SANA: Efficient High-Resolution Image Synthesis with Linear Diffusion Transformerscited by 340
- 2022cosFormer: Rethinking Softmax in Attentioncited by 213
- 2024InfLLM: Training-Free Long-Context Extrapolation for LLMs with an Efficient Context Memorycited by 197
- 2018Online normalizer calculation for softmaxcited by 162
- 2024SageAttention: Accurate 8-Bit Attention for Plug-and-play Inference Accelerationcited by 160
- 2024VisionReward: Fine-Grained Multi-Dimensional Human Preference Learning for Image and Video Generationcited by 156
- 2024SeerAttention: Learning Intrinsic Sparse Attention in Your LLMscited by 124
- 2023SparQ Attention: Bandwidth-Efficient LLM Inferencecited by 119
- 2024SageAttention2: Efficient Attention with Thorough Outlier Smoothing and Per-thread INT4 Quantizationcited by 114
- 2025SageAttention3: Microscaling FP4 Attention for Inference and An Exploration of 8-Bit Trainingcited by 66
- 2024Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Modelscited by 57
- 2024Mixture of Attention Spans: Optimizing LLM Inference Efficiency with Heterogeneous Sliding-Window Lengthscited by 44
- 2024Evaluation Agent: Efficient and Promptable Evaluation Framework for Visual Generative Modelscited by 41
- 2024Breaking the Low-Rank Dilemma of Linear Attentioncited by 31
- 2025SageAttention2++: A More Efficient Implementation of SageAttention2cited by 22
Built on by
Citing papers per year: 2025: 4; 2026: 54.
58 papers.
Sort:
By area:
- 2025TurboDiffusion: Accelerating Video Diffusion Models by 100-200 Timescited by 33
- 2026Causal-rCM: A Unified Teacher-Forcing and Self-Forcing Open Recipe for Autoregressive Diffusion Distillation in Streaming Video Generation and Interactive World Modelscited by 25
- 2026SLA2: Sparse-Linear Attention with Learnable Routing and QATcited by 22
- 2026SpargeAttention2: Trainable Sparse Attention via Hybrid Top-k+Top-p Masking and Distillation Fine-Tuningcited by 18
- 2026PISA: Piecewise Sparse Attention Is Wiser for Efficient Diffusion Transformerscited by 17
- 2026Light Forcing: Accelerating Autoregressive Video Diffusion via Sparse Attentioncited by 12
- 2026KernelBenchX: A Comprehensive Benchmark for Evaluating LLM-Generated GPU Kernelscited by 12
- 2025VideoNSA: Native Sparse Attention Scales Video Understandingcited by 11
- 2025LinVideo: A Post-Training Framework towards O(n) Attention in Efficient Video Generationcited by 11
- 2026SANA-Streaming: Real-time Streaming Video Editing with Hybrid Diffusion Transformercited by 11
- 2026SVG-EAR: Parameter-Free Linear Compensation for Sparse Video Generation via Error-aware Routingcited by 10
- 2026Sol-Attn: Accelerating Video Generation Inference via On-the-Fly Attention Sparsificationcited by 9
38 more
- 2026SageBwd: A Trainable Low-bit Attentioncited by 8
- 2026Long-Horizon Streaming Video Generation via Hybrid Attention with Decoupled Distillationcited by 8
- 2026SALAD: Achieve High-Sparsity Attention via Efficient Linear Attention Tuning for Video Diffusion Transformercited by 7
- 2026Efficient Video Diffusion Models: Advancements and Challengescited by 7
- 2025Trainable Log-linear Sparse Attention for Efficient Diffusion Transformerscited by 6
- 2026BOute: Cost-Efficient LLM Serving with Heterogeneous LLMs and GPUs via Multi-Objective Bayesian Optimizationcited by 6
- 2026MonarchRT: Efficient Attention for Real-Time Video Generationcited by 6
- 2026Video Generation Models as World Models: Efficient Paradigms, Architectures and Algorithmscited by 5
- 2026Vidu S2: Real-Time Interactive, Editable, and Spatial Video Generationcited by 5
- 2026Attend Locally, Remember Linearly: Linear Attention as Cross-Frame Memory for Autoregressive Video Diffusioncited by 4
- 2026RoPeSLR: 3D RoPE-driven Sparse-LowRank Attention for Efficient Diffusion Transformerscited by 4
- 2026ThriftAttention: Selective Mixed Precision for Long-Context FP4 Attentioncited by 4
- 2026Vidu S1: A Real-Time Interactive Video Generation Modelcited by 4
- 2026VMonarch: Efficient Video Diffusion Transformers with Structured Attentioncited by 3
- 2026MobileWan: Closing the Quality Gap for Mobile Video Diffusioncited by 3
- 2026HybridStitch: Pixel and Timestep Level Model Stitching for Diffusion Accelerationcited by 2
- 2026EFlow: Fast Few-Step Video Generator Training from Scratch via Efficient Solution Flowcited by 2
- 2026Ride the Wave: Precision-Allocated Sparse Attention for Smooth Video Generationcited by 2
- 2026Speculative Decoding for Autoregressive Video Generationcited by 2
- 2026SpikingBrain2.0: Brain-Inspired Foundation Models for Efficient Long-Context and Cross-Platform Inferencecited by 2
- 2026Accelerating Text-to-Video Generation with Calibrated Sparse Attentioncited by 1
- 2026Empty SPACE: Cross-Attention Sparsity for Concept Erasure in Diffusion Modelscited by 1
- 2026Lite3R: A Model-Agnostic Framework for Efficient Feed-Forward 3D Reconstructioncited by 1
- 2026FIS-DiT: Breaking the Few-Step Video Inference Barrier via Training-Free Frame Interleaved Sparsitycited by 1
- 2026OSP-Next: Efficient High-Quality Video Generation with Sparse Sequence Parallelism, HiF8 Quantization, and Reinforcement Learningcited by 1
- 2026HyperVAttention: Efficient Sparse Attention with Spatio-Temporal Clustering for Video Diffusioncited by 1
- 2026FVAttn: Adaptive Sparse Attention with Runtime Load Balancing for Video Generationcited by 1
- 2026EpaCache: Error-Propagation-Aware Caching for Accelerating Diffusion-Based Visual Generationcited by 1
- 2026LoGo: Token-Level Dynamic Local-Global Attentioncited by 1
- 2026RoLA: Rotary-Positioned Low-Rank Linear Attention for Efficient Diffusion Transformerscited by 1
- 2026Video DeltaNet: A Video-Native Hybrid Attention for Livestream Video Generationcited by 1
- 20266Bit-Diffusion: Inference-Time Mixed-Precision Quantization for Video Diffusion Modelscited by 0
- 2026RT-Lynx: Putting GEMM Sparsity in the Right Place for Diffusion Modelscited by 0
- 2026RotateAttention: RoPE-Aware Rotation and Range Rectification for INT4 Quantized Attention in Video Generationcited by 0
- 2026Dynamic-in-Few-Step: Unifying Dynamic Computation and Few-Step Distillation for Efficient Video Generationcited by 0
- 2026SparSTAR: Sparse Attention for SpaceTime AutoRegressive Video Synthesiscited by 0
- 2026TurboT2VA: Fast Large-Scale Text-to-Video-Audio Generation via Score-Regularized Consistency Distillationcited by 0
- 2026RegionCache: Semantic-Aware Region Reuse for Efficient Multi-Turn Image Generationcited by 0
50 most cited of 58 All 58 (JSON)
- 2026Zebra3D: Efficient Hybrid Foundation Models For Scalable 3D Reconstruction8 Oct 2026
- 2026MC-Sparse: Deconstructing and Closing the Dense-Sparse Attention Gap in Diffusion Transformers5 Oct 2026
- 2026ReCaVSR: One-Step Streaming Diffusion Video Super-Resolution with Recycled Latents and Learned Cache Routing29 Sep 2026
- 2026WorldAttention: An Efficient Attention Architecture for Interactive Video World Models28 Sep 2026
- 2026Improving Video Sparse Attention with Fine-grained Router and Sparse Rebasing26 Sep 2026
- 2026Where Compute Matters: Heterogeneous Attention for Efficient Video Diffusion25 Sep 2026
- 2026UltraTex: Unleashing 2K Multi-View Diffusion for 3D Texturing19 Sep 2026
- 2026SparkDiffusion: Mitigating the High-Sparsity Trap --- A Unified Framework for up to 265× Single-GPU Acceleration of Visual Generation19 Sep 2026
- 2026Video DeltaNet: A Video-Native Hybrid Attention for Livestream Video Generation17 Sep 2026
- 2026Vidu S2: Real-Time Interactive, Editable, and Spatial Video Generation10 Sep 2026
- 2026RoLA: Rotary-Positioned Low-Rank Linear Attention for Efficient Diffusion Transformers6 Sep 2026
- 2026RegionCache: Semantic-Aware Region Reuse for Efficient Multi-Turn Image Generation30 Aug 2026
38 more
- 2026LoGo: Token-Level Dynamic Local-Global Attention30 Aug 2026
- 2026EpaCache: Error-Propagation-Aware Caching for Accelerating Diffusion-Based Visual Generation29 Aug 2026
- 2026TurboT2VA: Fast Large-Scale Text-to-Video-Audio Generation via Score-Regularized Consistency Distillation25 Aug 2026
- 2026SparSTAR: Sparse Attention for SpaceTime AutoRegressive Video Synthesis11 Aug 2026
- 2026Sol-Attn: Accelerating Video Generation Inference via On-the-Fly Attention Sparsification27 Jul 2026
- 2026FVAttn: Adaptive Sparse Attention with Runtime Load Balancing for Video Generation17 Jul 2026
- 2026Dynamic-in-Few-Step: Unifying Dynamic Computation and Few-Step Distillation for Efficient Video Generation7 Jul 2026
- 2026MobileWan: Closing the Quality Gap for Mobile Video Diffusion7 Jul 2026
- 2026Vidu S1: A Real-Time Interactive Video Generation Model3 Jul 2026
- 2026HyperVAttention: Efficient Sparse Attention with Spatio-Temporal Clustering for Video Diffusion3 Jul 2026
- 2026RotateAttention: RoPE-Aware Rotation and Range Rectification for INT4 Quantized Attention in Video Generation1 Jul 2026
- 2026Causal-rCM: A Unified Teacher-Forcing and Self-Forcing Open Recipe for Autoregressive Diffusion Distillation in Streaming Video Generation and Interactive World Models24 Jun 2026
- 2026SANA-Streaming: Real-time Streaming Video Editing with Hybrid Diffusion Transformer28 May 2026
- 2026OSP-Next: Efficient High-Quality Video Generation with Sparse Sequence Parallelism, HiF8 Quantization, and Reinforcement Learning27 May 2026
- 2026RT-Lynx: Putting GEMM Sparsity in the Right Place for Diffusion Models26 May 2026
- 2026ThriftAttention: Selective Mixed Precision for Long-Context FP4 Attention21 May 2026
- 2026RoPeSLR: 3D RoPE-driven Sparse-LowRank Attention for Efficient Diffusion Transformers20 May 2026
- 2026Attend Locally, Remember Linearly: Linear Attention as Cross-Frame Memory for Autoregressive Video Diffusion15 May 2026
- 2026FIS-DiT: Breaking the Few-Step Video Inference Barrier via Training-Free Frame Interleaved Sparsity12 May 2026
- 2026Lite3R: A Model-Agnostic Framework for Efficient Feed-Forward 3D Reconstruction12 May 2026
- 2026Empty SPACE: Cross-Attention Sparsity for Concept Erasure in Diffusion Models11 May 2026
- 2026KernelBenchX: A Comprehensive Benchmark for Evaluating LLM-Generated GPU Kernels6 May 2026
- 2026SpikingBrain2.0: Brain-Inspired Foundation Models for Efficient Long-Context and Cross-Platform Inference24 Apr 2026
- 2026Speculative Decoding for Autoregressive Video Generation19 Apr 2026
- 2026Efficient Video Diffusion Models: Advancements and Challenges17 Apr 2026
- 2026Ride the Wave: Precision-Allocated Sparse Attention for Smooth Video Generation14 Apr 2026
- 2026Long-Horizon Streaming Video Generation via Hybrid Attention with Decoupled Distillation11 Apr 2026
- 2026Video Generation Models as World Models: Efficient Paradigms, Architectures and Algorithms30 Mar 2026
- 2026EFlow: Fast Few-Step Video Generator Training from Scratch via Efficient Solution Flow28 Mar 2026
- 20266Bit-Diffusion: Inference-Time Mixed-Precision Quantization for Video Diffusion Models19 Mar 2026
- 2026SVG-EAR: Parameter-Free Linear Compensation for Sparse Video Generation via Error-aware Routing9 Mar 2026
- 2026HybridStitch: Pixel and Timestep Level Model Stitching for Diffusion Acceleration8 Mar 2026
- 2026Accelerating Text-to-Video Generation with Calibrated Sparse Attention5 Mar 2026
- 2026SageBwd: A Trainable Low-bit Attention2 Mar 2026
- 2026SpargeAttention2: Trainable Sparse Attention via Hybrid Top-k+Top-p Masking and Distillation Fine-Tuning13 Feb 2026
- 2026SLA2: Sparse-Linear Attention with Learnable Routing and QAT13 Feb 2026
- 2026MonarchRT: Efficient Attention for Real-Time Video Generation12 Feb 2026
- 2026BOute: Cost-Efficient LLM Serving with Heterogeneous LLMs and GPUs via Multi-Objective Bayesian Optimization11 Feb 2026
50 newest of 58 All 58 (JSON)
- 2025TurboDiffusion: Accelerating Video Diffusion Models by 100-200 Timescited by 33
- 2026SLA2: Sparse-Linear Attention with Learnable Routing and QATcited by 22
- 2026SpargeAttention2: Trainable Sparse Attention via Hybrid Top-k+Top-p Masking and Distillation Fine-Tuningcited by 18
- 2026PISA: Piecewise Sparse Attention Is Wiser for Efficient Diffusion Transformerscited by 17
- 2026Light Forcing: Accelerating Autoregressive Video Diffusion via Sparse Attentioncited by 12
- 2025LinVideo: A Post-Training Framework towards O(n) Attention in Efficient Video Generationcited by 11
- 2026SANA-Streaming: Real-time Streaming Video Editing with Hybrid Diffusion Transformercited by 11
- 2026SVG-EAR: Parameter-Free Linear Compensation for Sparse Video Generation via Error-aware Routingcited by 10
- 2026Sol-Attn: Accelerating Video Generation Inference via On-the-Fly Attention Sparsificationcited by 9
- 2026Long-Horizon Streaming Video Generation via Hybrid Attention with Decoupled Distillationcited by 8
- 2026SALAD: Achieve High-Sparsity Attention via Efficient Linear Attention Tuning for Video Diffusion Transformercited by 7
- 2026Efficient Video Diffusion Models: Advancements and Challengescited by 7
12 most cited of 37 All 37 (JSON)
- 2026MC-Sparse: Deconstructing and Closing the Dense-Sparse Attention Gap in Diffusion Transformers5 Oct 2026
- 2026ReCaVSR: One-Step Streaming Diffusion Video Super-Resolution with Recycled Latents and Learned Cache Routing29 Sep 2026
- 2026Where Compute Matters: Heterogeneous Attention for Efficient Video Diffusion25 Sep 2026
- 2026SparkDiffusion: Mitigating the High-Sparsity Trap --- A Unified Framework for up to 265× Single-GPU Acceleration of Visual Generation19 Sep 2026
- 2026Video DeltaNet: A Video-Native Hybrid Attention for Livestream Video Generation17 Sep 2026
- 2026RoLA: Rotary-Positioned Low-Rank Linear Attention for Efficient Diffusion Transformers6 Sep 2026
- 2026Sol-Attn: Accelerating Video Generation Inference via On-the-Fly Attention Sparsification27 Jul 2026
- 2026FVAttn: Adaptive Sparse Attention with Runtime Load Balancing for Video Generation17 Jul 2026
- 2026Dynamic-in-Few-Step: Unifying Dynamic Computation and Few-Step Distillation for Efficient Video Generation7 Jul 2026
- 2026MobileWan: Closing the Quality Gap for Mobile Video Diffusion7 Jul 2026
- 2026HyperVAttention: Efficient Sparse Attention with Spatio-Temporal Clustering for Video Diffusion3 Jul 2026
- 2026SANA-Streaming: Real-time Streaming Video Editing with Hybrid Diffusion Transformer28 May 2026
12 newest of 37 All 37 (JSON)
- 2026Causal-rCM: A Unified Teacher-Forcing and Self-Forcing Open Recipe for Autoregressive Diffusion Distillation in Streaming Video Generation and Interactive World Modelscited by 25
- 2026Video Generation Models as World Models: Efficient Paradigms, Architectures and Algorithmscited by 5
- 2026WorldAttention: An Efficient Attention Architecture for Interactive Video World Modelscited by 0
- 2026WorldAttention: An Efficient Attention Architecture for Interactive Video World Models28 Sep 2026
- 2026Causal-rCM: A Unified Teacher-Forcing and Self-Forcing Open Recipe for Autoregressive Diffusion Distillation in Streaming Video Generation and Interactive World Models24 Jun 2026
- 2026Video Generation Models as World Models: Efficient Paradigms, Architectures and Algorithms30 Mar 2026
- 2025VideoNSA: Native Sparse Attention Scales Video Understandingcited by 11
- 2026KernelBenchX: A Comprehensive Benchmark for Evaluating LLM-Generated GPU Kernelscited by 12
- 2026SageBwd: A Trainable Low-bit Attentioncited by 8
- 2026Vidu S2: Real-Time Interactive, Editable, and Spatial Video Generationcited by 5
- 2026ThriftAttention: Selective Mixed Precision for Long-Context FP4 Attentioncited by 4
- 2026Vidu S1: A Real-Time Interactive Video Generation Modelcited by 4
- 2026SpikingBrain2.0: Brain-Inspired Foundation Models for Efficient Long-Context and Cross-Platform Inferencecited by 2
- 2026Lite3R: A Model-Agnostic Framework for Efficient Feed-Forward 3D Reconstructioncited by 1
- 2026EpaCache: Error-Propagation-Aware Caching for Accelerating Diffusion-Based Visual Generationcited by 1
- 2026LoGo: Token-Level Dynamic Local-Global Attentioncited by 1
- 2026RotateAttention: RoPE-Aware Rotation and Range Rectification for INT4 Quantized Attention in Video Generationcited by 0
- 2026SparSTAR: Sparse Attention for SpaceTime AutoRegressive Video Synthesiscited by 0
- 2026TurboT2VA: Fast Large-Scale Text-to-Video-Audio Generation via Score-Regularized Consistency Distillationcited by 0
12 most cited of 16 All 16 (JSON)
- 2026Zebra3D: Efficient Hybrid Foundation Models For Scalable 3D Reconstruction8 Oct 2026
- 2026Improving Video Sparse Attention with Fine-grained Router and Sparse Rebasing26 Sep 2026
- 2026UltraTex: Unleashing 2K Multi-View Diffusion for 3D Texturing19 Sep 2026
- 2026Vidu S2: Real-Time Interactive, Editable, and Spatial Video Generation10 Sep 2026
- 2026RegionCache: Semantic-Aware Region Reuse for Efficient Multi-Turn Image Generation30 Aug 2026
- 2026LoGo: Token-Level Dynamic Local-Global Attention30 Aug 2026
- 2026EpaCache: Error-Propagation-Aware Caching for Accelerating Diffusion-Based Visual Generation29 Aug 2026
- 2026TurboT2VA: Fast Large-Scale Text-to-Video-Audio Generation via Score-Regularized Consistency Distillation25 Aug 2026
- 2026SparSTAR: Sparse Attention for SpaceTime AutoRegressive Video Synthesis11 Aug 2026
- 2026Vidu S1: A Real-Time Interactive Video Generation Model3 Jul 2026
- 2026RotateAttention: RoPE-Aware Rotation and Range Rectification for INT4 Quantized Attention in Video Generation1 Jul 2026
- 2026ThriftAttention: Selective Mixed Precision for Long-Context FP4 Attention21 May 2026
12 newest of 16 All 16 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026LoSA: Near-Lossless Sparse Attention for Training-Free Video Diffusion Acceleration
- 2025Bidirectional Sparse Attention for Faster Video Diffusion Training
- 2025Sparse-vDiT: Unleashing the Power of Sparse Attention to Accelerate Video Diffusion Transformers
- 2024DiTFastAttn: Attention Compression for Diffusion Transformer Models
- 2025FlashOmni: A Unified Sparse Attention Engine for Diffusion Transformers
- 2025FG-Attn: Leveraging Fine-Grained Sparse Attention in Video Diffusion Models
- 2025LiteAttention: A Temporal Sparse Attention for Diffusion Transformers
- 2026LVSA: Training-Free Sparse Attention for Long Video Diffusion