[KV Connector][Offloading] Disable parallel-agnostic fs-tier cache on V2 model runner (#46044)

Signed-off-by: Itay Etelis <etelis2019@gmail.com>
Co-authored-by: Itay Etelis <etelis2019@gmail.com>
This commit is contained in:
Itay Etelis
2026-06-18 20:43:35 +03:00
committed by GitHub
co-authored by Itay Etelis
parent a0df04e477
commit ea6078fe6a
3 changed files with 18 additions and 0 deletions
+3
View File
@@ -84,10 +84,13 @@ class FileMapper:
]
# Only a single full-attention group is parallelism-invariant. MLA is
# excluded: its latent KV is replicated per rank, never head-sharded.
# The V2 model runner is excluded: its KV layout is not known to be
# parallelism-invariant.
groups = kv_cache_config.kv_cache_groups
spec = groups[0].kv_cache_spec if len(groups) == 1 else None
parallel_agnostic = (
parallel_agnostic
and not vllm_config.use_v2_model_runner
and isinstance(spec, FullAttentionSpec)
and not isinstance(spec, MLAAttentionSpec)
)