mirror of
https://github.com/deepseek-ai/DeepEP.git
synced 2026-11-05 00:47:32 +00:00
[PR #232] [CLOSED] Optimize get_dispatch_layout from 170us to 45us #475
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/DeepEP#475
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/DeepEP/pull/232
Author: @fzyzcjy
Created: 6/20/2025
Status: ❌ Closed
Base:
main← Head:feat/opt_get_dispatch_layout📝 Commits (10+)
be2eed8more9ecb941more9683d94more8cf6bd8moreacf108amore3e2cedeRevert "more"45fa1afRevert "more"443bfa8moreb986ccemore3ea6f58more📊 Changes
10 files changed (+249 additions, -22 deletions)
View changed files
📝
csrc/deep_ep.cpp(+135 -9)📝
csrc/deep_ep.hpp(+33 -1)📝
csrc/kernels/configs.cuh(+7 -0)📝
csrc/kernels/exception.cuh(+12 -0)📝
csrc/kernels/internode.cu(+6 -0)📝
csrc/kernels/launch.cuh(+2 -0)📝
csrc/kernels/layout.cu(+34 -3)📝
setup.py(+1 -1)📝
tests/test_intranode.py(+16 -7)📝
tests/utils.py(+3 -1)📄 Description
Quickly tested:
before
after
core change is simple, just change num SM.
The code diff is huge since I inherited code change from https://github.com/deepseek-ai/DeepEP/pull/218 but that's mostly unnecessary.
I will try to find out some time later to cleanup the code (eg still use few SM when need two stream overlap, and only use this one when do not enable two stream overlap etc), and here just quickly PR to know whether you think this looks acceptable and if anyone happens to need this then can copy-paste.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.