A custom ComfyUI node to merge up to 4 LoRA models into a Flux.1-Dev UNet
- ✅ Merge up to 4 LoRA models
- ✅ Compatible with UNet models in FP8 / FP16 / FP32
- ✅ Three fusion strategies:
additive
: weighted sum of LoRA deltasaverage
: average of LoRA deltassequential
: apply one after another
- ✅ Option to save the final merged model in
.safetensors
Parameter | Type | Description |
---|---|---|
unet_model |
MODEL |
The base UNet model to apply LoRAs to |
merge_strategy |
CHOICE |
"additive" , "average" , or "sequential" |
enable_loraX |
BOOLEAN |
Whether to enable the corresponding LoRA |
loraX |
STRING |
Filename of the LoRA (from your loras/ folder) |
loraX_weight |
FLOAT |
Weight multiplier for the LoRA |
save_model |
BOOLEAN |
Save the merged model to output/ |
save_filename |
STRING |
Custom name for the saved .safetensors file |
Output | Type | Description |
---|---|---|
model |
MODEL |
The merged UNet model |