[Minor] Fix some random typos in comments (#24009)

Signed-off-by: Nick Hill <nhill@redhat.com>
This commit is contained in:
Nick Hill
2025-08-31 16:42:17 -07:00
committed by GitHub
parent 81eea3d348
commit 752d2e1c36
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1207,7 +1207,7 @@ class Scheduler(SchedulerInterface):
# Now that the blocks are ready, actually cache them.
(block_ids, ) = self.kv_cache_manager.get_block_ids(request.request_id)
num_computed_tokens = len(block_ids) * self.block_size
# Handle the case where num request tokens less then one block.
# Handle the case where num request tokens less than one block.
num_computed_tokens = min(num_computed_tokens, request.num_tokens)
if num_computed_tokens == request.num_tokens:
num_computed_tokens -= 1
+1 -1
View File
@@ -47,7 +47,7 @@ class SingleTypeKVCacheManager(ABC):
# {req_id: The number of cached blocks for this given request}
# This is used to track the number of cached blocks for each request.
# This is only used to track the RUNNING requests, we do not track the
# data for reempted ones.
# data for preempted ones.
self.num_cached_block: dict[str, int] = {}
self.kv_cache_group_id = kv_cache_group_id