You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fal FLUX.1 Kontext LoRAs with unprefixed embedder keys fail in _convert_fal_kontext_lora_to_diffusers #14917
Some FLUX.1 Kontext LoRAs exported by fal store the block keys under base_model.model. but the global embedder keys (time_in, vector_in, txt_in, img_in, guidance_in) without that prefix. FluxPipeline.lora_state_dict routes them to _convert_fal_kontext_lora_to_diffusers (any key containing base_model), which does not map the embedder keys and then raises on them as leftovers.
Reproduction
CPU only, no checkpoint download. The state dict mirrors the fal Kontext layout with zero tensors:
ValueError: `original_state_dict` should be empty at this point but has original_state_dict.keys()=dict_keys(['time_in.in_layer.lora_A.weight', 'time_in.in_layer.lora_B.weight', ..., 'guidance_in.out_layer.lora_B.weight']).
Activity