Skip to content

[diffusion] Speed up LingBot high-quality VAE decode - #36024

Merged
BBuf merged 1 commit into
mainfrom
bbuf/lingbot-world-high-bf16-vae
Aug 24, 2026
Merged

BBuf merged 1 commit into
mainfrom
bbuf/lingbot-world-high-bf16-vae

Conversation

@BBuf

@BBuf BBuf commented Aug 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • keep LingBot VAE weights resident in FP32 for lossless requests
  • use BF16 VAE decode only for quality=high
  • forward realtime request quality into sampling params
  • document the realtime quality modes for LingBotWorld v1 and v2

Performance

1x H200, 832x480x9, 4 steps, native eager, ABBA:

Model FP32 VAE e2e BF16 VAE e2e Change
LingBotWorld 2.360192 s 2.273344 s +3.68%
LingBotWorld v2 2.361918 s 2.272181 s +3.80%

Denoise time is unchanged; the gain comes from VAE decode.

Quality

Model SSIM PSNR
LingBotWorld 0.990435 46.830624 dB
LingBotWorld v2 0.978104 42.646672 dB

Both main and candidate outputs were stable across repeated runs. A separate
LingBotWorld lossless ABBA kept all four MP4 files byte-exact, including after
a high-quality request. The rebased lossless/high smoke reproduced the same
SHA256 values.

Validation

  • 36 targeted unit tests passed on H200
  • pre-commit passed for all changed files
  • LingBotWorld v1/v2 high ABBA passed
  • rebased LingBotWorld lossless/high model smoke passed
  • every model group cleaned its isolated cache; final weight count: 0

CI States

Latest PR Test (Base): ✅ Run #32613413152
Latest PR Test (Extra): ✅ Run #32648144196
Latest PR Test (AMD ROCm 7.2): ⏳ Run #32613413134

@mintlify

mintlify Bot commented Aug 23, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
lmsysorg 🟢 Ready View Preview Aug 23, 2026, 2:41 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@github-actions github-actions Bot added documentation Improvements or additions to documentation diffusion SGLang Diffusion labels Aug 23, 2026
@BBuf BBuf added the run-ci CI: run the baseline test suite on this PR label Aug 23, 2026
@BBuf
BBuf marked this pull request as ready for review August 23, 2026 13:09
@BBuf BBuf added run-ci-extra CI: also run the extra suite (requires run-ci) bypass-fastfail labels Aug 23, 2026
@BBuf

BBuf commented Aug 23, 2026

Copy link
Copy Markdown
Collaborator Author

/tag-and-rerun-ci extra

@BBuf BBuf added the mergeable label Aug 23, 2026
@BBuf
BBuf merged commit 9866fe9 into main Aug 24, 2026
280 of 327 checks passed
@BBuf
BBuf deleted the bbuf/lingbot-world-high-bf16-vae branch August 24, 2026 06:13
longxin9715 added a commit to longxin9715/sglang that referenced this pull request Aug 24, 2026
…n-transport1

* 'main' of https://github.com/sgl-project/sglang: (326 commits)
  [diffusion] feat: cache LoRA-merged weights in files the page cache can hold (sgl-project#36062)
  [diffusion] Speed up LingBot high-quality VAE decode (sgl-project#36024)
  [diffusion] Honor XDG cache for model overlays (sgl-project#36019)
  Support streaming session on NPU (sgl-project#32597)
  fix(xpu): read enable_deterministic_inference from the config bag (sgl-project#36149)
  xeon ci fail fast strategy change (sgl-project#36146)
  [diffusion] Fix Hunyuan QKV pack indexing at production video shapes (sgl-project#36009)
  [diffusion] Refresh quality and BCG benchmark skills (sgl-project#36016)
  [MoE] Gather the cutlass MoE activation and its scales in one launch (sgl-project#34915)
  [diffusion] feat: add plain component weight overrides (sgl-project#36086)
  [diffusion] feat: support loading mixed w4a8 text encoders (sgl-project#36037)
  [diffusion] Default Hunyuan VAE to tiled decode (sgl-project#36012)
  fix(xpu): enable compressed-tensors FP8 W8A8 on XPU (RedHatAI FP8-dynamic models) (sgl-project#33057)
  chore: move cuda_vmm_utils.py under srt/utils/ (sgl-project#36053)
  [Intel XPU] Add xpu pass for biased_topk and hash_topk (sgl-project#33323)
  [CPU] Fix NUMA/core binding for DP ranks (sgl-project#32856)
  [Fix] Harden FlashAttention CUDA graph metadata bounds (sgl-project#35454)
  [XPU] Use a fused GDN kernel from sgl-kernel for Qwen3.5 (sgl-project#33354)
  [diffusion] Fuse LongCat-Image QKNorm and interleaved RoPE (sgl-project#35995)
  [diffusion] Keep LongLive2 components resident on large GPUs (sgl-project#35993)
  ...

# Conflicts:
#	python/sglang/srt/multimodal/processors/base_processor.py
#	python/sglang/srt/server_args.py

This branch was successfully deployed

1 active deployment
staging - docs — 99c745fc Deployed Aug 23, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bypass-fastfail diffusion SGLang Diffusion documentation Improvements or additions to documentation mergeable run-ci CI: run the baseline test suite on this PR run-ci-extra CI: also run the extra suite (requires run-ci)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant