unfuse_lora(components=[…]) desyncs _merged_adapters/num_fused_loras from actual per-component PEFT merge state
![unfuse_lora(components=[...]) desyncs _merged_adapters/num_fused_loras from actual per-component PEFT merge state](https://www.chat-gpts.plus/wp-content/uploads/2026/08/14214-8825d7a6-768x403.jpg)
该问题发生在 Diffusers 管线中只对部分组件(如 text_encoder )调用 unfuse_lora(components=[...]) 时,导致 _merged_adapters / num_fused_loras 与实际 PEFT 合并状态脱节: unfuse_lora(compo








