Skip to content

[diffusion] test: tighten perf baselines - #28123

Merged
mickqian merged 4 commits into
mainfrom
codex/tighten-diffusion-perf-baselines-28119
Jun 14, 2026
Merged

mickqian merged 4 commits into
mainfrom
codex/tighten-diffusion-perf-baselines-28119

Conversation

@mickqian

@mickqian mickqian commented Jun 13, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Tighten existing diffusion H100 perf baselines using the Base CI measurements from PR Improve diffusion server warmup requests #28119.
  • Only lower existing scenario values; cases/fields without a stricter CI value are left unchanged.
  • Refresh the baseline metadata date to 2026-06-13.

Data Source

Guardrail

  • scenarios numeric fields decreased: 1304
  • scenarios numeric fields increased: 0
  • Scenario and field sets are unchanged.

CI States

Latest PR Test (Base): ✅ Run #27491301212
Latest PR Test (Extra): ❌ Run #27491301151

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@github-actions github-actions Bot added the diffusion SGLang Diffusion label Jun 13, 2026
@mickqian
mickqian marked this pull request as ready for review June 13, 2026 05:09
@mickqian

Copy link
Copy Markdown
Collaborator Author

/tag-and-rerun-ci

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@github-actions github-actions Bot added the run-ci CI: run the baseline test suite on this PR label Jun 13, 2026
@mickqian
mickqian merged commit 1456eb6 into main Jun 14, 2026
89 of 93 checks passed
@mickqian
mickqian deleted the codex/tighten-diffusion-perf-baselines-28119 branch June 14, 2026 07:50
mickqian added a commit that referenced this pull request Jun 28, 2026
#29519 makes server image warmup use the model default resolution (1024x1024
for FLUX.2-klein), so warmup now specializes kernels for the real inference
shape. This shifts per-step CPU-wall-clock timing (step0 drops as it no longer
pays first-shape autotune, step2/3 rise to true steady state) WITHOUT changing
total work: e2e (483 vs 434 baseline), avg_denoise (40.72 vs 39.98) and median
are all within tolerance.

The old denoise_step_ms baseline was internally inconsistent: its steps summed
to ~27.7ms/step (110.87/4) while expected_avg_denoise_ms was 39.98, because
#28123 tightened only step2 (54.97 -> 17.64) without touching avg. Update
denoise_step_ms to the measured 1024-warmup values so it is self-consistent
with avg (sum/4 = 40.72 ~= 39.98). No code/perf regression; e2e/avg/median
baselines unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
mickqian added a commit that referenced this pull request Jun 29, 2026
…blip)

fsdp-inference's denoise step6 baseline (232.55) was depressed by #28123
("CI: tighten perf baselines", 270.89 -> 232.55) onto a single noisy CI
sample, leaving denoise_step_ms internally inconsistent (sum/n=293 vs
expected_avg_denoise_ms=263.19). The ~600ms cost is a single CPU-wall-clock
blip (per-step timers don't sync CUDA) that floats across the denoise loop:
the baseline pinned it onto step3 (650.0, done in #28781) but at runtime it
lands on step6 instead, while step3 comes back normal (~272). Both step3 and
step6 are sampled indices ({0,2,3,5,6,8}), so whichever step catches the blip
fails.

Give step6 the same ceiling as step3 (232.55 -> 650.0) so either step can
absorb the blip. avg_denoise / median / e2e baselines unchanged, so a real
compute regression still trips the aggregate checks (no masking).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Chronostasys pushed a commit to MindLab-Research/sglang that referenced this pull request Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

diffusion SGLang Diffusion run-ci CI: run the baseline test suite on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant