mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-01-02 04:34:01 +08:00
[Bugfix] Remove block size constraint (#11723)
This commit is contained in:
parent
402d378360
commit
408e560015
@ -1015,11 +1015,6 @@ class CacheConfig:
|
||||
raise ValueError(
|
||||
"GPU memory utilization must be less than 1.0. Got "
|
||||
f"{self.gpu_memory_utilization}.")
|
||||
from vllm.platforms import current_platform
|
||||
if (current_platform.is_cuda() and self.block_size is not None
|
||||
and self.block_size > 32):
|
||||
raise ValueError("CUDA Paged Attention kernel only supports "
|
||||
f"block sizes up to 32. Got {self.block_size}.")
|
||||
|
||||
def _verify_cache_dtype(self) -> None:
|
||||
if self.cache_dtype == "auto":
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user