Skip to content

Commit 2db9504

Browse files
ahnjjstevhliu
andauthored
Update src/diffusers/models/adapter.py
Co-authored-by: Steven Liu <[email protected]>
1 parent 45c08eb commit 2db9504

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/models/adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def save_pretrained(
127127
need to replace `torch.save` with another method. Can also be configured using`DIFFUSERS_SAVE_MODE` environment variable.
128128
safe_serialization (`bool`, optional, defaults=True):
129129
If `True`, save the model using `safetensors`.
130-
If `False`, save the model using the traditional PyTorch way (using `pickle`).
130+
If `False`, save the model with `pickle`.
131131
variant (`str`, *optional*):
132132
If specified, weights are saved in the format `pytorch_model.<variant>.bin`.
133133
"""

0 commit comments

Comments
 (0)