Skip to content

[Perf] SM120: honour SGLANG_OPT_DEEPGEMM_HC_PRENORM for the DeepSeek-V4.1 compensated mhc projection - #47658

Merged
BBuf merged 8 commits into
sgl-project:mainfrom
xulunfan:sm120-mhc-bf16x3-prenorm
Nov 9, 2026
Merged

BBuf merged 8 commits into
sgl-project:mainfrom
xulunfan:sm120-mhc-bf16x3-prenorm

Conversation

@xulunfan

@xulunfan xulunfan commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

On SM120 (Blackwell consumer/workstation, capability 12.0) the DeepSeek-V4.1
hyper-connection pre-norm always runs the batch-invariant split-K projection
(_hc_mix_stats_partial_kernel), while SM90/SM100 run the compensated
three-bf16 projection (_hc_mix_stats_bf16x3_kernel) for the same shapes.

_mix_stats_impl() already enters the fused block on SM120, because
use_fused_stats tests get_platform().is_blackwell, which covers capability
majors {10, 11, 12}. What SM120 cannot reach is the compensated branch:
use_bf16_projection needs bf16_parts, and bf16_parts is only built when
the load-time gate in deepseek_v4.py passes, which requires
(is_sm100 or is_sm90).

That gate also requires envs.SGLANG_OPT_DEEPGEMM_HC_PRENORM. The env default
is True, but arg_groups/model_hook.py turns it off for SM120:

if not envs.SGLANG_OPT_DEEPGEMM_HC_PRENORM.is_set():
    envs.SGLANG_OPT_DEEPGEMM_HC_PRENORM.set(False)

The is_set() guard means a user may opt in explicitly. Today that opt-in is
silently ignored on SM120, because the arch whitelist still rejects it: setting
the env changes nothing, and there is no log line saying so. This PR makes the
existing opt-in work. It does not change any default, on any platform.

What changes

Three arch conditions across two modules, plus routing SM120 into the branch that
does not need DeepGEMM, plus one test file that runs on this architecture:

  • deepseek_v4.py: add is_sm120 to the bf16_parts build gate, and to the
    if get_platform().is_sm90: branch that builds the bf16 triple directly.
  • deepseek_v4_mhc.py: add is_sm120 to the _mix_stats_impl gate that reads
    hc.tf32_parts / hc.bf16_parts.
  • test/registered/kernels/ops/layernorm/test_mhc_bf16x3_sm120.py: new, registered
    on 1-gpu-small, which scripts/ci/runner_configs.yml maps to 1-gpu-5090, so
    the SM120 branch executes in CI rather than skipping on a mismatched card.

SM120 joins the SM90 branch on purpose. The else branch also builds tf32 parts
and dispatches deep_gemm.tf32_hc_prenorm_gemm, and that kernel does run here --
sgl-deep-gemm is a fork and ships sm120_tf32_hc_prenorm_gemm, present in the
0.2.2 build we measured and in the 0.2.3.post2 wheel main pins. We still take
the pure-Triton SM90 branch, because tf32 is the less accurate of the two on this
card: against an fp64 mirror of the reduce arithmetic it sits 1.61e-05
max-relative at M=1024 where the split-K path SM120 runs today sits 2.15e-06, and
in band bf16x3 is both faster and closer to the reference (6.93e-06 vs 1.65e-05 at
M=4096). The tf32 branch also builds parts at every row count, so taking it would
move rows below 4096 onto that kernel by default -- a change this PR does not
measure. Adding is_sm120 to the whitelist without this routing is a different,
untested change and is not what this PR proposes.

Mechanism boundary: which calls this actually reaches

Two gates are in series, and both have to hold:

  1. load time — arch whitelist (this PR) and SGLANG_OPT_DEEPGEMM_HC_PRENORM,
    which decides whether bf16_parts is built at all;
  2. run time — use_bf16_projection = bf16_parts is not None and (hopper_medium or 4096 <= rows <= 65536).

hopper_medium is SM90-only, so on SM120 the compensated projection is reached
only for row counts inside [4096, 65536]. Decode (rows == 1) keeps
hc_mix_stats_sinkhorn on both arms; long-output and small-batch prefill shapes
are likewise outside the band. Under --enable-decoder-swa-bounded-replay, 49%
of the 80 mix_stats calls per step land in band (2360 bf16x3 vs 2440 partial
over 60 steps); the out-of-band calls are small-row and already cost 0.020 ms
each. That is why the family saving is 38.5 ms/step rather than the full 50.05
ms/step the projection kernel alone accounts for.

One caveat for anyone reading a per-kernel diff: the two wrappers share
_hc_mix_reduce_sinkhorn_kernel. Identical call count (4800 over 60 steps), but
2.72 -> 0.84 ms/step, because the reduce gets cheaper once the projection output
changes shape. A shared kernel is not automatically excluded from the delta.

Measurements

8x NVIDIA RTX PRO 5000 Blackwell 72GB (SM120, capability (12,0)), PCIe only
(nvidia-smi topo -m all PHB, no NVLink), torch 2.14.1+cu130, SGLang 0.5.22 +
sgl-deep-gemm 0.2.2, a deepseek_v41 MoE checkpoint (hidden_size 5120, 40
layers, hc_mult 4), TP8/EP8, --chunked-prefill-size 16384,
--mem-fraction-static 0.78, --enable-decoder-swa-bounded-replay,
--context-length 131072.

Workload: single stream, 60 requests x 8192 input tokens x 1 output token,
prefix cache flushed before each run, profiler started before traffic, window
purity checked from the engine log (#new-token: 8192 delta == 60).

2x2 over the two conditions (same day, same machine, ms per 8192-token prefill
step):

arch whitelist env projection kernel GPU busy/step mhc family TTFT avg / p50 max_total_num_tokens
off unset (hook -> False) partial 50.05 482.52 94.76 517.8 / 492.5 6,168,576
on unset (hook -> False) partial 50.14 490.54 - 526.2 / 492.7 6,168,576
off =1 partial 50.10 490.02 94.81 522.8 / 492.5 6,168,576
on =1 bf16x3 13.11 447.66 56.02 455.0 / 455.0 6,018,048

Both single-condition arms are no-ops (p50 492.5 / 492.7 / 492.5, and the
projection kernel stays _hc_mix_stats_partial_kernel at 50.05 / 50.14 /
50.10 ms per step): the two conditions are in series, which is the point of the
2x2. With both, GPU busy drops 42.36 ms/step (-8.6%) against the same-day stock
control and 34.86 ms/step (-7.2%) against our production baseline; wall-clock
p8k p50 drops 491.1 -> 455.0 ms (-7.35%), two warm repeats 455.0 / 456.3
(0.3% spread). Cost: the bf16 weight triple is resident, so the KV pool shrinks
6,168,576 -> 6,018,048 tokens (-2.44%).

The first request after boot pays a one-off Triton compile (that run shows TTFT
avg 709.2 / p99 3220.4 ms while p50 is already 457.1); steady-state numbers
above are from warm runs.

Per-kernel census of the same two traces (60 steps each, TP-0) decomposes the
family delta of -38.74 ms/step: partial 50.05 -> 0.82, bf16x3 0 -> 13.11,
_hc_mix_reduce_sinkhorn_kernel 2.72 -> 0.84, post side
(mhc_post_combine_norm_prefill_kernel<128> + mhc_post_tilelang_kernel +
_mhc_post_split_h_kernel) 28.99 -> 28.47. Sum -38.52; the remaining 0.22 sits
in the other small quant/norm kernels in that bucket. No tf32 kernel is hit in
either window, i.e. SM120 takes the pure-bf16 route and the DeepGEMM tf32 path is
never reached.

Per-call cross-check against a standalone micro-benchmark at M=8192, K=20480,
mix=24: partial 1.403 ms -> bf16x3 0.369 ms (3.80x). In the serving trace the
in-band calls go 1.25 ms -> 0.333 ms (3.8x), so the micro-benchmark ratio
reproduces in the engine.

For reference, the same checkpoint on 8x H20 (SM90) runs bf16x3 by default and
spends 10.8 ms/step in it; the SM120 mhc family was 94.76 ms/step before this
change and is 56.02 after, against H20's 66.23.

Numerics

Kernel level, M=4096, K=20480, mix=24, checkpoint values rms_eps=1e-20,
hc_eps=1e-6, sinkhorn_iters=20. Both wrappers share
_hc_mix_reduce_sinkhorn_kernel, so any difference comes from the projection
kernel alone. Reference is a fp32 torch mirror of the reduce kernel's arithmetic.

comparison pre max abs post max abs comb max abs max rel
bf16x3 vs partial (current) 1.37e-06 3.46e-06 6.26e-07 1.58e-05
partial vs fp32 reference 1.40e-06 4.59e-06 4.77e-07 1.32e-05
bf16x3 vs fp32 reference 1.67e-06 6.38e-06 8.64e-07 1.84e-05

The perturbation introduced by the swap is the same order as the deviation the
incumbent path already has from fp32. bf16x3 is not more accurate here, just
different at the 1e-05 relative level.

End to end: 226 generated arithmetic questions, each padded to 5570-5572 prompt
tokens so the prefill lands inside the projection band, padding unique per
question and the cache flushed before the run (cached_tokens == 0 for all 226,
verified). Greedy, 12 output tokens, first-integer scoring. All three arms score
226/226, McNemar b01 = b10 = 0, exact p = 1.0. Per-question text identity and
logprob drift between the changed arm and the baseline (137/226 identical,
median |dlp| 3.44e-02) are at the level of a same-day A-A control that runs the
identical kernels from a different boot (144/226, median |dlp| 2.79e-02), so the
end-to-end instrument cannot resolve this change; accuracy saturates at 100% on
every arm. The kernel-level table above is the discriminating measurement, and we
are not claiming the end-to-end result as one.

What we did not measure

Stating these as gaps, not as assurances:

  • Decode and the concurrency ladder were not re-measured. What the new test
    pins is dispatch, not speed: at 1 and 64 rows the compensated kernel is made to
    raise and the split-K partial kernel is asserted to run, so "decode takes the
    same path as before" is now tested. The claim that decode and higher concurrency
    are unaffected performance-wise still rests on the row-band mechanism above
    (rows == 1 never enters the compensated path), not on data from this branch.
  • SM121 and GB10 are still unmeasured. The test's guard admits both sm 120
    and sm 121, but nothing has executed it on 121, so treat the guard as intent
    rather than coverage.
  • What we did not measure about tf32 is the trade below 4096 rows, not whether
    it runs.
    deep_gemm.tf32_hc_prenorm_gemm does instantiate on SM120, and it is
    reachable from DeepseekV4DecoderLayerBase.hc_pre when the env is on and rows

    = 1024. In the deployment we traced it is never taken -- 0 tf32 kernels across
    a 60-step trace covering ~1000 requests -- so this PR does not depend on it
    either way. What we did not measure is its accuracy and speed for the
    [32, 4096) band, which is exactly the range the else branch would move onto
    it by default; that is why the tf32 route stays out of this PR.

  • We do not know why SM120 is excluded today. We report two facts (the hook
    carries an is_set() guard, and the tf32 route is both less accurate here and
    unmeasured below 4096 rows) and draw no conclusion about upstream's original
    reason. If there is a known SM120 blocker on the compensated path, this PR is
    wrong and we want to hear it.
  • Unmeasured shapes: the form without --enable-decoder-swa-bounded-replay
    (a different share of calls is in band).
  • The cost is paid as soon as the env is on, regardless of whether any call
    lands in band, because the weight triple is built at load time: -2.44% KV
    tokens. For a decode-only workload this PR is a pure capacity loss.

Related work

Checklist

  • Format: ruff format --check clean on all three files (the wrapped and (...)
    form is what the formatter produces; the repo sets no line-length, so
    this is the 88-column default).
  • Lint: ruff check --select=F401,F821,F823,UP037 clean.
  • Accuracy: no regression expected; kernel-level deviation is at the
    incumbent path's own level (table above). Now asserted rather than
    promised: the new test compares hc_mix_stats_sinkhorn_bf16x3 against an
    fp64 mirror of the reduce arithmetic at the tolerances the existing Hopper
    test already uses (rtol=1e-5, atol=2e-6), and SM120 meets them.
  • Test discrimination, run on the same 8x RTX PRO 5000 cards as the
    measurements above: 6 passed with the change; reverting the two arch
    conjuncts and the routing in a shadow copy of the package turns exactly the
    three gated cases red (the SM120 opt-in built nothing, in-band rows did not reach the compensated projection x2) and leaves the two out-of-band
    cases plus the weight-split case green. That is a local run, not CI: this
    PR has no run-ci label yet, so nothing here claims the suite has executed.
  • Performance: measured above, single variable, same-day control arm, 2x2.
  • No new dependency, no default behaviour change on any platform.

CI States

Latest PR Test (Base): ✅ Run #42553077789
Latest PR Test (Extra): ❌ Run #42553077744
Latest PR Test (AMD ROCm 10): ✅ Run #42553077707

Tip

Base CI only covers the core cases, and its workload may not exercise your change. Use /rerun-test to run the tests your change touches, or copy this prompt for an agent:

Find the registered tests this PR affects and run them with /rerun-test, following https://github.com/sgl-project/sglang/blob/main/.agents/skills/rerun-test/SKILL.md

…V4.1 compensated mhc projection

On SM120 the DeepSeek-V4.1 hyper-connection pre-norm always runs
_hc_mix_stats_partial_kernel, while SM90/SM100 run the compensated
_hc_mix_stats_bf16x3_kernel for the same shapes. The load-time gate that
builds bf16_parts requires (is_sm100 or is_sm90), so the explicit opt-in
that the is_set() guard in arg_groups/model_hook.py is designed to allow
is silently ignored on SM120.

Add is_sm120 to the two arch gates and route SM120 into the SM90 branch,
which builds the bf16 triple with pure Triton and does not require
DeepGEMM; the tf32 branch is left untouched because
deep_gemm.tf32_hc_prenorm_gemm has not been verified on this card.

Measured on 8x RTX PRO 5000 (SM120, PCIe only), single stream, 60 x 8192
input tokens: with both conditions on, GPU busy 482.52 -> 447.66 ms per
prefill step (-8.6% against a same-day stock control), wall-clock p50
491.1 -> 455.0 ms, mhc family 94.76 -> 56.02 ms/step. Either condition
alone is a no-op. Cost: the bf16 weight triple is resident, so the KV
pool shrinks 6,168,576 -> 6,018,048 tokens (-2.44%). Kernel-level
deviation against a fp32 reference is at the incumbent path's own level.
No default behaviour changes on any platform.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

Pins the three things the change claims, in one file registered on
1-gpu-small (scripts/ci/runner_configs.yml maps that tier to 1-gpu-5090, so
the SM120 branch executes here instead of skipping on a mismatched card):

- with SGLANG_OPT_DEEPGEMM_HC_PRENORM opted in, SM120 builds the bf16 triple
  and never the tf32 one, even when ENABLE_JIT_DEEPGEMM is on and
  deep_gemm.tf32_hc_prenorm_gemm exists; with the env unset nothing is built,
  so the default pays no resident memory;
- rows inside [4096, 65536] reach hc_mix_stats_sinkhorn_bf16x3 and match an
  fp64 mirror of the reduce arithmetic at the tolerances the existing Hopper
  test uses (rtol 1e-5, atol 2e-6);
- rows outside that band (decode at 1 row, small prefill at 64) stay on the
  split-K partial kernel, asserted by making the compensated kernel raise.

Ran on 8x RTX PRO 5000 (capability (12,0)), sglang 0.5.22: 6 passed. Reverting
the two arch conjuncts and the routing in a shadow copy of the package turns
exactly the three gated cases red and leaves the other three green, so the
file discriminates on this change rather than on a diff being present.
@xulunfan

xulunfan commented Nov 1, 2026

Copy link
Copy Markdown
Contributor Author

@BBuf @DarkSharpness one question about the arch whitelist this PR touches, because the answer decides whether the PR is right.

arg_groups/model_hook.py disables SGLANG_OPT_DEEPGEMM_HC_PRENORM on SM120 behind an is_set() guard, so a user can opt in - and that guard is not unique inside the block. What is unique is that the opt-in cannot work: the arch condition is tested in the very same predicate that reads the env, so the env alone never gets past it, and setting it changes nothing, logs nothing and fails nothing. Three of the neighbouring setters state their reason in a comment (FP8 wo_a, top-k v2, the indexer pair); the prenorm line carries none.

So: is SM120 excluded from bf16_parts because of a known blocker on the compensated path, or because nobody has run it there? If it is the former, this PR is wrong and we would like to know which constraint we are missing. If it is the latter, this PR only opens the door that is already there - no default changes on any platform, and only a caller that sets the env pays the resident weight triple.

Two pieces of evidence, since "trust us, we measured" is not much on its own.

  1. The second commit adds test/registered/kernels/ops/layernorm/test_mhc_bf16x3_sm120.py, registered on 1-gpu-small - which scripts/ci/runner_configs.yml maps to 1-gpu-5090, so SM120 executes the branch instead of skipping on a mismatched card. It pins three things: the opt-in builds the bf16 triple and never the tf32 one, even with ENABLE_JIT_DEEPGEMM on and deep_gemm.tf32_hc_prenorm_gemm present; rows inside [4096, 65536] reach hc_mix_stats_sinkhorn_bf16x3 and match an fp64 mirror of the reduce arithmetic at the tolerances the existing Hopper test already uses (rtol=1e-5, atol=2e-6); and rows outside that band (1 and 64) are asserted to stay on the split-K partial kernel by making the compensated one raise.
  2. Discrimination was checked on the same 8x RTX PRO 5000 cards as the measurements in the description: 6 passed with the change; reverting the two arch conjuncts and the routing in a shadow copy of the package turns exactly the three gated cases red and leaves the other three green. Numerics are not a regression either way - bf16x3 deviates from an fp32 mirror by 1.84e-05 relative, the incumbent partial path by 1.32e-05, so the swap moves the error at the same order rather than raising it.

What we are not claiming: no CI has run on this PR yet (it still needs a run-ci label, and we cannot add labels ourselves); decode and the concurrency ladder were not re-measured for speed; tf32_hc_prenorm_gemm on SM120 is still unverified, which is why SM120 is routed away from it; and the SM121 half of the test's guard has never been executed.

We are not asking to flip the SM120 default in this PR. The cost lands as soon as the env is on - -2.44% KV tokens on every SM120 deployment, whether or not any call reaches the band - so if a default change is wanted at all, the exclusion reason should probably be written down first, which is also what the question above is about.

run_suite executes a registered file as `python3 file.py -f`
(ci_utils.run_unittest_files; the fork worker does runpy.run_path with
run_name="__main__"), so a pytest-style file without that block collects
nothing and the tests never execute. test/README.md requires the block, and
collect_tests() raises ValueError when an enabled registry lacks it, which
would fail the whole base-b shard at collection.

Adds the pytest form the README specifies -- same shape as the sibling mhc
tests in this directory. Verified with ruff 0.15.1 (check + format), isort
7.0.0 and codespell 2.4.1 on the patched file.
Measured on capability (12,0): sgl-deep-gemm is a fork and ships
sm120_tf32_hc_prenorm_gemm, so the tf32 branch below is reachable and does
run on SM120. What keeps us off it is measurement, not availability --
against an fp64 mirror of the reduce arithmetic tf32 sits 1.61e-05
max-relative at M=1024 where the split-K path SM120 runs today sits
2.15e-06, and it builds weight parts at every row count rather than only
where the compensated projection is used.
@xulunfan

xulunfan commented Nov 2, 2026

Copy link
Copy Markdown
Contributor Author

Self-correction on the comment above: we have now verified the thing we called unverified, and the answer changes our rationale, not the patch.

deep_gemm.tf32_hc_prenorm_gemm does run on SM120. sgl-deep-gemm is a fork of DeepGEMM, and the 0.2.2 build we measured ships impls/sm120_tf32_hc_prenorm_gemm.cuh plus the matching _C.so symbols (sm90_/sm100_/sm120_tf32_hc_prenorm_gemm); the 0.2.3.post2 wheel main pins has the same. Dispatched through hc_mix_stats_sinkhorn_deepgemm at M=1024 on capability (12,0) it returns finite output (pre=(1024, 4)). Upstream deepseek-ai/DeepGEMM really does reject arch majors outside 9/10 -- we read the wrong package.

Why the SM90 branch is still the right call, measured against an fp64 mirror of _hc_mix_reduce_sinkhorn_kernel:

  • tf32 sits 1.61e-05 max-relative (pre) at M=1024, where the split-K path SM120 uses today sits 2.15e-06;
  • in band, bf16x3 is closer to the reference than tf32 as well (6.93e-06 vs 1.65e-05 at M=4096);
  • the tf32 branch builds weight parts at every row count, so opting into it would move the [32, 4096) band onto that kernel by default -- a change we have measured neither accuracy nor speed for.

The body and the code comment now carry these measurements instead of "unverified". The question we asked is still open and we still have no answer for it: was the SM120 opt-out a known blocker on the compensated path, or the absence of verification? If it is the former, say so and we will close this.

One unrelated fix rode along in the same push: the new test file lacked the if __name__ == "__main__": entry test/README.md requires, so run_suite would have executed none of its cases.

@BBuf

BBuf commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

[BBuf Review Agent] @xulunfan The code keeps the SM120 default off and limits the resident-weight cost to explicit opt-ins. @DarkSharpness, was the bf16x3 exclusion tied to a known blocker, or are we OK opening this path?

@BBuf BBuf left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Please wait for the SM120 CI cases to pass.

@BBuf

BBuf commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

/tag-and-rerun-ci

@github-actions github-actions Bot added the run-ci CI: run the baseline test suite on this PR label Nov 5, 2026

@BBuf BBuf left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[BBuf Review Agent] LGTM.

@xulunfan

xulunfan commented Nov 5, 2026

Copy link
Copy Markdown
Contributor Author

/rerun-failed-ci

3 similar comments
@BBuf

BBuf commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

/rerun-failed-ci

@BBuf

BBuf commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

/rerun-failed-ci

@BBuf

BBuf commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

/rerun-failed-ci

@BBuf

BBuf commented Nov 7, 2026

Copy link
Copy Markdown
Collaborator

[BBuf Review Agent] Could you merge the latest main into this branch? CI's maintenance gate won't run the tests until it does.

@BBuf

BBuf commented Nov 7, 2026

Copy link
Copy Markdown
Collaborator

/rerun-failed-ci

@BBuf

BBuf commented Nov 7, 2026

Copy link
Copy Markdown
Collaborator

/rerun-failed-ci

@BBuf

BBuf commented Nov 8, 2026

Copy link
Copy Markdown
Collaborator

[BBuf Review Agent] @xulunfan these still fail after a rerun, and I can't tell from the logs whether it's this PR. Could you take a look?

  • base-c-test-8-gpu-b300 (0): {\"file\": \"test/registered/kernels/ops/diffusion/test_qwen_output_bias_absorption.py\", \"passed\": false, \"elapsed\": 2}" identifies a failed test file, but the tail contains no exception or trace

@xulunfan

xulunfan commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

@BBuf Took a look — that failure is not from this PR.

The failing file is main's own diffusion test. In the log for base-c-test-8-gpu-b300 (0) (job 128498658358) the traceback is mid-log rather than at the tail:

Installing python extras: [dev,runai,tracing]
...
ModuleNotFoundError: No module named 'diffusers'
✗ FAILED: test/registered/kernels/ops/diffusion/test_qwen_output_bias_absorption.py returned exit code 1

That leg installs python[dev,runai,tracing] with no diffusion extra, so diffusers is absent. The same test passes on the base-b-kernel-unit 4-gpu-b200 leg, which installs python[dev,runai,tracing,diffusion] (diffusers 0.37.0 present) and reports passed: true. So it's an install-extras gap on the base-c b300 leg, introduced when #48366 registered this test into stage="base-c" without the matching extra; main's scheduled CI is red on the same leg too. This PR only touches the mhc layernorm path and deepseek_v4, nothing under diffusion.

On this PR's side: the SM120 dispatch test ran 6 passed / 0 skipped on an SM12x runner (base-b-test-1-gpu-small (7)), and the CPU dispatch test is green. Could you merge when you get a chance? The only remaining red is that repo-wide infra leg.

@BBuf

BBuf commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

[BBuf Review Agent] @xulunfan Confirmed at this head: the B300 leg installs without the diffusion extra, but the test imports diffusers at module load. The test and CI setup are unchanged by this PR, so I'm treating this failure as unrelated.

@xulunfan

xulunfan commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for confirming. With that leg treated as unrelated, the PR is ready on our side — leaving the merge to you whenever convenient.

@BBuf
BBuf merged commit 4fc9121 into sgl-project:main Nov 9, 2026
159 of 171 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deepseek run-ci CI: run the baseline test suite on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants