CCalamitousFelicitousnessfix(lora): apply te networks before encode and honor lora_apply_te
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
refactor detailer Signed-off-by: Vladimir Mandic <mandic00@live.com> | 2 个月前 | |
fix(lora): apply te networks before encode and honor lora_apply_te Network activation ran after prompt encoding, so text encoder lora weights never affected embeds on the first generation and the stale result was then served from the embed cache. The trailing unfiltered activate in network_load also overrode the te exclude filter, so the lora_apply_te setting was never honored. - parse and activate networks in process_base before pipeline args are built - activate_filtered gates text encoder components on per-request or global lora_apply_te; used by base, hires, detailer and faceid call sites - network_load accepts activate=False for callers that run their own deactivate/activate sequence with include/exclude - network_activate walks excluded components in restore-only mode so a filtered text encoder reverts to backup instead of keeping stale deltas - loaded_loras cache is single-entry since per-filter entries go stale when the setting toggles - prompt embed cache key includes the effective lora_apply_te value | 2 个月前 | |
refactor detailer Signed-off-by: Vladimir Mandic <mandic00@live.com> | 2 个月前 | |
refactor detailer Signed-off-by: Vladimir Mandic <mandic00@live.com> | 2 个月前 | |
refactor detailer Signed-off-by: Vladimir Mandic <mandic00@live.com> | 2 个月前 | |
refactor detailer Signed-off-by: Vladimir Mandic <mandic00@live.com> | 2 个月前 |