Skip to content

FluxGym:至简的 LORA 训练器

本地安装

shell
conda create -n fluxgym_env python=3.12 -y
conda activate fluxgym_env

git clone https://github.com/cocktailpeanut/fluxgym
cd fluxgym
git clone -b sd3 https://github.com/kohya-ss/sd-scripts

cd sd-scripts
pip install -r requirements.txt
cd ..
pip install -r requirements.txt
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu126

启动

shell
python app.py

img.png