Papers for

graphics hardware designers

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

Video diffusion acceleration improves with feedback driven caching

Heuristics are Not Enough: Calibrated and Corrected Caching for Video Diffusion Acceleration

Abstract: Feature caching has become a mainstream training-free strategy for accelerating video diffusion models by reusing intermediate outputs across denoising steps. However, existing adaptive methods rely on heuristic difference measures misaligned with actual generation quality, employ a single global threshold that ignores heterogeneous phase dynamics, and never validate their budget estimates against true approximation error, allowing systematic bias to propagate uncorrected. We propose \textbf{AlignCache}, a closed-loop caching framework that directly aligns scheduling decisions with their true influence on the final generated video through three tightly coupled components: (1) phase-adaptive budget routing that partitions the denoising trajectory into structurally distinct phases, each governed by an independent threshold and a staleness-aware guard; (2) closed-loop threshold calibration that exploits counterfactual error measurement at the classifier-free guided output level to adjust decision boundaries online via an EMA feedback loop; and (3) momentum-augmented draft synthesis combining direction-magnitude gated residual extrapolation with anchor-guided unconditional correction. By transforming scheduling from a static risk accumulator into a feedback-driven, self-correcting controller, AlignCache consistently achieves superior acceleration-quality trade-offs across state-of-the-art video generation models. Our code is available at https://github.com/jiangjyjy/AlignCache.

Mon 12 OctComputer Vision and Pattern RecognitionArtificial Intelligence
The gist
Generating videos using diffusion models is often slow because the computer has to process many steps. Previous methods sped this up by storing and reusing some parts during generation, but they used simple rules that didn't always work well and caused errors to add up. The authors created AlignCache, a smarter system that watches how caching decisions affect video quality and adjusts its approach automatically for different phases of the process. This feedback-based method helps generate videos faster without losing quality.
Open → 2610.16545v1

AttnFuse speeds up transformer attention with fused GPU kernels

AttnFuse: A Composable DSL for Compiling Attentions to Fused GPU Kernels

Abstract: Modern AI systems are built on the Transformer architecture, whose core operation, attention, accounts for the majority of computation and memory cost. Researchers continually propose new attention variants to improve quality, efficiency, or context length, but each variant currently requires expert-written GPU code to run at usable speeds. PyTorch's recent flex\_attention lets researchers describe custom attention patterns in Python and compile them to fused kernels, but its design is limited to modifications applied after the central matrix multiplication, excluding Rotary Position Embedding (RoPE), the positional encoding used by every major LLM. We introduce AttnFuse, a small DSL for attention that makes pre-multiplication transformations like RoPE first-class operations. Researchers compose ten high-level building blocks to describe a variant, and AttnFuse's compiler emits a single fused GPU kernel for the entire computation. On an RTX 3090, AttnFuse achieves a 2.10$\times$ speedup over flex\_attention on the RoPE+causal pattern. On an H100, it runs a full Llama-3-8B training step within 5\% of PyTorch's hand-tuned backend. Our investigation reveals the Rotation Calculus: whether to fuse RoPE or apply it separately depends on the GPU's compute-to-bandwidth ratio, with a derived crossover that matches measurement. AttnFuse demonstrates that a small, attention-specific compiler can close the gap between flexible research code and production kernels.

Fri 11 SeptMachine Learning
The gist
Transformer models use attention operations that take up most of their computing power. The authors created AttnFuse, a small language that helps programmers combine all parts of attention computation, including special position encoding like RoPE, into one fast GPU program. This approach runs faster than recent alternatives and comes close to manually optimized code. They also found rules about when to combine certain steps depending on the GPU’s hardware. AttnFuse shows it's possible to balance flexibility for researchers with speed for real use.
Open → 2609.13612v1