huggingface / huggingface/diffusers

Update remaining pipeline docstrings from `torch_dtype` to `dtype`

Open Beginner friendly
#14,591 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
34.5k
Forks
7.3k
Avg merge
3d 3h
Merged PRs (30d)
91

Description

Following the `torch_dtype` → `dtype` migration, some pipeline docstring examples still use the deprecated `torch_dtype=` spelling.

This issue tracks updating the remaining occurrences under `src/diffusers/pipelines/` to `dtype=` for consistency with the current API.

Contributor guide

Open the contributing guide

Research direction

Search under src/diffusers/pipelines/ for remaining pipeline docstring examples containing torch_dtype=. Update those occurrences to dtype=, then repeat the search to confirm no deprecated spelling remains and the examples match the current API.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
84/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.