diff --git a/vllm/attention/layer.py b/vllm/attention/layer.py index c7e7a4d52e5a7..a06db075f334d 100644 --- a/vllm/attention/layer.py +++ b/vllm/attention/layer.py @@ -134,8 +134,8 @@ def forward( query: torch.Tensor, key: torch.Tensor, value: torch.Tensor, - _kv_cache: torch.Tensor, - _attn_metadata: AttentionMetadata, + kv_cache: torch.Tensor, + attn_metadata: AttentionMetadata, ) -> torch.Tensor: if self.use_output: output = torch.empty_like(query)