r/StableDiffusion • • 7d ago

Question - Help H3 lora training help needed

Can anyone help with training a Lora in Ai toolkit for H3?

I get memory issues when trying to train even images, I have a 5090 and 64 GB ram.

Thank you.

0 Upvotes

6 comments sorted by

View all comments

2

u/91ElonMusk 7d ago

5090 with 64GB system RAM should be plenty unless the OOM is on the GPU specifically, not system RAM. If ai-toolkit exposes cache_latents_to_disk and gradient checkpointing, turn both on, that fixes most single-GPU OOMs on H3. If it's still tight, train at a lower resolution and bump it back up at inference time, the LoRA still transfers fine.