deepseek-ai / deepseek-ai/DeepEP

Why does DeepEP LL kernel use double send/recv/signal buffers?

Open
#166 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Cuda
Stars
10.1k
Forks
1.4k
Avg merge
4d 1h
Merged PRs (30d)
2

Description

Hi,

I noticed that in the DeepEP LL kernel implementation, there are two sets of send/recv/signal buffers being maintained. However, it seems that during each dispatch/combine communication,the current buffer is used, while the next buffer is cleared. From my observation, both buffers are not used simultaneously.

Is there a specific reason for using double buffers here? Would creating a single buffer suffice, considering they are not active at the same time?

Appreciate any insights—thanks for your great work on this project!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.