mirror of
https://github.com/vladmandic/automatic
synced 2026-09-12 16:08:43 +02:00
6937ea803f
Replaces ernie's four family loaders with thin wrappers binding native_loader's generics to ernie's prefix tuples and resolve_targets. ErnieImageAttention has fully split to_q / to_k / to_v with no fused QKV and ErnieImageFeedForward has three separate Linear modules, so resolve_targets is a straight passthrough across every recognized prefix. BARE_DIFFUSERS_PREFIXES covers layers., adaLN_modulation., final_norm., final_linear. for bare-diffusers exports (e.g. via save_lora_adapter). parse_key returns (prefix_used, base, suffix) instead of the old (network_key, suffix); parse test updated.