Repository navigation
feat(aginfer): reclaim Dead KV on session end - #3
Merged
Merged
Conversation
Signed-off-by: Yuzhou Nie <rucnyz@gmail.com>
Signed-off-by: Yuzhou Nie <rucnyz@gmail.com>
Signed-off-by: Yuzhou Nie <rucnyz@gmail.com>
Signed-off-by: Yuzhou Nie <rucnyz@gmail.com>
Signed-off-by: Yuzhou Nie <rucnyz@gmail.com>
Signed-off-by: Yuzhou Nie <rucnyz@gmail.com>
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.
Summary
end_programAPIs plusPOST /aginfer/session_endValidation
git diff --check: passedMeasured result
On d5 (4x GB300, TP4, Qwen3-0.6B), five paired ABBA trials under a controlled cache-pressure workload observed:
The benchmark is a lifecycle-signal ablation on the same patched binary, not a comparison against a separate upstream binary. Full methodology and limitations are in
dev/aginfer/wherewewin/s3-drop-on-death/RESULTS.md.Scope
Validated for a single-node TP4 deployment with UnifiedRadixCache and HBM+DRAM HiCache. PP greater than one and decode-side asynchronous KV offload fail closed. SSD/NIXL per-key deletion, context compaction, multi-node disaggregation, and production DeepSeek-V4 traces are not included.
CI States
Latest PR Test (Base): 🚫 Run #32684582438
Latest PR Test (Extra): ❌ Run #32684582258