Warning
If you're not a beginner, check out the original repo: https://github.com/ostris/ai-toolkit. This script is just for beginners.
RunpodFlux.mp4
This is meant to be run on the following spec server:
Specification | Recommended Value |
---|---|
GPU | Minimum 24GB VRAM (e.g., A40, A5000, 3090). Use 48GB VRAM for image generation. |
Container Size | Minimum 40GB. Set to 60GB if you also want to generate images. |
Volume Size | 20GB |
-
Initialize
curl -s https://geocine.github.io/flux/init.sh | sh
-
Paste your huggingface token on the
token
file. -
Upload your photos on
data
folder -
Modify
prompts
andtrigger_word
onconfig.yaml
-
Start training
./run.sh
-
After training your model, you can download it from the
output
folder. Checkout the generate images documentation.