mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-04-01 07:37:04 +08:00
add a deprecated comment to the lora_id field
Signed-off-by: Sage Ahrac <sagiahrak@gmail.com>
This commit is contained in:
parent
a86ef76c15
commit
c90817f538
@ -28,7 +28,12 @@ class BlockStored(KVCacheEvent):
|
||||
parent_block_hash: ExternalBlockHash | None
|
||||
token_ids: list[int]
|
||||
block_size: int
|
||||
|
||||
lora_id: int | None
|
||||
"""Deprecated: use `lora_name` for KV block key hash.
|
||||
Retained for backward compatibility.
|
||||
"""
|
||||
|
||||
medium: str | None
|
||||
lora_name: str | None
|
||||
|
||||
|
||||
@ -51,7 +51,12 @@ class BlockStored(KVCacheEvent):
|
||||
parent_block_hash: ExternalBlockHash | None
|
||||
token_ids: list[int]
|
||||
block_size: int
|
||||
|
||||
lora_id: int | None
|
||||
"""Deprecated: use `lora_name` for KV block key hash.
|
||||
Retained for backward compatibility.
|
||||
"""
|
||||
|
||||
medium: str | None
|
||||
lora_name: str | None
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user