mirror of
https://github.com/deepseek-ai/DeepEP.git
synced 2026-11-05 00:47:32 +00:00
[GH-ISSUE #571] Unexpected Performance Drop Caused by Explicit deep_ep.Buffer Memory Release #352
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#352
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?
Originally created by @Eddie-Wang1120 on GitHub (Jan 26, 2026).
Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/571
Problem description
Currently, we explicitly release
deep_ep.Bufferby callingdel bufferand settingbuffer = Nonein order to free device memory:However, this approach forces the buffer to be fully re-created every time it is used again. After upgrading to a newer NVSHMEM version, this repeated creation and destruction introduces a noticeable performance regression, likely due to the increased overhead in buffer initialization and NVSHMEM internal setup.
We would like to know:
Any guidance or suggestions would be greatly appreciated.