mirror of
https://github.com/deepseek-ai/DeepEP.git
synced 2026-11-05 00:47:32 +00:00
[PR #206] [MERGED] Support UE8M0 data format. #465
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#465
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/206
Author: @shifangx
Created: 6/12/2025
Status: ✅ Merged
Merged: 6/12/2025
Merged by: @LyricZhao
Base:
main← Head:shifang/ue8m0📝 Commits (1)
e767a3esupport UE8M0 data format.📊 Changes
14 files changed (+258 additions, -118 deletions)
View changed files
📝
csrc/deep_ep.cpp(+38 -19)📝
csrc/deep_ep.hpp(+2 -1)📝
csrc/kernels/CMakeLists.txt(+2 -2)📝
csrc/kernels/api.cuh(+6 -3)📝
csrc/kernels/internode.cu(+11 -4)📝
csrc/kernels/internode_ll.cu(+48 -21)📝
csrc/kernels/intranode.cu(+10 -2)📝
csrc/kernels/utils.cuh(+37 -0)📝
deep_ep/buffer.py(+16 -10)➕
install.sh(+12 -0)📝
tests/test_internode.py(+5 -0)📝
tests/test_intranode.py(+1 -0)📝
tests/test_low_latency.py(+67 -56)📝
tests/utils.py(+3 -0)📄 Description
Hi DeepEP Team,
This PR is submitted by NVIDIA and introduces support for UE8M0 (unsigned 8-bit exponent, 0-bit mantissa) data format.
Key Changes
Normal Mode:
scale_token_strideandscale_hidden_stride, which are used to calculate the scale's offset in the buffer.Low Latency Mode:
round_scaleto indicate whether round the scaling factors into power of 2.use_ue8m0to indicate whether to use UE8M0 as scaling factor format (available only withround_scale=True).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.