Add missing class docstring for PromptAdapterConfig (#17302)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user