[PR #340] feat(buffer): implement dynamic buffer resizing for simplicity #525

Open
opened 2026-10-27 21:03:39 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/deepseek-ai/DeepEP/pull/340
Author: @MengAiDev
Created: 7/30/2025
Status: 🔄 Open

Base: main ← Head: 39


📝 Commits (1)

  • f79d3e0 feat(buffer): implement dynamic buffer resizing for simplicity and deadlock prevention

📊 Changes

4 files changed (+52 additions, -11 deletions)

View changed files

📝 README.md (+14 -1)
📝 csrc/deep_ep.cpp (+15 -8)
📝 csrc/deep_ep.hpp (+17 -1)
📝 deep_ep/buffer.py (+6 -1)

📄 Description

…adlock prevention

  • Add support for dynamic buffer resizing in Buffer class
  • Enable resizing based on maximum tokens observed
  • Simplify design and eliminate potential deadlocks from queue-based communication
  • New parameter dynamic_buffer_resize added to Buffer constructor
  • Update README.md to describe new approach and how to enable it

For issue : https://github.com/deepseek-ai/DeepEP/issues/39


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/deepseek-ai/DeepEP/pull/340 **Author:** [@MengAiDev](https://github.com/MengAiDev) **Created:** 7/30/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `39` --- ### 📝 Commits (1) - [`f79d3e0`](https://github.com/deepseek-ai/DeepEP/commit/f79d3e06af6d915c771be8585fd8427ed9010a4a) feat(buffer): implement dynamic buffer resizing for simplicity and deadlock prevention ### 📊 Changes **4 files changed** (+52 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+14 -1) 📝 `csrc/deep_ep.cpp` (+15 -8) 📝 `csrc/deep_ep.hpp` (+17 -1) 📝 `deep_ep/buffer.py` (+6 -1) </details> ### 📄 Description …adlock prevention - Add support for dynamic buffer resizing in Buffer class - Enable resizing based on maximum tokens observed - Simplify design and eliminate potential deadlocks from queue-based communication - New parameter `dynamic_buffer_resize` added to Buffer constructor - Update README.md to describe new approach and how to enable it For issue : https://github.com/deepseek-ai/DeepEP/issues/39 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#525
No description provided.