Lightweight extract allocation logic from mem_cache/common.py to more clearly show nearly parallel variants (#29431)

This commit is contained in:
fzyzcjy
2026-07-15 14:49:37 +08:00
committed by GitHub
parent c315df49bb
commit e789ca24a7
11 changed files with 546 additions and 516 deletions
@@ -66,7 +66,7 @@ patches:
_PR_REVERT_YAML_26972 = """
patches:
- target: sglang.srt.mem_cache.common.get_req_to_token_extra_context_len
- target: sglang.srt.mem_cache.allocation_sizing.get_req_to_token_extra_context_len
edits:
- match: |
if (