Skip to content

Commit 2adba04

Browse files
committed
make style
1 parent 2c58c64 commit 2adba04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/diffusers/pipelines/pipeline_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,8 +534,8 @@ def from_pretrained(cls, pretrained_model_name_or_path: Optional[Union[str, os.P
534534
Override the default `torch.dtype` and load the model with another dtype. If "auto" is passed, the
535535
dtype is automatically derived from the model's weights. To load submodels with different dtype pass a
536536
`dict` (for example `{'transformer': torch.bfloat16, 'vae': torch.float16}`). Set the default dtype for
537-
unspecified components with `default` (for example `{'transformer': torch.bfloat16, 'default': torch.float16}`).
538-
If a component is not specified and no default is set, `torch.float32` is used.
537+
unspecified components with `default` (for example `{'transformer': torch.bfloat16, 'default':
538+
torch.float16}`). If a component is not specified and no default is set, `torch.float32` is used.
539539
custom_pipeline (`str`, *optional*):
540540
541541
<Tip warning={true}>

0 commit comments

Comments
 (0)