huggingface / huggingface/diffusers
Update remaining pipeline docstrings from `torch_dtype` to `dtype`
Offen
Anfängerfreundlich
- Vorherrschende Sprache
- Python
- Sterne
- 34.5k
- Forks
- 7.3k
- Ø Merge
- 3 T. 3 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
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.
Beitragsleitfaden
Rechercherichtung
Suche unter src/diffusers/pipelines/ nach verbliebenen Beispielen in Pipeline-Docstrings, die torch_dtype= enthalten. Aktualisiere diese Vorkommen auf dtype= und wiederhole anschließend die Suche, um zu bestätigen, dass keine veraltete Schreibweise mehr vorhanden ist und die Beispiele mit der aktuellen API übereinstimmen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python, pytorch
- Bereich
- documentation
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Aktiv
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 84/100