[Bugfix][V1] Sync mamba_block_size via EngineCoreReadyResponse (#50809)

Signed-off-by: “新颐” <lxy537258@antgroup.com>
Co-authored-by: “新颐” <lxy537258@antgroup.com>
This commit is contained in:
lxy
2026-08-19 16:44:36 +00:00
committed by GitHub
co-authored by “新颐”
parent 3a386cfaf5
commit 0c8c3f41cf
4 changed files with 39 additions and 0 deletions
+1
View File
@@ -758,6 +758,7 @@ class MPClient(EngineCoreClient):
# worker for hybrid Mamba models.
cache_config = vllm_config.cache_config
cache_config.block_size = response.block_size
cache_config.mamba_block_size = response.mamba_block_size
# Keep these as per-engine cache_config_info values; do not sum across DP.
cache_config.kv_cache_size_tokens = (
getattr(cache_config, "kv_cache_size_tokens", None)