huggingface / huggingface/diffusers

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

オープン 初心者向け
#14,591 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
34.5k
フォーク
7.3k
平均マージ
3日 3時間
マージ済み PR(30日)
91

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

src/diffusers/pipelines/ 以下で、torch_dtype= を含む残りのパイプライン docstring の例を検索します。それらの出現箇所を dtype= に更新し、その後もう一度検索して、非推奨の表記が残っていないことと、例が現在の API に一致していることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python, pytorch
領域
documentation
issue の種類
ドキュメント
難易度
2/5
見積もり時間
1〜3時間
活発さ
活発
明瞭さ
明確に書かれている
初心者へのやさしさ
84/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。