kernels: scalar scale A support for fp8_gemm - #33469
Merged
BBuf merged 1 commit intoAug 6, 2026
Merged
Conversation
Signed-off-by: Devashish Lal <devcode@fb.com>
DevashishLal-CB
requested review from
BBuf,
FlamingoPg,
HaiShaw,
ispobock,
merrymercy and
yizhang2077
as code owners
August 4, 2026 03:13
Contributor
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
5 tasks
BBuf
approved these changes
Aug 5, 2026
Collaborator
|
/tag-and-rerun-ci extra |
kfhfar
pushed a commit
to kfhfar/sglang
that referenced
this pull request
Aug 7, 2026
Signed-off-by: Devashish Lal <devcode@fb.com> Co-authored-by: Devashish Lal <devcode@fb.com>
b8zhong
added a commit
that referenced
this pull request
Aug 8, 2026
…aled-mm Two upstream changes needed carrying into the JIT port: - #33469 (scalar scale A support for fp8_gemm) landed in the AOT fp8_gemm_kernel.cu that this branch deletes. Ported into the JIT tree: JitGemmFp8RowwiseC3x gains a ScalarA parameter selecting Sm90ScalarBroadcast over Sm90ColBroadcast (one change here covers SM100 and SM120, which upstream had to patch separately), the sm100/sm120 dispatchers branch on scales_a.numel() == 1, SM90 goes back to Sm90ColOrScalarBroadcast with its runtime flag, and the entry point carries upstream's two validation checks. Its tests come along too. - #33400 (move JIT kernels into namespace sglang) postdates these files, so the seven new fp8_per_tensor headers are now wrapped in namespace sglang; without it host:: no longer resolves. Verified on SM103: 1024 passed, 1 skipped (SM89-only test).
saturn-acc
pushed a commit
to saturn-acc/sglang
that referenced
this pull request
Aug 16, 2026
Signed-off-by: Devashish Lal <devcode@fb.com> Co-authored-by: Devashish Lal <devcode@fb.com>
jakki-amd
pushed a commit
to jakki-amd/sglang
that referenced
this pull request
Sep 9, 2026
Signed-off-by: Devashish Lal <devcode@fb.com> Co-authored-by: Devashish Lal <devcode@fb.com>
Atituiset
pushed a commit
to Atituiset/sglang
that referenced
this pull request
Sep 10, 2026
Signed-off-by: Devashish Lal <devcode@fb.com> Co-authored-by: Devashish Lal <devcode@fb.com>
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.
AOT kernel changes for #32994
Checklist
Review and Merge Process
/tag-and-rerun-ci,/tag-run-ci-label,/rerun-failed-ciCI States
Latest PR Test (Base): ⏳ Run #30874136883
Latest PR Test (Extra): ✅ Run #31022516137