[Core] MRV2 support for fast-prefill (#56145)
Signed-off-by: Nick Hill <nickhill123@gmail.com>
This commit is contained in:
@@ -234,7 +234,6 @@ class CacheConfig:
|
||||
some layers can skip tokens corresponding to prefill. This flag enables
|
||||
attention metadata for eligible layers to be overridden with metadata
|
||||
necessary for implementing this optimization in some models (e.g. Gemma3n)
|
||||
NOTE: KV cache sharing is not supported for MRv2 (v2 model runner).
|
||||
"""
|
||||
|
||||
kv_cache_memory_bytes: int | None = None
|
||||
|
||||
@@ -2674,10 +2674,6 @@ class VllmConfig:
|
||||
):
|
||||
unsupported.append("custom logits processors")
|
||||
|
||||
if self.cache_config.kv_sharing_fast_prefill:
|
||||
# Will be added by https://github.com/vllm-project/vllm/pull/35045
|
||||
unsupported.append("KV sharing fast prefill")
|
||||
|
||||
if self.cache_config.mamba_cache_mode == "all":
|
||||
unsupported.append("mamba cache mode 'all'")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user