Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭 适合新手
#14,591 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
84/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
python, pytorch
领域
documentation

调研方向

在 src/diffusers/pipelines/ 下搜索仍包含 torch_dtype= 的 pipeline docstring 示例。将这些出现位置更新为 dtype=,然后重复搜索,以确认不再有弃用的写法,并确认示例与当前 API 一致。

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
Python
星标
34.6k
派生
7.4k
平均合并
3 天 20 小时
30 天内合并 PR
55

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

huggingface/diffusers 的其他 Issue

查看 huggingface/diffusers 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。