If youâve been experimenting with Flux models and want to combine them for better performance or results, you're in the right place. Merging Flux models can significantly enhance your workflow, and with ComfyUI's latest update, it's easier than ever. Below, weâll guide you through the process of merging Flux models and how to choose the right combination for your project.
Click to directly run the model merging workflow: https://home.mimicpc.com/app-image-share?key=663a104cb8cb4aa08e1b61fe529785ff
Why Combine Flux Models?
When working with different models like Dev, Schnell, or others, you may want to merge them for improved performance or quality. Hereâs a simple breakdown of the combinations:
- Dev with Dev: This is the classic approach where you create
.safetensors
files from the Dev model and run them as normal checkpoints. This ensures stable results but may not always be the fastest. - Dev with Schnell: This combination helps to speed up the loading process while maintaining an acceptable quality level. Itâs a good choice if you need faster performance but can tolerate slight quality compromises.
Steps to Merge Flux Models
Follow these simple steps to merge your Flux models using ComfyU
Step 1: Upgrade to the Latest Version of ComfyUI
To begin, make sure your ComfyUI is updated to the latest version. The new update includes a handy button called ModelMergeFlux1, which is essential for merging Flux models.
Step 2: Create the Merge Button
Once your ComfyUI is up to date, you will see a new button called ModelMergeFlux1. Click on this button, and youâll be prompted to choose the models you wish to merge. Select the following:
- VAE (Variational Autoencoder)
- UNET
- Flux
If you prefer, you can download pre-configured settings or models to simplify the process further.
Step 3: Merge the Models
After selecting your desired models (VAE, UNET, and Flux), click Queue. The system will begin merging the models into a .safetensors
file. This process may take a little time, so be patient and let ComfyUI handle the merging.
Typically, it will be located at: ComfyUI/output/checkpoint. On MimicPC, its path is File > Storage > output > checkpoint.
Click to directly run the model merging workflow: https://home.mimicpc.com/app-image-share?key=663a104cb8cb4aa08e1b61fe529785ff
Step 4: Load Your Workflow
Once the merge is complete, you can load the newly created .safetensors
model into your workflow just like you would with any regular checkpoint. If you'd like, you can rename the merged model to something more meaningful, as the default name will be 00001.safetensors. After renaming it, move the model to the following directory: Storage > models > checkpoints. Once the model is in the right place, you can create and run your workflow as usual, enjoying the enhanced results with your merged Flux model.
Conclusion
Merging Flux models in ComfyUI is an efficient way to combine the strengths of different models and optimize your workflow. By following these simple steps, you can easily create customized models that are faster and more suited to your needs. Whether you're looking to speed up loading times with Dev and Schnell or stick with Dev and Dev for stability, this easy-to-follow process will help you get the best results from your AI toolkit.
Happy experimenting, and enjoy the enhanced performance with your merged Flux models!