mirror of
https://github.com/deepseek-ai/DeepGEMM.git
synced 2026-11-05 00:47:26 +00:00
[PR #25] [CLOSED] add fp8 block-wise gemm benchmark #209
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepGEMM#209
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/deepseek-ai/DeepGEMM/pull/25
Author: @BBuf
Created: 2/27/2025
Status: ❌ Closed
Base:
main← Head:main📝 Commits (1)
8933678upd📊 Changes
2 files changed (+271 additions, -0 deletions)
View changed files
➕
benchmark/README.md(+6 -0)➕
benchmark/benchmark_deepgemm_fp8_gemm.py(+265 -0)📄 Description
The script benchmark all FP8 w8a8 block-wise matrix multiplications involved in DeepSeek V3/R1 under the current tensor parallelism (TP) setting with DeepGemm and vLLM/SGLang.
Conclusion : When both m and k increase, DeepGEMM demonstrates advantages over VLLM/SGLang's triton FP8 block-wise GEMM kernel.
BUG : When
TP==16andN==7168, the DeepGEMM kernel would cause the error:In h100:
run correctness test
run benchmark
The results below represent the time taken, with the unit in milliseconds (ms).
In h200:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.