[Guide] Training SDXL LoRAs with ROCm (AMD) in 2025 #2117
TotallyTroll
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Thanks for sharing your config! I started a thread here to share our configs and get feedback! One thing caught my eye. You are using Adafactor with the default parameters. This means that |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Been struggling for some time to train LoRAs on my AMD GPU (7900XTX).
Most of the time I spent trying to make it work with GUI version. No luck.
Also all the guides over the internet are for quite old version of everything (rocm, pytorch, etc.) that doesn't work anymore.
So here are quick commands and instructions that made it possible to train SDXL loras with sd-scripts in 2025.
Change TOKENIZER2_PATH to be the same as TOKENIZER1_PATH:
For some reason it can't find or download "laion/CLIP-ViT-bigG-14-laion2B-39B-b160k" tokenizer. So script fails all the time with Tokenizer error.
Here are params that I used and they worked.
chmod +x sdxl_lora_train.sh
And run it:
./sdxl_lora_train.sh
I still don't like end results much. Since same dataset and parameters trained at tensor.art - provided much better LoRA.
At least now I have an opportunity to test different parameters on my local machine and maybe some day achieve proper results with AMD GPU.
Beta Was this translation helpful? Give feedback.
All reactions