Views
No views yet

git clone https://github.com/ostris/ai-toolkit.git
cd ai-toolkit
git submodule update --init --recursive
python3 -m venv venv
source venv/bin/activate
# .\venv\Scripts\activate on windows
# install torch first
pip3 install torch
pip3 install -r requirements.txthuggingface-cli login
pip install wandb
wandb login
export PYTORCH_CUDA_ALLOC_CONF=expandable_segments:Truepython run.py train_lora_flux_24gb.yaml2r8n d1g2 to trigger the image generation.git clone https://github.com/comfyanonymous/ComfyUI
cd ComfyUI
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python main.py