Repository navigation
[Store] Allow local buffers alongside EGM provider pools - #4859
Merged
Merged
Conversation
Keep the client staging allocator independent of EGM pool configuration. Preserve size and transport checks, extend setup regressions, and document the optional local buffer. Co-authored-by: OpenAI Codex Signed-off-by: wugou.cyf <wugou.cyf@antfin.com>
neverhook
requested review from
ShangmingCai,
UNIDY2002,
XucSh,
YiXR,
alogfans,
staryxchen,
stmatengss,
ykwd and
zxpdemonio
as code owners
October 22, 2026 09:34
Aionw
approved these changes
Oct 23, 2026
Preserve upstream SSD prefetch configuration and the three-argument EGM parser call. Keep the original PR changes unchanged.
Contributor
Author
ykwd
approved these changes
Oct 27, 2026
10 of 36 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
EGM Provider setup currently rejects a nonzero
local_buffer_size, even though the client staging buffer is allocated separately from the global EGM pool. Allow Providers that also use staging APIs to keep an ordinary local buffer.Remove the local-buffer restriction from EGM configuration parsing and retain the existing client-buffer allocator, local size checks, and NVLink/global-capacity requirements. Extend the existing setup tests for zero and 16 MiB buffers, and update the API documentation.
Related to #2914 and #3335. Searches of open EGM and
local_buffer_sizePRs found no equivalent change. Transport registration, transfer paths, and cleanup behavior are unchanged.Suggested Merge Priority
Module
mooncake-store)mooncake-integration, Python API docstring)Type of Change
How Has This Been Tested?
CPU tests use the production configuration and Store implementation on Linux arm64 with GCC 13.3, with CUDA/MNNVL/TENT and etcd disabled. The expanded setup regression fails with the original parser: the 16 MiB cases are rejected before reaching the NVLink transport check. The same cases pass with this change.
Results: 13 EGM configuration/capacity tests, 16 client-buffer tests, and 4 setup tests passed.
Scoped pre-commit checks, changed-line clang-format 20, and
make htmlpassed. Both updated documentation pages were checked in the generated HTML. EGM hardware transfers were not rerun.Checklist
./scripts/code_format.shAI Assistance Disclosure
OpenAI Codex assisted with implementation, tests, documentation, and review.