mirror of
https://github.com/deepseek-ai/DeepGEMM.git
synced 2026-11-05 00:47:26 +00:00
[PR #383] [MERGED] [SM90] Add FP8 MegaMoE support #403
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#403
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/383
Author: @AichenF
Created: 7/16/2026
Status: ✅ Merged
Merged: 9/8/2026
Merged by: @RayWang96
Base:
nv_dev← Head:megamoe_sm90_fp8_dev📝 Commits (1)
788d5d9Add SM90 FP8 MegaMoE support📊 Changes
14 files changed (+5185 additions, -10 deletions)
View changed files
📝
README.md(+30 -0)➕
csrc/apis/sm90_mega.hpp(+267 -0)➕
csrc/jit_kernels/heuristics/sm90_mega_moe.hpp(+912 -0)➕
csrc/jit_kernels/impls/sm90_fp8_mega_moe.hpp(+303 -0)📝
csrc/python_api.cpp(+2 -0)📝
deep_gemm/__init__.py(+4 -0)📝
deep_gemm/include/deep_gemm/comm/barrier.cuh(+19 -10)➕
deep_gemm/include/deep_gemm/comm/barrier_with_timeout_policy.cuh(+40 -0)➕
deep_gemm/include/deep_gemm/impls/sm90_fp8_mega_moe.cuh(+2351 -0)➕
deep_gemm/include/deep_gemm/layout/sm90_mega_moe.cuh(+75 -0)➕
deep_gemm/include/deep_gemm/scheduler/sm90_mega_moe.cuh(+170 -0)📝
deep_gemm/mega/__init__.py(+146 -0)➕
tests/bench_mega_moe_sm90.py(+320 -0)➕
tests/test_mega_moe_sm90.py(+546 -0)📄 Description
co-author: @jychen21
This PR adds an SM90 FP8 MegaMoE kernel for Hopper GPUs, executing the expert MLP as L1 + SwiGLU followed by L2.
Benchmark Results
Speedup is calculated as
DeepEP / MegaMoE - 1.H200 High Throughput
H200 Low Latency
H20 High Throughput
H20 Low Latency
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.