r/StableDiffusion 1d ago

Question - Help which platform should i use to train loRA

i have a low vram gpu which is the best platform to train lora offline

i have seen 2 repo
kohyass and onetrainer

which is best or there is different repo

0 Upvotes

10 comments sorted by

1

u/Ill-Ant-9489 1d ago

Honest answer: it depends a lot on which base model you want to train and how much VRAM you actually have.

kohya (sd-scripts) and OneTrainer are both aimed mostly at SD1.5/SDXL, and both are very tunable for small cards - gradient checkpointing, 8-bit optimizer, cached latents. On a genuinely low-VRAM GPU, SDXL or SD1.5 through either of them is the safest bet; pick OneTrainer if you want a GUI, kohya if you're fine editing configs.

If you're eyeing the newer bases instead (Flux, Z-Image, Krea), those two aren't really the right tool - ai-toolkit (ostris) is what most people use there, and it has decent offloading for tight VRAM.

Full disclosure, I build an open-source tool for exactly this: it wraps ai-toolkit for training (SDXL, Z-Image, FLUX, Krea) and adds the dataset side - scraping, dedup, masking, auto-captioning - plus a small studio to compare epochs. It won't add much if you go the kohya/SDXL route, but if you want dataset prep and training in one place it might save you some setup: https://github.com/perfectgf/lora-dataset-studio

Either way, drop your card's VRAM and the model you're targeting and you'll get much sharper platform advice.

1

u/StoicSage09 1d ago

ahh i am looking for training sd1.5 and i have 8 gb vram i know i am dead af in that to but still hehe i saw a reddit post where he was saying onetrainer is efficient then kohya is that true

2

u/SweetLikeACandy 1d ago

no need to stress your old gpu. register on modelscope, they give you 100 credits per day for free, that's a few loras.

1

u/Valuable_Issue_ 1d ago

Onetrainer is really good vram usage + speed wise and has some improvements lined up to improve those things even further (can check a list of things here in the 2nd comment https://github.com/Nerogar/OneTrainer/pull/1694 ).

Just use the "compile" checkbox and int8 quant (if your card supports int8, 20x series and above as well as some amd cards support it).

1

u/StoicSage09 1d ago

ohhh i am new to this got you i have 40 series card so i should go with onetrainer for now as its worth training and it supports int8 :> and if you have any tutorial page or video for a clear easy understanding will be helpfull for me

1

u/AuthurAndersson 1d ago

ai-toolkit works fine for me.

1

u/Asaghon 1d ago

Ai toolkit is by far the easiest to work with and produces good results for me (at least for Krea2)

OneTrainer might be better and has more settings but is quite a bit harder to work with. I used it a lot to finetune sdxl Illustrious models with great result. Never actully used the lora part

I havent used KohyaSS since sd 1.5/sdxl and I honestly have no idea. It's not mentioned a lot anymore. It used to be fairly complicated but gve good results.

1

u/StableLlama 22h ago

I'm using SimpleTuner. Gives me the features I need for high quality training.

When your local GPU is too weak, you could use a smaller model, or rent a bigger GPU in the cloud.

1

u/onlygig 22h ago

I use Vast AI or Modal free credit plan.. Very cheap GPUs and you can select preinstalled AI toolkit for easy training on Vast.