Repository navigation
Conversation
Fridge003
requested review from
hebiao064,
ispobock and
merrymercy
as code owners
September 14, 2026 05:24
Collaborator
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Recreates #39275 after its branch was accidentally deleted. Restores the same head commit (
f33320f18a) and code diff.Motivation
Test upgrading
sgl-deep-gemmfrom 0.1.7 to 0.2.0rc0 while preserving SGLang batch-invariant outputs. DeepGEMM 0.2 defaults BF16 GEMM to cuBLASLt, whose reduction can change with batch size; the batch-invariant override must explicitly select the deterministic kernel.Modifications
sgl-deep-gemmto 0.2.0rc0.finally; retain compatibility with older wheels lacking the mode API.Accuracy Tests
Controlled GPU validation used the original PR #39275 head (
c6c4e226f2) with the same fix, holding model snapshots, input caches, and other packages fixed.All exact-equality/KL thresholds are unchanged. The full B200 batch-invariant unit file passes all 7 tests. The migrated patch and both resulting files are identical to the validated fix; Python 3.12 pre-commit checks pass after migration.
Speed Tests and Profiling
A focused same-B200 check (BF16 N=K=4096, M=1/16/64/256) measured eager latency at 14.39–14.77 µs on 0.1.7 versus 14.51–14.89 µs with the fix; CUDA-graph replay was 14.33–14.35 µs versus 10.25–12.29 µs. These four shapes are not a full serving benchmark.
Checklist
Review and Merge Process
/tag-and-rerun-ci,/tag-run-ci-label,/rerun-failed-ciCI States
Latest PR Test (Base): 🚫 Run #34896686768
Latest PR Test (Extra): ❌ Run #34896686877
Latest PR Test (AMD ROCm 10): ❌ Run #34896686574