[Bugfix] Add kv_scale input parameter to CPU backend (#3840)

This commit is contained in:
Woosuk Kwon
2024-04-04 04:33:08 +00:00
committed by GitHub
parent 537ee25f43
commit 498eb5cfa3
4 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ class PagedAttention:
num_kv_heads: int,
scale: float,
alibi_slopes: Optional[torch.Tensor],
kv_scale,
kv_scale: float,
) -> torch.Tensor:
output = torch.empty_like(query)