mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-07-30 03:41:20 +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:
parent
fdde18229e
commit
b7b23da4d2
@ -130,10 +130,10 @@ class KVCacheCoordinator(ABC):
|
|||||||
|
|
||||||
Args:
|
Args:
|
||||||
request_id: The request ID.
|
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:
|
Returns:
|
||||||
The number of common prefix blocks.
|
list[int]: The number of common prefix blocks.
|
||||||
"""
|
"""
|
||||||
num_blocks_per_group = [
|
num_blocks_per_group = [
|
||||||
manager.get_num_common_prefix_blocks(request_id,
|
manager.get_num_common_prefix_blocks(request_id,
|
||||||
|
|||||||
@ -181,7 +181,7 @@ class SingleTypeKVCacheManager(ABC):
|
|||||||
|
|
||||||
Args:
|
Args:
|
||||||
request_id: The request ID.
|
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:
|
Returns:
|
||||||
The number of common prefix blocks.
|
The number of common prefix blocks.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user