mirror of
https://github.com/vllm-project/vllm.git
synced 2025-10-20 14:53:52 +08:00
[Bugfix] Fix comment typo of get_num_common_prefix_blocks() (#21827)
Signed-off-by: MingzhenHan <hanmingzhen2002@outlook.com>
This commit is contained in:
@ -130,10 +130,10 @@ class KVCacheCoordinator(ABC):
|
||||
|
||||
Args:
|
||||
request_id: The request ID.
|
||||
block_hashes: The block hashes of the request.
|
||||
num_running_requests: The number of requests in the RUNNING state.
|
||||
|
||||
Returns:
|
||||
The number of common prefix blocks.
|
||||
list[int]: The number of common prefix blocks.
|
||||
"""
|
||||
num_blocks_per_group = [
|
||||
manager.get_num_common_prefix_blocks(request_id,
|
||||
|
@ -181,7 +181,7 @@ class SingleTypeKVCacheManager(ABC):
|
||||
|
||||
Args:
|
||||
request_id: The request ID.
|
||||
block_hashes: The block hashes of the request.
|
||||
num_running_requests: The number of requests in the RUNNING state.
|
||||
|
||||
Returns:
|
||||
The number of common prefix blocks.
|
||||
|
Reference in New Issue
Block a user