We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45c08eb commit 2db9504Copy full SHA for 2db9504
src/diffusers/models/adapter.py
@@ -127,7 +127,7 @@ def save_pretrained(
127
need to replace `torch.save` with another method. Can also be configured using`DIFFUSERS_SAVE_MODE` environment variable.
128
safe_serialization (`bool`, optional, defaults=True):
129
If `True`, save the model using `safetensors`.
130
- If `False`, save the model using the traditional PyTorch way (using `pickle`).
+ If `False`, save the model with `pickle`.
131
variant (`str`, *optional*):
132
If specified, weights are saved in the format `pytorch_model.<variant>.bin`.
133
"""
0 commit comments