#14896·diffusers

14 个管道中的 `final_offload_hook` 检查已停止运行; `KandinskyPriorPipeline` 在设置了 `negative_prompt` 时会跳过 `maybe_free_model_hooks()`

作者: kv-248创建于 2026年9月28日更新于 2026年9月29日

Describe the bug DiffusionPipeline.enable_model_cpu_offload() hasn't set self.final_offload_hook since the offload rework in v0.21 (#5054 is the report from that time). Outside pipelines/deprecated (where MusicLDM keeps its own copy), the only assignment in src/ is AudioLDM2's own enable_model_cpu_offload (pipelines/audioldm2/pipeline_audioldm2.py:273). Outside pipelines/deprecated, 17 blocks in 14 other pipeline files still guard manual offloading with

内容来源: huggingface/diffusers