Cog training model for LoRA fine-tuning FLUX.1 image generation
Top 73.2% on sourcepulse
This project provides a Cog wrapper for fine-tuning FLUX.1 image generation models using LoRA, enabling users to create custom image generation models. It also includes inference capabilities for these fine-tuned models, targeting users who want to personalize image generation workflows.
How It Works
The fine-tuner leverages the ostris/ai-toolkit
and integrates LoRA for efficient model adaptation. It automates image captioning during training and allows for inference with the resulting LoRA weights. The system supports Weights & Biases integration for experiment tracking and can optionally upload fine-tuned weights to Hugging Face.
Quick Start & Requirements
replicate.com/ostris/flux-dev-lora-trainer
). For local development, Cog is required.https://replicate.com/ostris/flux-dev-lora-trainer
https://replicate.com/blog/fine-tune-flux-to-create-images-of-yourself
, https://replicate.com/blog/fine-tune-flux-with-an-api
Highlighted Details
Maintenance & Community
The project is associated with ostris
and appears to be actively used on Replicate. Contributing guidelines are available for developers.
Licensing & Compatibility
ai-toolkit
), FLUX.1 [dev] Non-Commercial License (for FLUX.1 models and their outputs).Limitations & Caveats
The FLUX.1 models and their fine-tuned weights are subject to a non-commercial license, with commercial use restricted to the Replicate platform. Local commercial use of fine-tuned weights may require separate licensing.
1 month ago
1 week