mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 04:15:01 +08:00
[Misc] Fix typo in BlockSpaceManagerV1 (#8944)
This commit is contained in:
parent
31f46a0d35
commit
1fb9c1b0bf
@ -443,7 +443,7 @@ class BlockSpaceManagerV1(BlockSpaceManager):
|
||||
# prefix tokens)
|
||||
new_block = self.gpu_allocator.allocate(block_hash, num_hashed_tokens)
|
||||
|
||||
# If the block has is None, then the block is not full.
|
||||
# If the block_hash is None, then the block is not full.
|
||||
# If the block is not full, then we expect it to have a refcount of 1.
|
||||
if block_hash is None:
|
||||
assert new_block.ref_count == 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user