跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2609.25869 · v2

Decoupling Logical Masks from GPU Execution for Dynamic Block-Sparse Attention

首次提交 2026-09-22 16:33
版本更新 2026-11-24 15:42
雷达观测 2026-11-25 11:18
arXiv ↗PDF ↗

摘要

Attention computation makes inference expensive in video diffusion transformers (vDiTs), which generate videos through iterative denoising. Block-sparse attention (BSA) reduces this cost by computing only blocks selected by a logical mask, which specifies the attention interactions to compute. Existing BSA runtimes either fix one physical execution plan per block geometry, which limits adaptation to varying masks and graphics processing units (GPUs), or plan each mask at runtime, which adds preparation overhead to every request. Because masks change across requests, this per-mask planning must be repeated, so its cost can outweigh the execution-time savings. We present Tessera, a runtime for dynamic BSA that decouples logical masks from GPU execution through two-layer physical execution plans that preserve the specified attention interactions. First, its physical mapping layer retains, combines, or subdivides logical blocks into physical tiles suited to different mask shapes and GPU architectures. Second, its task organization layer groups and schedules tiles within GPU tasks to reuse data, expose parallelism, and overlap data movement with computation. Third, its plan selector chooses a plan for each request with low overhead, through either a plan table built from offline profiling or a calibrated cost model, which extends selection to masks outside the profiled distribution and to a new GPU with about 100 calibration requests. Implemented with specialized CUDA kernels for four NVIDIA GPU generations and evaluated on 2,312 real attention masks and two video diffusion models, Tessera achieves up to 2.88×2.88\times BSA request speedup over baseline systems in these models and speeds up their 50-step loop by 1.211.21--1.24×1.24\times.

作者备注:19 pages, 12 figures. Preprint

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

本站首次收录为 v2,暂无更早版本可对照。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v2 · 2026-11-24 15:42 · 最新观测版本

Decoupling Logical Masks from GPU Execution for Dynamic Block-Sparse Attention

Attention computation makes inference expensive in video diffusion transformers (vDiTs), which generate videos through iterative denoising. Block-sparse attention (BSA) reduces this cost by computing only blocks selected by a logical mask, which specifies the attention interactions to compute. Existing BSA runtimes either fix one physical execution plan per block geometry, which limits adaptation to varying masks and graphics processing units (GPUs), or plan each mask at runtime, which adds preparation overhead to every request. Because masks change across requests, this per-mask planning must be repeated, so its cost can outweigh the execution-time savings. We present Tessera, a runtime for dynamic BSA that decouples logical masks from GPU execution through two-layer physical execution plans that preserve the specified attention interactions. First, its physical mapping layer retains, combines, or subdivides logical blocks into physical tiles suited to different mask shapes and GPU architectures. Second, its task organization layer groups and schedules tiles within GPU tasks to reuse data, expose parallelism, and overlap data movement with computation. Third, its plan selector chooses a plan for each request with low overhead, through either a plan table built from offline profiling or a calibrated cost model, which extends selection to masks outside the profiled distribution and to a new GPU with about 100 calibration requests. Implemented with specialized CUDA kernels for four NVIDIA GPU generations and evaluated on 2,312 real attention masks and two video diffusion models, Tessera achieves up to 2.88×2.88\times BSA request speedup over baseline systems in these models and speeds up their 50-step loop by 1.211.21--1.24×1.24\times.

查看此版本解读 →查看此版本原文 ↗