ostris / flux-dev-lora-trainer

Fine-tune FLUX.1-dev using ai-toolkit

  • Public
  • 44.1K runs
  • GitHub
  • License

Blog post: Learn about training with Flux Read the blog

About

A Cog implementation of ostris/ai-toolkit

How to Train

In the TRAIN tab (between README and VERSIONS) you’ll see the parameters that you can select to train a LoRA

For destination select/create an empty Replicate model location to store your LoRAs. Ex: lucataco/flux-loras)

For input_images upload your zip/tar file of images for training. File names must be their captions, ex: a_photo_of_TOK.png

For trigger_word select your training word of interest. Ex: ‘TOK’

For steps select a value from 1000-4000

The other steps are optional

How to Run your Flux finetune

After training is complete you will be able to run your LoRA in a new Replicate model at the destination location

Check out some of these Flux finetunes:

License

All Flux-Dev LoRAs have the same license as the original base mode for FLUX.1-dev

If you choose the option to upload your trained LoRA to Huggingface, this License will be added for you