We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f021f0 commit b846778Copy full SHA for b846778
vllm/core/block_manager_v1.py
@@ -443,7 +443,7 @@ def _allocate_last_physical_block(
443
# prefix tokens)
444
new_block = self.gpu_allocator.allocate(block_hash, num_hashed_tokens)
445
446
- # If the block has is None, then the block is not full.
+ # If the block_hash is None, then the block is not full.
447
# If the block is not full, then we expect it to have a refcount of 1.
448
if block_hash is None:
449
assert new_block.ref_count == 1
0 commit comments