Reset C128 state on req slot allocation - #618
zhangxiaolei123456 merged 3 commits into
Conversation
There was a problem hiding this comment.
Code Review
This pull request refactors the clearing of request-scoped C128 state for DeepSeek-V4. The clearing logic is moved from radix-cache prefix matching to request slot allocation, ensuring stale C128 state is cleared when a request slot is newly allocated while preserving state for reused slots (such as in chunked continuation). Additionally, the memory pool is updated to support batch clearing of states, and unit tests are updated to reflect these changes. I have no feedback to provide as there are no review comments.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
5d4e944
into
sync-pr-601-to-main
Motivation
Modifications
Accuracy Tests
Speed Tests and Profiling
Checklist
Review and Merge Process
/tag-and-rerun-ci,/tag-run-ci-label,/rerun-failed-ciCI States
Latest PR Test (Base): ❌ Run #28155292578
Latest PR Test (Extra): ❌ Run #28155292483