JetDiffusion: Pushing the Speed Limits of Video Generation with NVFP4 Sparse Attention
Organizations: University of California, San Diego · Carnegie Mellon University · University of Wisconsin–Madison · National University of Singapore
Abstract
Attention over long sequences is a major computational bottleneck in video generation, which can be alleviated through sparsity and low-bit quantization. We propose JetDiffusion, a video generation system built on trainable Video Sparse Quantized Attention (VSQA), with custom inference kernels that combine native NVFP4 computation and kernel fusion. At 90% sparsity, VSQA accelerates attention by 8-29x compared with FlashAttention on different hardwares. To further accelerate video generation, we combine VSQA with NVFP4 linear quantization and step distillation. Although each technique can individually preserve generation quality, jointly adapting to all three remains challenging, particularly under aggressive NVFP4 quantization. Through empirical studies, we develop an effective staged training recipe that enables stable adaptation to quantization, sparsity, and few-step denoising. On Wan2.1-14B, the resulting model achieves 273x end-to-end video generation speedup on the RTX 5090 while maintaining comparable video quality.
Figures & tables
| Method | Frames H W | Steps | Quality | Semantic | Total |
| Wan2.1-1.3B base | 50 | 83.52 | 64.50 | 79.72 | |
| TurboDiffusion-1.3B | 4 | 83.94 | 68.57 | 80.86 | |
| FastWan-1.3B | 3 | 85.14 | 66.14 | 81.34 | |
| FastWan-QAD-1.3B | 3 | 81.62 | 62.89 | 77.87 | |
| Direct DMD | 3 | 84.33 | 71.05 | 81.67 | |
| Ours (JetDiffusion) | 3 | 85.28 | 72.47 | 82.72 |
| RTX 5090 | GB300 | ||
| Attention | 1.3B | 14B | 14B |
| Dense BF16 | 17.59 (1.0 ) | 546.95 (1.0 ) | 79.44 (1.0 ) |
| Dense low-bit | 4.86 (3.6 ) | 149.83 (3.7 ) | 45.58 (1.7 ) |
| Sparse BF16 | 3.53 (5.0 ) | 87.72 (6.2 ) | 13.88 (5.7 ) |
| VSQA | 0.855 (20.6 ) | 18.29 (29.9 ) | 9.98 (8.0 ) |
| Training | Attention | Linears | Qual. | Sem. | Total |
| Direct DMD | Dense BF16 | BF16 | 85.98 | 69.56 | 82.69 |
| Sparse BF16 | BF16 | 85.61 | 72.10 | 82.91 | |
| Sparse NVFP4 | BF16 | 84.71 | 72.75 | 82.32 | |
| Dense BF16 | NVFP4 | 84.80 | 70.59 | 81.96 | |
| Sparse FP8 | FP8 | 85.25 | 70.68 | 82.33 | |
| Sparse NVFP4 | NVFP4 | 84.33 | 71.05 | 81.67 |
Appendix figures & tables49 assets
Supplementary material from the paper’s appendix.
Appendix
| Hyperparameters | Wan2.1-1.3B | Wan2.1-14B |
| Real score network | Wan2.1-T2V-1.3B | Wan2.1-T2V-14B |
| Real score CFG weight | 3.5 | 6.0 |
| Critic network initialization | Wan2.1-T2V-1.3B | Wan2.1-T2V-14B |
| Student timesteps | 1000, 941, 800 | 1000, 941, 800 |
| Batch size | 16 | 16 |
| Learning rate ( ) | 2e-6 | 2e-6 |
| VBench dimension | Base model | Direct DMD | Ours | QAD warmup | w/o ODE init. | w/o ODE init., QAD warmup | w/o recon. reg. |
| Subject consistency | 91.93 | 95.81 | 95.74 | 95.86 | 95.77 | 96.75 | 94.74 |
| Background consistency | 94.13 | 93.40 | 93.80 | 94.37 | 93.85 | 95.73 | 93.12 |
| Temporal flickering | 99.25 | 98.91 | 99.25 | 99.10 | 99.23 | 99.32 | 99.32 |
| Motion smoothness | 96.83 | 98.46 | 98.21 | 98.32 | 98.65 | 98.80 | 97.75 |
| Aesthetic quality | 60.45 | 60.30 | 61.23 | 61.55 | 62.09 | 62.15 | 60.79 |
| Imaging quality | 64.94 | 65.98 | 66.74 | 65.88 | 65.55 | 65.62 | 67.43 |
| VBench dimension | Wan2.1-14B base | TurboDiffusion -14B | LightWan2.2 -A14B | JetDiffusion -14B |
| Subject consistency | 95.89 | 96.12 | 95.68 | 95.48 |
| Background consistency | 97.80 | 93.97 | 96.60 | 95.51 |
| Temporal flickering | 99.52 | 98.50 | 98.93 | 99.04 |
| Motion smoothness | 98.69 | 99.01 | 98.10 | 97.63 |
| Aesthetic quality | 65.07 | 61.40 | 66.28 | 66.41 |
| Imaging quality | 68.43 | 72.07 | 71.24 | 69.33 |
| Method | Steps | Attention (ms) | DiT / step (s) | DiT total (s) |
| RTX 5090, 1.3B, 480p | ||||
| FlashAttention-2 | 50 | 18.1 (1.00 ) | 1.00 (1.00 ) | 101 (1.00 ) |
| SageAttention2++ | 50 | 6.55 (2.77 ) | 0.640 (1.57 ) | 64.0 (1.57 ) |
| SageAttention3 | 50 | 5.27 (3.44 ) | 0.613 (1.64 ) | 61.3 (1.64 ) |
| VSA | 50 | 3.93 (4.61 ) | 0.647 (1.55 ) | 64.7 (1.56 ) |
| SLA2 | 50 | 3.15 (5.76 ) | 0.558 (1.80 ) | 55.8 (1.80 ) |
| Method | Steps | DiT total (s) | Non-DiT (s) | End-to-end (s) |
| RTX 5090, 1.3B, 480p | ||||
| FlashAttention-2 | 50 | 101 (1.00 ) | 2.75 (1.00 ) | 103 (1.00 ) |
| JetDiffusion ( VSQA , Ours) | 3 | 0.481 (209 ) | 0.39 (7.05 ) | 0.866 (119 ) |
| RTX 5090, 14B, 720p | ||||
| FlashAttention-2 | 50 | 3172 (1.00 ) | 4.904 (1.00 ) | 3177 (1.00 ) |
| JetDiffusion ( VSQA , Ours) | 3 | 10.76 (295 ) | 0.879 (5.58 ) | 11.64 (273 ) |
| Model | Frames H W | Steps / sampler | CFG | Shift |
| Wan2.1-1.3B base | 61 448 896 | 50 / UniPC | 5 | 3 |
| JetDiffusion-1.3B | 61 448 896 | 3 / DMD | 1 | 8 |
| Wan2.1-14B base | 77 768 1280 | 50 / UniPC | 5 | 5 |
| JetDiffusion-14B | 77 768 1280 | 3 / DMD | 1 | 8 |
| Method | Warm-up | ODE initialization | Quality | Semantic | Total |
| 1.3B base | — | — | 83.50 1.19 | 64.50 3.38 | 79.70 1.59 |
| 1.3B DMD | None | None | 84.32 0.21 | 71.05 1.21 | 81.67 0.15 |
| QAD | None | 84.51 0.46 | 69.71 2.51 | 81.55 0.43 | |
| Layerwise recon. | None | 84.71 0.40 | 73.54 1.54 | 82.47 0.22 | |
| QAD | w/ recon. reg. | 85.08 0.29 | 70.54 1.61 | 82.17 0.48 | |
| Layerwise recon. | w/o recon. reg. | 84.82 0.41 | 70.33 0.94 | 81.92 0.40 |
| Configuration | 1.3B Total, 5 seeds | 14B Total, seed 42 |
| VSQA + NVFP4 linears + Wan VAE | 82.72 | 84.02 |
| Dense BF16 attention | 81.93 | 83.40 |
| BF16 linears | 82.75 | 84.52 |
| Dense BF16 attention + BF16 linears | 82.06 | 83.63 |
| TAEHV decoder | 82.78 | 83.78 |
| Sparsity | 1.3B Total | 1.3B DiT speedup | 14B Total | 14B DiT speedup |
| 70% | 82.82 | 4.13 | 84.20 | 5.44 |
| 80% | 82.79 | 4.41 | 84.52 | 6.24 |
| 90% | 82.72 | 4.87 | 84.02 | 7.26 |
| CFG | Shift | Frames H W | Ext. | Decoder | Quality | Semantic | Total |
| 5 | 3 | 61 448 896 | Off | Wan VAE | 84.42 | 66.10 | 80.75 |
| 5 | 3 | 61 448 896 | Off | TAEHV | 84.22 | 65.53 | 80.48 |
| 5 | 3 | 61 448 896 | On | Wan VAE | 85.29 | 81.01 | 84.43 |
| 6 | 8 | 81 480 832 | Off | Wan VAE | 84.15 | 68.34 | 80.99 |
| 6 | 8 | 81 480 832 | On | Wan VAE | 85.17 | 83.88 | 84.91 |
| 5 | 3 | 81 480 832 | Off | Wan VAE | 84.17 | 67.79 | 80.89 |
| Model | Extension | Seeds | Quality | Semantic | Total |
| Wan2.1-1.3B | Off | 42–46 | 83.52 | 64.50 | 79.72 |
| On | 42–46 | 85.21 | 80.95 | 84.36 | |
| JetDiffusion-1.3B | Off | 42–46 | 85.28 | 72.47 | 82.72 |
| On | 42–46 | 86.20 | 81.25 | 85.21 | |
| JetDiffusion-1.3B (trained with extended prompts) | On | 42–46 | 86.00 | 82.03 | 85.20 |
| Wan2.1-14B | Off | 42 | 84.38 | 75.41 | 82.59 |
| Model | Seeds | Wan VAE Quality | TAEHV Quality | Change |
| Wan2.1-1.3B base | 5 | 83.53 | 83.31 | 0.22 |
| JetDiffusion-1.3B | 5 | 85.28 | 85.37 | +0.09 |
| JetDiffusion-14B | 1 (42) | 85.16 | 85.00 | 0.16 |
| Hardware / model | Linears | Dense BF16 | Dense low-bit | Sparse BF16 | VSQA |
| RTX 5090 / 1.3B | NVFP4 | 748.0 ms | 258.1 ms (2.9 ) | 400.2 ms (1.9 ) | 153.1 ms (4.9 ) |
| RTX 5090 / 14B | NVFP4 | 25,258 ms | 7,899 ms (3.2 ) | 8,686 ms (2.9 ) | 3,470 ms (7.3 ) |
| GB300 / 14B | BF16 | 6.132 s | 4.795 s (1.3 ) | 3.331 s (1.8 ) | 3.221 s (1.9 ) |
| Model | Tokens | Dense BF16 | Dense FP4 / FP8 | Dense FP4 / FP4 | VSQA |
| 1.3B | 392 | 0.024 | 0.025 | 0.026 | 0.049 |
| 1.3B | 784 | 0.045 | 0.030 | 0.031 | 0.050 |
| 1.3B | 1,568 | 0.090 | 0.042 | 0.044 | 0.050 |
| 1.3B | 3,136 | 0.327 | 0.105 | 0.107 | 0.084 |
| 1.3B | 6,272 | 1.266 | 0.369 | 0.363 | 0.204 |
| 14B | 960 | 0.110 | 0.054 | 0.055 | 0.257 |
| Stage | RTX 5090, 1.3B | RTX 5090, 14B | GB300, 14B |
| Quantization/pooling and packing/tile | 0.195 (22.5%) | 1.93 (10.2%) | 4.518 (45.1%) |
| Routing | 0.033 (3.8%) | 0.18 (1.0%) | 0.257 (2.6%) |
| Fine attention | 0.485 (55.9%) | 15.66 (82.8%) | 4.538 (45.3%) |
| Combining branches / untile | 0.155 (17.9%) | 1.15 (6.1%) | 0.710 (7.1%) |
| Configuration | Latency (ms) | Vs. previous | Vs. dense BF16 |
| FastVideo VSA, FA4 CuTe BF16 fine kernel | 17.06 | — | 4.7 |
| + Optimized pooling, mask packing, and branch combining; BF16 | 13.88 | 1.23 | 5.7 |
| + NVFP4 QK / FP8 PV, separate pooling and quantization | 10.46 | 1.33 | 7.6 |
| + Fused pooling and quantization (VSQA) | 9.98 | 1.05 | 8.0 |
| Cumulative configuration | End-to-end latency |
| Base: 50 steps with CFG, dense BF16, optimized Wan VAE | 3,177 s |
| Remove CFG: 50 forwards | 1,591 s |
| Reduce to three forwards | 100.0 s |
| + VSQA | 34.68 s |
| + NVFP4 linears | 15.29 s estimated / 15.64 s measured |
| + TAEHV decoder | 11.64 s measured |
| Timing | Base, optimized Wan VAE | JetDiffusion, TAEHV | Speedup |
| Average DiT forward | 4.88 s | 1.28 s | 3.8 |
| Total DiT | 487.60 s | 3.83 s | 127 |
| Non-DiT | 1.376 s | 0.280 s | 4.9 |
| End-to-end | 488.97 s | 4.11 s | 119 |
| Method | DiT per step | DiT, 3 steps | End to end, TAEHV | End to end, own Wan VAE |
| TurboDiffusion-14B | 8.83 | 26.47 (2.48 ) | 27.33 (2.36 ) | 33.65 (2.16 ) |
| LightWan2.2-A14B | 3.87 | 11.60 (1.09 ) | 12.28 (1.06 ) | 18.64 (1.20 ) |
| Ours (JetDiffusion) | 3.56 | 10.67 | 11.60 | 15.55 |
| Method | Quality | Semantic | Total |
| TurboDiffusion-14B | 82.62 | 70.29 | 80.16 |
| LightWan2.2-A14B | 84.32 | 80.87 | 83.63 |
| Ours (JetDiffusion) | 85.00 | 78.88 | 83.78 |