Skip to content

Commit

Permalink
[Bugfix] Remove block size constraint (#11723)
Browse files Browse the repository at this point in the history
  • Loading branch information
comaniac authored Jan 6, 2025
1 parent 402d378 commit 408e560
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions vllm/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1015,11 +1015,6 @@ def _verify_args(self) -> None:
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":
Expand Down

0 comments on commit 408e560

Please sign in to comment.