Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.29 KB

README.md

File metadata and controls

25 lines (17 loc) · 1.29 KB

Flux Fine-tune action

This is an example repo for fine-tuning and publishing your own custom Flux model using Replicate and GitHub Actions.

Preqrequisites

  • A Replicate account
  • A handful of training images

Training the model

  1. Fork this repository.
  2. Remove the images in the data directory and replace them with your own images.
  3. Commit your changes to Git and push to your main branch on GitHub.
  4. Create a Replicate API token and add it as a repository secret named REPLICATE_API_TOKEN.
  5. Trigger the workflow from your GitHub repo page: "Actions" > "Train a model" > "Run workflow".
  6. Go to the replicate.com/trainings to see your training in progress.

Running the model

Check out these guides for tips on training and running Flux models: