kvcached crashes with a bare KeyError on models with cross-layer KV sharing
google/gemma-4-E2B-it fails at KV-cache init under kvcached, on both vLLM 0.22.1 and 0.24.0. The same model runs fine with kvcached disabled.
KeyError: 'language_model.model.layers.15.self_attn.attn'
File "kvcached/integration/vllm/patches.py", line 1285, in _allocate_kv_cache_from_kvcached
tensor_cfg = layer_to_tensor_cfg[layer_name]
kvcached crashes with a bare
KeyErroron models with cross-layer KV sharinggoogle/gemma-4-E2B-itfails at KV-cache init under kvcached, on both vLLM 0.22.1 and 0.24.0. The same model runs fine with kvcached disabled.