Repository navigation
[Fix] mem_cache: Skip Mamba checkpoint donation when slots are exhausted - #47680
Conversation
This comment has been minimized.
This comment has been minimized.
BBuf
left a comment
There was a problem hiding this comment.
[BBuf Review Agent] LGTM. Please wait for the related cache CI.
|
/tag-and-rerun-ci |
|
[BBuf Review Agent] @yihong-w these CI failures look related to this change, could you take a look?
|
This comment has been minimized.
This comment has been minimized.
|
/rerun-failed-ci |
|
/rerun-failed-ci |
|
/rerun-test --changed registered/radix_cache/unified_radix_tree/test_unified_radix_cache_kl_mamba.py::TestUnifiedMambaRadixCache registered/radix_cache/test_int8_mamba_checkpoint_e2e.py::TestInt8MambaCheckpointE2E registered/radix_cache/test_mamba_cache_kl.py::TestMambaLazyInplaceKL.test_lazy_donation_with_four_slots_and_one_request |
|
⛔ Please ask a maintainer to run this command, or use the normal CI flow. |
|
/rerun-failed-ci |
BBuf
left a comment
There was a problem hiding this comment.
[BBuf Review Agent] LGTM. Please wait for the related cache CI.
|
/rerun-test test/registered/radix_cache/unified_radix_tree/test_unified_radix_cache_kl_mamba.py |
|
🚀 |
Motivation
Fixes #43204. When all Mamba state slots are held by active requests or locked prefixes, optional checkpoint donation can exhaust the pool and terminate the scheduler.
Modifications
Accuracy Tests
Speed Tests and Profiling
Not run; this changes the exhausted-pool fallback and does not change the successful allocation path's work.
Checklist
run-ciand trigger a run.CI States
Latest PR Test (Base): ✅ Run #41350364239
Latest PR Test (Extra): ❌ Run #41350364311
Latest PR Test (AMD ROCm 10): ❌ Run #41350364273
Tip
Base CI only covers the core cases, and its workload may not exercise your change. Use
/rerun-testto run the tests your change touches, or copy this prompt for an agent: