Files
hao-ai-lab-FastVideo/docs
William LinandClaude Opus 5.5 500cf3b764 [perf] PAN2 sampling: Wan2.2 VAE decode kernel, split decode, fused DiT kernels
- fastvideo-kernel/wan22_vae_decode: the Wan2.2 (TI2V-5B) VAE decoder on sm_100a / sm_103a at 704x1248, built on
  first use against fastvideo-kernel's CUTLASS submodule. It frees intermediates early and carries 4 latent frames
  per pass: a 5 s video peaks at 20.3 GiB, down from 94.6 GiB in the kernel's first version, with the same output.
- WanVAEConfig.decode_kernel routes AutoencoderKLWan.decode through it where it applies (bf16 with fp32
  accumulation, about 7x faster than the fp32 decode on a B300, PSNR 61-63 dB, SSIM 0.998 against it);
  decode_kernel_parallel splits the decode over the sequence-parallel group (2, 4 or 8 GPUs) and broadcasts the
  video, with the ranks agreeing on whether every one of them could build the kernel.
- PAN2's DiT runs fused Triton kernels for Q/K RMSNorm + RoPE and LayerNorm + modulation (pan2_fusions,
  set_fused_kernels).
- PAN2PipelineConfig turns all three on (vae_decode_kernel, vae_decode_kernel_parallel, dit_fused_kernels).
- VideoGenerator copies a decoded RGB video's frames to the host once instead of once per frame.
- The PAN2 presets sample at guidance 2.5, the reference launcher's default since 2026-10-23.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 00:47:23 +00:00
..

FastVideo documentation

Canonical guides live in this directory. The Blume application in docs-site builds and publishes them at haoailab.com/FastVideo.

See Documenting FastVideo for local setup, source ownership, page structure, validation, and deployment. The existing GitHub Pages workflow publishes Blume from main with the same domain and base path. MkDocs is no longer part of the build.

Cookbook sources

Recipe metadata, shared JavaScript, and tests remain under docs/. From the repository root:

npm ci --prefix docs
npm run build:catalog --prefix docs
npm run check:cookbook --prefix docs
npm run test:cookbook --prefix docs
python -m unittest discover -s docs/tests -p 'test_*.py'

The combined browser bundle, notices, index and catalogs are generated together under assets/cookbook-config/. Do not hand-edit or commit those outputs. The site preparation builds and copies them into Blume's public assets. See the recipe authoring guide and configuration API contract before changing the schema. The capacity estimation guide covers reusable hardware/component catalogs and optional recorded inference runs in existing model manifests.