mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[PR #365] [MERGED] [BugFix] Buffer Allocation Always Tries on the Same Allocator #1515
Labels
No labels
ascend
auto-closed
bug
bug
CI/Build
Common
documentation
enhancement
feature request
good first issue
help wanted
high priority
MetaX
nightly-failure
pull-request
PyTorch Backend
question
RFC
Roadmap
stale
Store
Tests
Transfer Engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/Mooncake#1515
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?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/Mooncake/pull/365
Author: @ykwd
Created: 5/14/2025
Status: ✅ Merged
Merged: 5/15/2025
Merged by: @alogfans
Base:
main← Head:bugfix/random_allocate📝 Commits (1)
ebcfe67[BugFix] In buffer allocation, multiple randomly trying strategy doesn't work as expected.📊 Changes
1 file changed (+12 additions, -7 deletions)
View changed files
📝
mooncake-store/include/allocation_strategy.h(+12 -7)📄 Description
In buffer allocation, when there are multiple eligible allocators, it will randomly select one and use it to try to allocate the buffer. This process will iterate many times, but each time the program will only try a specific one, instead of trying other eligible allocators. This pr fixex this issue.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.