Skip to content

Follow up on #30157 post-merge review (cherry-pick #32672) - #32816

Closed
cctry wants to merge 1 commit into
sgl-project:mainfrom
cctry:cctry/pick-32672
Closed

cctry wants to merge 1 commit into
sgl-project:mainfrom
cctry:cctry/pick-32672

Conversation

@cctry

@cctry cctry commented Jul 29, 2026 •

Copy link
Copy Markdown
Collaborator

Cherry-picks #32672 (merge commit 3c1717d) onto main.

Problem: Addresses post-merge comments on #30157: the reserve helper name implied Mamba-only semantics, and the KV-pool paths used getattr fallbacks.

Fix: Rename the helper to pre_capture_activation_reserve_mb, initialize k/v buffers before descriptor construction, and use direct attribute access. No reserve or sizing behavior changes.

Files:

  • python/sglang/srt/mem_cache/kv_cache_configurator.py
  • python/sglang/srt/mem_cache/memory_pool.py
  • python/sglang/srt/model_executor/model_runner_components/kv_pool_runtime.py
  • python/sglang/srt/server_args.py

CI States

Latest PR Test (Base): ⏳ Run #30494960466
Latest PR Test (Extra): ❌ Run #30494975614

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@cctry cctry added the run-ci CI: run the baseline test suite on this PR label Jul 29, 2026
@cctry cctry closed this Jul 29, 2026
@cctry
cctry deleted the cctry/pick-32672 branch July 29, 2026 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-ci CI: run the baseline test suite on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant