# Pitfall Log / 踩坑日志

项目：huggingface/diffusers

摘要：发现 30 个潜在踩坑项，其中 5 个为 high/blocking；最高优先级：安装坑 - 来源证据：Help us profile important pipelines and improve if needed。

## 1. 安装坑 · 来源证据：Help us profile important pipelines and improve if needed

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安装相关的待验证问题：Help us profile important pipelines and improve if needed
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 建议检查：来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- 防护动作：不得脱离来源链接放大为确定性结论；需要标注适用版本和复核状态。
- 证据：community_evidence:github | cevd_a9d989818ab840c6985e6c0c41830e87 | https://github.com/huggingface/diffusers/issues/13401 | 来源讨论提到 python 相关条件，需在安装/试用前复核。

## 2. 安装坑 · 来源证据：universal method or class to load any model locally

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安装相关的待验证问题：universal method or class to load any model locally
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 建议检查：来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- 防护动作：不得脱离来源链接放大为确定性结论；需要标注适用版本和复核状态。
- 证据：community_evidence:github | cevd_190402547a6a441bb4f046b278c04a7f | https://github.com/huggingface/diffusers/issues/13683 | 来源类型 github_issue 暴露的待验证使用条件。

## 3. 安全/权限坑 · 来源证据：Bad image output for Flux.2-dev, rocm, quantization and separate prompt encoding sequence

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安全/权限相关的待验证问题：Bad image output for Flux.2-dev, rocm, quantization and separate prompt encoding sequence
- 对用户的影响：可能影响授权、密钥配置或安全边界。
- 建议检查：来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- 防护动作：不得脱离来源链接放大为确定性结论；需要标注适用版本和复核状态。
- 证据：community_evidence:github | cevd_fedc9c5b4dc2486aa7ed13053f2050af | https://github.com/huggingface/diffusers/issues/13772 | 来源讨论提到 python 相关条件，需在安装/试用前复核。

## 4. 安全/权限坑 · 来源证据：Support for Stable Audio 3 Medium

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安全/权限相关的待验证问题：Support for Stable Audio 3 Medium
- 对用户的影响：可能影响授权、密钥配置或安全边界。
- 建议检查：来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- 防护动作：不得脱离来源链接放大为确定性结论；需要标注适用版本和复核状态。
- 证据：community_evidence:github | cevd_6631ee3803be459094c8127b4b4b5401 | https://github.com/huggingface/diffusers/issues/13793 | 来源类型 github_issue 暴露的待验证使用条件。

## 5. 安全/权限坑 · 来源证据：[Community Support] Integrating visual generative foundation models in diffusers

- 严重度：high
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安全/权限相关的待验证问题：[Community Support] Integrating visual generative foundation models in diffusers
- 对用户的影响：可能影响授权、密钥配置或安全边界。
- 建议检查：来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- 防护动作：不得脱离来源链接放大为确定性结论；需要标注适用版本和复核状态。
- 证据：community_evidence:github | cevd_d70cffdb7188481fb8e1e7e5a84539bb | https://github.com/huggingface/diffusers/issues/13844 | 来源类型 github_issue 暴露的待验证使用条件。

## 6. 安装坑 · 来源证据：FluxKlein Training Scripts - CFG issue

- 严重度：medium
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安装相关的待验证问题：FluxKlein Training Scripts - CFG issue
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 建议检查：来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- 防护动作：不得脱离来源链接放大为确定性结论；需要标注适用版本和复核状态。
- 证据：community_evidence:github | cevd_e2c183459b644dfe88a28ce288693dc1 | https://github.com/huggingface/diffusers/issues/13762 | 来源类型 github_issue 暴露的待验证使用条件。

## 7. 安装坑 · 来源证据：from_single_file: CLIPTextModel has no attribute 'text_model' with transformers >= 5.6

- 严重度：medium
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安装相关的待验证问题：from_single_file: CLIPTextModel has no attribute 'text_model' with transformers >= 5.6
- 对用户的影响：可能增加新用户试用和生产接入成本。
- 建议检查：来源显示可能已有修复、规避或版本变化，说明书中必须标注适用版本。
- 防护动作：不得脱离来源链接放大为确定性结论；需要标注适用版本和复核状态。
- 证据：community_evidence:github | cevd_554b0d9bf30b43cd9fd7bf361c58e9fc | https://github.com/huggingface/diffusers/issues/13833 | 来源讨论提到 python 相关条件，需在安装/试用前复核。

## 8. 配置坑 · 失败模式：configuration: Bad image output for Flux.2-dev, rocm, quantization and separate prompt encoding sequence

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this configuration risk before relying on the project: Bad image output for Flux.2-dev, rocm, quantization and separate prompt encoding sequence
- 对用户的影响：Developers may misconfigure credentials, environment, or host setup: Bad image output for Flux.2-dev, rocm, quantization and separate prompt encoding sequence
- 建议检查：Before packaging this project, run the relevant install/config/quickstart check for: Bad image output for Flux.2-dev, rocm, quantization and separate prompt encoding sequence. Context: Observed when using python, docker, linux, cuda
- 防护动作：State this as source-backed community evidence, not as Doramagic reproduction.
- 证据：failure_mode_cluster:github_issue | fmev_8bd04ed9dad6a0a0370873af14710761 | https://github.com/huggingface/diffusers/issues/13772 | Bad image output for Flux.2-dev, rocm, quantization and separate prompt encoding sequence

## 9. 配置坑 · 失败模式：configuration: Diffusers 0.35.0: Qwen Image pipelines, Flux Kontext, Wan 2.2, and more

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this configuration risk before relying on the project: Diffusers 0.35.0: Qwen Image pipelines, Flux Kontext, Wan 2.2, and more
- 对用户的影响：Upgrade or migration may change expected behavior: Diffusers 0.35.0: Qwen Image pipelines, Flux Kontext, Wan 2.2, and more
- 建议检查：Before packaging this project, run the relevant install/config/quickstart check for: Diffusers 0.35.0: Qwen Image pipelines, Flux Kontext, Wan 2.2, and more. Context: Observed when using python
- 防护动作：State this as source-backed community evidence, not as Doramagic reproduction.
- 证据：failure_mode_cluster:github_release | fmev_e8d17ffbe5fa1785fea2871516925453 | https://github.com/huggingface/diffusers/releases/tag/v0.35.0 | Diffusers 0.35.0: Qwen Image pipelines, Flux Kontext, Wan 2.2, and more

## 10. 配置坑 · 失败模式：configuration: [Community Support] Integrating visual generative foundation models in diffusers

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this configuration risk before relying on the project: [Community Support] Integrating visual generative foundation models in diffusers
- 对用户的影响：Developers may misconfigure credentials, environment, or host setup: [Community Support] Integrating visual generative foundation models in diffusers
- 建议检查：Before packaging this project, run the relevant install/config/quickstart check for: [Community Support] Integrating visual generative foundation models in diffusers. Context: Observed when using python
- 防护动作：State this as source-backed community evidence, not as Doramagic reproduction.
- 证据：failure_mode_cluster:github_issue | fmev_b26b96b2e9f268a9d396be36841cd549 | https://github.com/huggingface/diffusers/issues/13844 | [Community Support] Integrating visual generative foundation models in diffusers

## 11. 配置坑 · 失败模式：configuration: llada2 model/pipeline review

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this configuration risk before relying on the project: llada2 model/pipeline review
- 对用户的影响：Developers may misconfigure credentials, environment, or host setup: llada2 model/pipeline review
- 建议检查：Before packaging this project, run the relevant install/config/quickstart check for: llada2 model/pipeline review. Context: Observed when using python
- 防护动作：State this as source-backed community evidence, not as Doramagic reproduction.
- 证据：failure_mode_cluster:github_issue | fmev_b0fdcc0ebf367379b87fcad2dd642011 | https://github.com/huggingface/diffusers/issues/13598 | llada2 model/pipeline review

## 12. 配置坑 · 失败模式：configuration: universal method or class to load any model locally

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this configuration risk before relying on the project: universal method or class to load any model locally
- 对用户的影响：Developers may misconfigure credentials, environment, or host setup: universal method or class to load any model locally
- 建议检查：Before packaging this project, run the relevant install/config/quickstart check for: universal method or class to load any model locally. Context: Observed when using python
- 防护动作：State this as source-backed community evidence, not as Doramagic reproduction.
- 证据：failure_mode_cluster:github_issue | fmev_8132f9310793351811bea343d379b680 | https://github.com/huggingface/diffusers/issues/13683 | universal method or class to load any model locally

## 13. 能力坑 · 能力判断依赖假设

- 严重度：medium
- 证据强度：source_linked
- 发现：README/documentation is current enough for a first validation pass.
- 对用户的影响：假设不成立时，用户拿不到承诺的能力。
- 建议检查：将假设转成下游验证清单。
- 防护动作：假设必须转成验证项；没有验证结果前不能写成事实。
- 证据：capability.assumptions | github_repo:498011141 | https://github.com/huggingface/diffusers | README/documentation is current enough for a first validation pass.

## 14. 维护坑 · 失败模式：migration: Diffusers 0.36.0: Pipelines galore, new caching method, training scripts, and more 🎄

- 严重度：medium
- 证据强度：source_linked
- 发现：Developers should check this migration risk before relying on the project: Diffusers 0.36.0: Pipelines galore, new caching method, training scripts, and more 🎄
- 对用户的影响：Upgrade or migration may change expected behavior: Diffusers 0.36.0: Pipelines galore, new caching method, training scripts, and more 🎄
- 建议检查：Before packaging this project, run the relevant install/config/quickstart check for: Diffusers 0.36.0: Pipelines galore, new caching method, training scripts, and more 🎄. Context: Observed when using python, cuda
- 防护动作：State this as source-backed community evidence, not as Doramagic reproduction.
- 证据：failure_mode_cluster:github_release | fmev_fa85fd2586df0265d3c51e0547f8f9a5 | https://github.com/huggingface/diffusers/releases/tag/v0.36.0 | Diffusers 0.36.0: Pipelines galore, new caching method, training scripts, and more 🎄

## 15. 维护坑 · 维护活跃度未知

- 严重度：medium
- 证据强度：source_linked
- 发现：未记录 last_activity_observed。
- 对用户的影响：新项目、停更项目和活跃项目会被混在一起，推荐信任度下降。
- 建议检查：补 GitHub 最近 commit、release、issue/PR 响应信号。
- 防护动作：维护活跃度未知时，推荐强度不能标为高信任。
- 证据：evidence.maintainer_signals | github_repo:498011141 | https://github.com/huggingface/diffusers | last_activity_observed missing

## 16. 安全/权限坑 · 下游验证发现风险项

- 严重度：medium
- 证据强度：source_linked
- 发现：no_demo
- 对用户的影响：下游已经要求复核，不能在页面中弱化。
- 建议检查：进入安全/权限治理复核队列。
- 防护动作：下游风险存在时必须保持 review/recommendation 降级。
- 证据：downstream_validation.risk_items | github_repo:498011141 | https://github.com/huggingface/diffusers | no_demo; severity=medium

## 17. 安全/权限坑 · 存在评分风险

- 严重度：medium
- 证据强度：source_linked
- 发现：no_demo
- 对用户的影响：风险会影响是否适合普通用户安装。
- 建议检查：把风险写入边界卡，并确认是否需要人工复核。
- 防护动作：评分风险必须进入边界卡，不能只作为内部分数。
- 证据：risks.scoring_risks | github_repo:498011141 | https://github.com/huggingface/diffusers | no_demo; severity=medium

## 18. 安全/权限坑 · 来源证据：llada2 model/pipeline review

- 严重度：medium
- 证据强度：source_linked
- 发现：GitHub 社区证据显示该项目存在一个安全/权限相关的待验证问题：llada2 model/pipeline review
- 对用户的影响：可能影响授权、密钥配置或安全边界。
- 建议检查：来源显示可能已有修复、规避或版本变化，说明书中必须标注适用版本。
- 防护动作：不得脱离来源链接放大为确定性结论；需要标注适用版本和复核状态。
- 证据：community_evidence:github | cevd_7d913ba503ef40d4b21e8c1333da45e7 | https://github.com/huggingface/diffusers/issues/13598 | 来源讨论提到 python 相关条件，需在安装/试用前复核。

## 19. 能力坑 · 失败模式：capability: FluxKlein Training Scripts - CFG issue

- 严重度：low
- 证据强度：source_linked
- 发现：Developers should check this capability risk before relying on the project: FluxKlein Training Scripts - CFG issue
- 对用户的影响：Developers may hit a documented source-backed failure mode: FluxKlein Training Scripts - CFG issue
- 建议检查：Before packaging this project, run the relevant install/config/quickstart check for: FluxKlein Training Scripts - CFG issue. Context: Observed when using python
- 防护动作：State this as source-backed community evidence, not as Doramagic reproduction.
- 证据：failure_mode_cluster:github_issue | fmev_b470a15abb735667f2a2922021e011c5 | https://github.com/huggingface/diffusers/issues/13762 | FluxKlein Training Scripts - CFG issue

## 20. 运行坑 · 失败模式：performance: Help us profile important pipelines and improve if needed

- 严重度：low
- 证据强度：source_linked
- 发现：Developers should check this performance risk before relying on the project: Help us profile important pipelines and improve if needed
- 对用户的影响：Developers may hit a documented source-backed failure mode: Help us profile important pipelines and improve if needed
- 建议检查：Before packaging this project, run the relevant install/config/quickstart check for: Help us profile important pipelines and improve if needed. Context: Observed when using python, cuda
- 防护动作：State this as source-backed community evidence, not as Doramagic reproduction.
- 证据：failure_mode_cluster:github_issue | fmev_80eb1eced441523203e59be121d932b7 | https://github.com/huggingface/diffusers/issues/13401 | Help us profile important pipelines and improve if needed

## 21. 运行坑 · 失败模式：performance: [Feature] Add support for Anima

- 严重度：low
- 证据强度：source_linked
- 发现：Developers should check this performance risk before relying on the project: [Feature] Add support for Anima
- 对用户的影响：Developers may hit a documented source-backed failure mode: [Feature] Add support for Anima
- 建议检查：Before packaging this project, run the relevant install/config/quickstart check for: [Feature] Add support for Anima. Context: Observed when using python
- 防护动作：State this as source-backed community evidence, not as Doramagic reproduction.
- 证据：failure_mode_cluster:github_issue | fmev_e9c33fe098ae259a9e317d56864c111f | https://github.com/huggingface/diffusers/issues/13067 | [Feature] Add support for Anima

## 22. 运行坑 · 失败模式：performance: 🐞 fixes for `transformers` models, imports,

- 严重度：low
- 证据强度：source_linked
- 发现：Developers should check this performance risk before relying on the project: 🐞 fixes for `transformers` models, imports,
- 对用户的影响：Upgrade or migration may change expected behavior: 🐞 fixes for `transformers` models, imports,
- 建议检查：Before packaging this project, run the relevant install/config/quickstart check for: 🐞 fixes for `transformers` models, imports,. Context: Source discussion did not expose a precise runtime context.
- 防护动作：State this as source-backed community evidence, not as Doramagic reproduction.
- 证据：failure_mode_cluster:github_release | fmev_7f4820a78f24615780e1268ed8d8635c | https://github.com/huggingface/diffusers/releases/tag/v0.35.2 | 🐞 fixes for `transformers` models, imports,

## 23. 维护坑 · issue/PR 响应质量未知

- 严重度：low
- 证据强度：source_linked
- 发现：issue_or_pr_quality=unknown。
- 对用户的影响：用户无法判断遇到问题后是否有人维护。
- 建议检查：抽样最近 issue/PR，判断是否长期无人处理。
- 防护动作：issue/PR 响应未知时，必须提示维护风险。
- 证据：evidence.maintainer_signals | github_repo:498011141 | https://github.com/huggingface/diffusers | issue_or_pr_quality=unknown

## 24. 维护坑 · 发布节奏不明确

- 严重度：low
- 证据强度：source_linked
- 发现：release_recency=unknown。
- 对用户的影响：安装命令和文档可能落后于代码，用户踩坑概率升高。
- 建议检查：确认最近 release/tag 和 README 安装命令是否一致。
- 防护动作：发布节奏未知或过期时，安装说明必须标注可能漂移。
- 证据：evidence.maintainer_signals | github_repo:498011141 | https://github.com/huggingface/diffusers | release_recency=unknown

## 25. 维护坑 · 失败模式：maintenance: Diffusers 0.34.0: New Image and Video Models, Better torch.compile Support, and more

- 严重度：low
- 证据强度：source_linked
- 发现：Developers should check this maintenance risk before relying on the project: Diffusers 0.34.0: New Image and Video Models, Better torch.compile Support, and more
- 对用户的影响：Upgrade or migration may change expected behavior: Diffusers 0.34.0: New Image and Video Models, Better torch.compile Support, and more
- 建议检查：Before packaging this project, run the relevant install/config/quickstart check for: Diffusers 0.34.0: New Image and Video Models, Better torch.compile Support, and more. Context: Observed when using python, cuda
- 防护动作：State this as source-backed community evidence, not as Doramagic reproduction.
- 证据：failure_mode_cluster:github_release | fmev_60f82a49d02d4d6d625125e6e84d4870 | https://github.com/huggingface/diffusers/releases/tag/v0.34.0 | Diffusers 0.34.0: New Image and Video Models, Better torch.compile Support, and more

## 26. 维护坑 · 失败模式：maintenance: Diffusers 0.37.0: Modular Diffusers, New image and video pipelines, multiple core library imp...

- 严重度：low
- 证据强度：source_linked
- 发现：Developers should check this maintenance risk before relying on the project: Diffusers 0.37.0: Modular Diffusers, New image and video pipelines, multiple core library improvements, and more 🔥
- 对用户的影响：Upgrade or migration may change expected behavior: Diffusers 0.37.0: Modular Diffusers, New image and video pipelines, multiple core library improvements, and more 🔥
- 建议检查：Before packaging this project, run the relevant install/config/quickstart check for: Diffusers 0.37.0: Modular Diffusers, New image and video pipelines, multiple core library improvements, and more 🔥. Context: Observed when using python
- 防护动作：State this as source-backed community evidence, not as Doramagic reproduction.
- 证据：failure_mode_cluster:github_release | fmev_695dcddd384eac023272e66b39460d68 | https://github.com/huggingface/diffusers/releases/tag/v0.37.0 | Diffusers 0.37.0: Modular Diffusers, New image and video pipelines, multiple core library improvements, and more 🔥

## 27. 维护坑 · 失败模式：maintenance: Diffusers 0.38.0: New image and audio pipelines, Core library improvements, and more

- 严重度：low
- 证据强度：source_linked
- 发现：Developers should check this maintenance risk before relying on the project: Diffusers 0.38.0: New image and audio pipelines, Core library improvements, and more
- 对用户的影响：Upgrade or migration may change expected behavior: Diffusers 0.38.0: New image and audio pipelines, Core library improvements, and more
- 建议检查：Before packaging this project, run the relevant install/config/quickstart check for: Diffusers 0.38.0: New image and audio pipelines, Core library improvements, and more. Context: Observed when using python
- 防护动作：State this as source-backed community evidence, not as Doramagic reproduction.
- 证据：failure_mode_cluster:github_release | fmev_2b3387e7ee4b4da3756de41a18fa3917 | https://github.com/huggingface/diffusers/releases/tag/v0.38.0 | Diffusers 0.38.0: New image and audio pipelines, Core library improvements, and more

## 28. 维护坑 · 失败模式：maintenance: Fixes for AutoModel type hints in Modular Pipelines and Flux Klein LoRA loading

- 严重度：low
- 证据强度：source_linked
- 发现：Developers should check this maintenance risk before relying on the project: Fixes for AutoModel type hints in Modular Pipelines and Flux Klein LoRA loading
- 对用户的影响：Upgrade or migration may change expected behavior: Fixes for AutoModel type hints in Modular Pipelines and Flux Klein LoRA loading
- 建议检查：Before packaging this project, run the relevant install/config/quickstart check for: Fixes for AutoModel type hints in Modular Pipelines and Flux Klein LoRA loading. Context: Observed when using python
- 防护动作：State this as source-backed community evidence, not as Doramagic reproduction.
- 证据：failure_mode_cluster:github_release | fmev_74385080afed2c71332330aef25a47cf | https://github.com/huggingface/diffusers/releases/tag/v0.37.1 | Fixes for AutoModel type hints in Modular Pipelines and Flux Klein LoRA loading

## 29. 维护坑 · 失败模式：maintenance: v0.33.1: fix ftfy import

- 严重度：low
- 证据强度：source_linked
- 发现：Developers should check this maintenance risk before relying on the project: v0.33.1: fix ftfy import
- 对用户的影响：Upgrade or migration may change expected behavior: v0.33.1: fix ftfy import
- 建议检查：Before packaging this project, run the relevant install/config/quickstart check for: v0.33.1: fix ftfy import. Context: Observed when using python
- 防护动作：State this as source-backed community evidence, not as Doramagic reproduction.
- 证据：failure_mode_cluster:github_release | fmev_f5f4ba2237878ce924ac3697471a109e | https://github.com/huggingface/diffusers/releases/tag/v0.33.1 | v0.33.1: fix ftfy import

## 30. 维护坑 · 失败模式：maintenance: v0.35.1 for improvements in Qwen-Image Edit

- 严重度：low
- 证据强度：source_linked
- 发现：Developers should check this maintenance risk before relying on the project: v0.35.1 for improvements in Qwen-Image Edit
- 对用户的影响：Upgrade or migration may change expected behavior: v0.35.1 for improvements in Qwen-Image Edit
- 建议检查：Before packaging this project, run the relevant install/config/quickstart check for: v0.35.1 for improvements in Qwen-Image Edit. Context: Source discussion did not expose a precise runtime context.
- 防护动作：State this as source-backed community evidence, not as Doramagic reproduction.
- 证据：failure_mode_cluster:github_release | fmev_0b9e096f8282253c2696002a3a8616bb | https://github.com/huggingface/diffusers/releases/tag/v0.35.1 | v0.35.1 for improvements in Qwen-Image Edit
