Skip to content

[None][perf] Fuse BF16 Wan VAE convolution and bias on B200 - #19434

Draft
daichu-nv wants to merge 3 commits into
NVIDIA:mainfrom
daichu-nv:perf/wan-vae-cudnn-conv-bias-20260918
Draft

daichu-nv wants to merge 3 commits into
NVIDIA:mainfrom
daichu-nv:perf/wan-vae-cudnn-conv-bias-20260918

Conversation

@daichu-nv

Copy link
Copy Markdown

Fuse eligible Wan VAE convolutions and bias adds with cuDNN, preserving the BF16 rounding boundary before the bias. The fast path is selected automatically for supported B200 shapes and runtime; other inputs use the existing PyTorch implementation.

FastWan2.2 TI2V 5B on one B200: 704×1280, 121 frames, three DMD steps, BF16, compilation on and CUDA graphs off. Paired full-generation measurements use three prompts and six timed requests per arm per prompt on TensorRT-LLM 1.3.0rc27.dev202609150000. Both arms include the VAE norm–SiLU optimization from #19310.

Mean of prompt medians Before After Reduction
Full-generation latency 3.5158 s 3.3814 s 3.82%

Validation: 14 production operator cases passed numerical checks; profiling confirms 495 fused calls per generation. Worst-prompt mean LPIPS across all 121 frames is 0.0000793 (limit 0.25). Dispatch, fallback and plan-cache unit tests pass.

Signed-off-by: Daisy Chu <daichu@nvidia.com>
Signed-off-by: Daisy Chu <daichu@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant