Skip to content

[diffusion] Refresh quality and BCG benchmark skills - #36016

Merged
BBuf merged 15 commits into
mainfrom
bbuf/diffusion-skill-quality-bcg-matrix
Aug 24, 2026
Merged

BBuf merged 15 commits into
mainfrom
bbuf/diffusion-skill-quality-bcg-matrix

Conversation

@BBuf

@BBuf BBuf commented Aug 22, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • add explicit quality and breakable CUDA graph controls to the diffusion benchmark helper
  • add a same-GPU Eager/BCG ABBA matrix with one isolated checkpoint cache and checked cleanup
  • reject missing BCG capture, fallback, serving-signature, late high-quality fusion-mount, missing perf/media, and output-hash mismatch cases
  • hash every generated artifact and require repeated eager output stability before accepting BCG parity
  • add source-backed presets for recent image/video paths, including Cosmos3 Super I2V, SANA-WM, LingBotWorld v1/v2, Wan2.2 NVFP4, TurboWan2.2, Cosmos3 Edge, and MOVA 360P
  • keep topology-changing comparators explicit: Cosmos3 Super TP2 x CFG2 is documented as faster but not lossless-equivalent
  • document model-specific BCG padding/replay contracts, quality gates, profile/media evidence, and the 1.5% repeated e2e PR threshold

Recent preset validation

Preset Hardware Result Cache cleanup
Cosmos3 Super I2V 2x H200 TP2 lossless/high/profile passed; all three MP4 hashes exact 130,639,982,566 B / 29 weights -> 0
Cosmos3 Super TP2 x CFG2 4x H200 48.0% faster than TP2; SSIM 0.914244, PSNR 29.469771 dB, so comparator only 132,713,784,697 B / 30 weights -> 0
LingBotWorld v1 1x H200 lossless/high/profile passed at 832x480x9 86,079,791,656 B / 20 weights -> 0
LingBotWorld v2 1x H200 lossless/high/profile passed at 832x480x9 86,078,601,818 B / 12 weights -> 0
Wan2.2 A14B NVFP4 1x B300 lossless/high/profile passed; SSIM 0.984127, PSNR 41.258125 dB 34,576,161,338 B / 7 weights -> 0
SANA-WM bidirectional 1x H200 correctly surfaced gated Gemma-2 dependency before model load 205,024,435,607 B / 30 weights -> 0

The Wan NVFP4 follow-up also rejected an explicit dynamic cuDNN SDPA override:
it was 2.96% slower than the precision-preserving FA default and changed the
81-frame output to SSIM 0.709545 / PSNR 17.568339 dB.

Validation

  • python3 python/sglang/multimodal_gen/test/unit/test_diffusion_benchmark_skill.py (12 passed)
  • pre-commit passed for all changed files
  • real preset coverage included eager lossless/high and one full-stage profile
  • every model group used an isolated cache and ended with zero weight files

CI States

Latest PR Test (Base): ✅ Run #32642146696
Latest PR Test (Extra): ✅ Run #32645965980
Latest PR Test (AMD ROCm 7.2): ⏳ Run #32642146590

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

BBuf commented Aug 23, 2026

Copy link
Copy Markdown
Collaborator Author

/tag-and-rerun-ci extra

@BBuf
BBuf force-pushed the bbuf/diffusion-skill-quality-bcg-matrix branch from 0f8e1a5 to 3ba0717 Compare August 23, 2026 13:22
@BBuf BBuf added the mergeable label Aug 23, 2026
@BBuf
BBuf merged commit b43931e into main Aug 24, 2026
157 of 166 checks passed
@BBuf
BBuf deleted the bbuf/diffusion-skill-quality-bcg-matrix branch August 24, 2026 05:37
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
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