[GH-ISSUE #109] question about the INT4 of combine_msg in low latency mode #99

Closed
opened 2026-10-26 09:54:15 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @leehongming on GitHub (Apr 3, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/109

Hi chenggang,
We are trying to use the zero_copy mode in DeepEP with DeepGemm, but we encounter a problem.
The gemm output buffer of DeepGemm says that it should be continuous, however the return of buffer.get_next_low_latency_combine_buffer() is not continuous.
Then after reading the source code of low_latency_combine, we find that the incontinuous of low_latency_combine_buffer comes from the structure of combine_msg, which contains a INT4 and a token (hidden data).
What puzzles me is the function of the INT4. It seems to be the control part of each token, but I cannot find its assignment and usage.
And when I try to remove this INT4 in both send&recv phase of low_latency_combine, the testbench test_low_latency works well....

Originally created by @leehongming on GitHub (Apr 3, 2025). Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/109 Hi chenggang, We are trying to use the zero_copy mode in DeepEP with DeepGemm, but we encounter a problem. The gemm output buffer of DeepGemm says that it should be continuous, however the return of buffer.get_next_low_latency_combine_buffer() is not continuous. Then after reading the source code of low_latency_combine, we find that the incontinuous of low_latency_combine_buffer comes from the structure of combine_msg, which contains a INT4 and a token (hidden data). What puzzles me is the function of the INT4. It seems to be the control part of each token, but I cannot find its assignment and usage. And when I try to remove this INT4 in both send&recv phase of low_latency_combine, the testbench test_low_latency works well....
Author
Owner

@LyricZhao commented on GitHub (Apr 7, 2025):

What puzzles me is the function of the INT4. It seems to be the control part of each token, but I cannot find its assignment and usage.

Yes, it has no usages. We use it as a reserved part (internal impl has something else to do). I will remove it later in the public repo.

<!-- gh-comment-id:2781820020 --> @LyricZhao commented on GitHub (Apr 7, 2025): > What puzzles me is the function of the INT4. It seems to be the control part of each token, but I cannot find its assignment and usage. Yes, it has no usages. We use it as a reserved part (internal impl has something else to do). I will remove it later in the public repo.
Author
Owner

@LyricZhao commented on GitHub (Apr 7, 2025):

Fixed in github.com/deepseek-ai/DeepEP@42494864ba, feel free to reopen this issue. Thanks for your feedback!

<!-- gh-comment-id:2781837337 --> @LyricZhao commented on GitHub (Apr 7, 2025): Fixed in https://github.com/deepseek-ai/DeepEP/commit/42494864ba64b6520337a6d084dc209ac6be4905, feel free to reopen this issue. Thanks for your feedback!
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepEP#99
No description provided.