[GH-ISSUE #107] Why does the execution time of a certain kernel increase by tens of times during the first few calls to the communication kernel? #98

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

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

Image
For example, the inter-node combine consumed ~300ms in the first step while the combine kernel should be only ~5ms.
The cached_notify also used ~15ms while it should be ~60us.

The kernels worked well after the first layer, any idea for this >?

Originally created by @Autumn1998 on GitHub (Apr 2, 2025). Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/107 ![Image](https://github.com/user-attachments/assets/4f7150f0-9484-425d-92af-1593bcefd764) For example, the inter-node combine consumed ~300ms in the first step while the combine kernel should be only ~5ms. The cached_notify also used ~15ms while it should be ~60us. The kernels worked well after the first layer, any idea for this >?
Author
Owner

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

The progress of the GPUs should be synced, there might be some launch gap between ranks. And after the warmup stages (e.g. first layer), the barrier will do the sync.

<!-- gh-comment-id:2774096797 --> @LyricZhao commented on GitHub (Apr 3, 2025): The progress of the GPUs should be synced, there might be some launch gap between ranks. And after the warmup stages (e.g. first layer), the barrier will do the sync.
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#98
No description provided.