[Misc] Fix typo in BlockSpaceManagerV1 (#8944)
This commit is contained in:
parent
31f46a0d35
commit
1fb9c1b0bf
@ -443,7 +443,7 @@ class BlockSpaceManagerV1(BlockSpaceManager):
|
|||||||
# prefix tokens)
|
# prefix tokens)
|
||||||
new_block = self.gpu_allocator.allocate(block_hash, num_hashed_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 the block is not full, then we expect it to have a refcount of 1.
|
||||||
if block_hash is None:
|
if block_hash is None:
|
||||||
assert new_block.ref_count == 1
|
assert new_block.ref_count == 1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user