with HUB_MODEL_ID. The script creates and saves the following files to your repository: saved model checkpoints pytorch_lora_weights.safetensors (the trained LoRA weights) If you’re training on more than one GPU, add the --multi_gpu parameter to the accelerate launch command. A full training run takes ~5 hours on a 2080 Ti GPU with 11GB of VRAM.   Copied export MODEL_NAME="runwayml/stable-diffusion-v1-5"
export OUTPUT_DIR="/sddata/finetune/lora