mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-21 14:35:03 +08:00
Add missing class docstring for PromptAdapterConfig (#17302)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
parent
72c5b97231
commit
fb1c933ade
@ -2679,6 +2679,8 @@ class LoRAConfig:
|
|||||||
@config
|
@config
|
||||||
@dataclass
|
@dataclass
|
||||||
class PromptAdapterConfig:
|
class PromptAdapterConfig:
|
||||||
|
"""Configuration for PromptAdapters."""
|
||||||
|
|
||||||
max_prompt_adapters: int = 1
|
max_prompt_adapters: int = 1
|
||||||
"""Max number of PromptAdapters in a batch."""
|
"""Max number of PromptAdapters in a batch."""
|
||||||
max_prompt_adapter_token: int = 0
|
max_prompt_adapter_token: int = 0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user