mirror of
https://github.com/vladmandic/automatic
synced 2026-08-31 01:20:59 +02:00
450bf977e8
applied_layers is cleared and re-populated on every network_activate call. With lora_apply_te=True the second activate (TE-only pass) finds all modules already at the target state and skips them all, leaving applied_layers empty and breaking the restore trigger on the next gen. native_active is set from loaded_networks at the end of activate, so it survives idempotent re-runs and only flips false after the restore call clears loaded_networks.