Skip to content

Commit e92d43f

Browse files
[nit] torch_dtype used twice in doc string (huggingface#2126)
1 parent 7436e30 commit e92d43f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/diffusers/pipelines/pipeline_utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,6 @@ def from_pretrained(cls, pretrained_model_name_or_path: Optional[Union[str, os.P
356356
Adding Custom
357357
Pipelines](https://huggingface.co/docs/diffusers/using-diffusers/custom_pipeline_overview)
358358
359-
torch_dtype (`str` or `torch.dtype`, *optional*):
360359
force_download (`bool`, *optional*, defaults to `False`):
361360
Whether or not to force the (re-)download of the model weights and configuration files, overriding the
362361
cached versions if they exist.

0 commit comments

Comments
 (0)