Skip to content

Commit a96f3fd

Browse files
Fix docstrings
1 parent 3a6677c commit a96f3fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/diffusers/loaders/lora_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ def enable_lora_hotswap(self, **kwargs) -> None:
914914
Args:
915915
target_rank (`int`):
916916
The highest rank among all the adapters that will be loaded.
917-
check_correct (`str`, *optional*, defaults to `"error"`):
917+
check_compiled (`str`, *optional*, defaults to `"error"`):
918918
How to handle the case when the model is already compiled, which should generally be avoided. The
919919
options are:
920920
- "error" (default): raise an error

src/diffusers/loaders/peft.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ def enable_lora_hotswap(
848848
target_rank (`int`, *optional*, defaults to `128`):
849849
The highest rank among all the adapters that will be loaded.
850850
851-
check_correct (`str`, *optional*, defaults to `"error"`):
851+
check_compiled (`str`, *optional*, defaults to `"error"`):
852852
How to handle the case when the model is already compiled, which should generally be avoided. The
853853
options are:
854854
- "error" (default): raise an error

0 commit comments

Comments
 (0)