chore(vllm): codespell for spell checking (#2820)

This commit is contained in:
Massimiliano Pronesti
2024-02-21 18:56:01 -08:00
committed by GitHub
parent 95529e3253
commit 93dc5a2870
16 changed files with 85 additions and 25 deletions
+1 -1
View File
@@ -178,7 +178,7 @@ class BlockSpaceManager:
if len(block_table) < len(logical_blocks):
if (self.block_sliding_window
and len(block_table) >= self.block_sliding_window):
# re-use a block
# reuse a block
block_table.append(block_table[len(block_table) %
self.block_sliding_window])
else:
+1 -1
View File
@@ -158,7 +158,7 @@ class Scheduler:
return len(self.waiting) + len(self.running) + len(self.swapped)
def _schedule(self) -> SchedulerOutputs:
# Blocks that need to be swaped or copied before model execution.
# Blocks that need to be swapped or copied before model execution.
blocks_to_swap_in: Dict[int, int] = {}
blocks_to_swap_out: Dict[int, int] = {}
blocks_to_copy: Dict[int, List[int]] = {}