Unable to load Flux LoRA trained with OneTrainer – NotImplementedError in _convert_mixture_state_dict_to_diffusers
#11441
Labels
bug
Something isn't working
Describe the bug
Loading a LoRA that was:
via
DiffusionPipeline.load_lora_weights()
(or indirectly through Nunchaku’s v0.2.0compose_lora
) crashes at application start-up with:The exception is thrown because the LoRA state-dict contains keys that start with
lora_transformer_single_transformer_blocks_…
, a pattern that the conversion helper does not yet handle.Here is the list of key types in state_dict of the mentioned LoRA (multiple digit prefixed keys collapsed to
%d
):Reproduction
Download LoRA file first.
Logs
System Info
diffusers@main as for April 28 2025
Who can help?
@sayakpaul I believe you've been involved in fixing OneTrainer LoRAs loading issues recently, would you be so kind to take your educated guess on this one.
The text was updated successfully, but these errors were encountered: