Repository navigation
Support Blackwell Block Scale FP8 Gemm - #4278
Merged
Merged
Conversation
elfiegg
requested review from
BBuf,
HandH1998,
ispobock,
merrymercy,
yizhang2077 and
zhyncs
as code owners
March 10, 2025 23:31
Collaborator
Author
Contributor
|
@elfiegg Can you help fix the build error and lint CI failure? |
zhyncs
reviewed
Mar 12, 2025
Contributor
|
Hi @elfiegg I will merge this first. Once I have access to the B200, I can help with testing. Thank you for your contribution! |
hebiao064
pushed a commit
to hebiao064/sglang
that referenced
this pull request
Mar 13, 2025
0826joyce
pushed a commit
to 0826joyce/sglang-perf-opt
that referenced
this pull request
May 19, 2026
2 of 3 tasks
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.
Motivation
We observed ~1.2x e2e perf improvement on Blackwell with CUTLASS for Deepseek V3/R1 when # request = 3000, ISL=OSL=1000.
(The accurate number will be confirmed tonight or tomorrow)
Below is per kernel stats compared to Triton W8A8 on Blackwell. We've noticed for 16 =< batch_size =<128, CUTLASS tends to perform worse than Triton but this will be fixed in the near future.
Sampled DeepSeek-V3 FP8 Blockwise Scaled Matmul Performance
N=24576, K=7168
N=32768, K=512
N=7168, K=16384
N=7168, K=18432
Modifications
fp8 blockwise gemm. Dependes on #4277 .
Checklist