replicate / flux-fine-tuner

Cog wrapper for ostris/ai-toolkit + post-finetuning cog inference for flux models
https://replicate.com/ostris/flux-dev-lora-trainer/train
Apache License 2.0
270 stars 29 forks source link
flux

flux-fine-tuner

This is a Cog training model that creates LoRA-based fine-tunes for the FLUX.1 family of image generation models.

It's live at replicate.com/ostris/flux-dev-lora-trainer.

It also includes code for running inference with a fine-tuned model.

Features

Getting Started

If you're looking to create your own fine-tuned model on Replicate, you don't need to do anything with this codebase.

Check out these guides to get started:

šŸ‘‰ Fine-tune Flux to create images of yourself

šŸ‘‰ Fine-tune Flux with an API

Contributing

If you're here to help improve the trainer that Replicate uses to fine-tune Flux models, you've come to the right place.

Check out the contributing guide to get started.

Credits

This project is based on the ai-toolkit project, which was created by @ostris. ā¤ļø

License

The code in this repository is licensed under the Apache-2.0 License.

The ai-toolkit project is licensed under the MIT License.

Flux Dev falls under the FLUX.1 [dev] Non-Commercial License.

FLUX.1 [dev] fine-tuned weights and their outputs are non-commercial by default, but can be used commercially when running on Replicate.

Flux Schnell falls under the Apache-2.0 License.