Skip to content

Commit 9f74cd0

Browse files
committed
Fix typo in BlockSpaceManagerV1
1 parent 31f46a0 commit 9f74cd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/core/block_manager_v1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ def _allocate_last_physical_block(
443443
# prefix tokens)
444444
new_block = self.gpu_allocator.allocate(block_hash, num_hashed_tokens)
445445

446-
# If the block has is None, then the block is not full.
446+
# If the block_hash is None, then the block is not full.
447447
# If the block is not full, then we expect it to have a refcount of 1.
448448
if block_hash is None:
449449
assert new_block.ref_count == 1

0 commit comments

Comments
 (0)