Is one GPU enough for LoRA on your model?
Budget memory for base weights, activations, adapters and optimizer state. Run several steps with the longest typical sample. Adapter size accounts for only part of peak VRAM.
Check LoRA on one GPUWhat to check
-
Training settings
Record the base model revision, sequence length, weight precision and microbatch size.
-
Peak memory
Measure forward and backward passes and the optimizer step. Repeat after changing settings.
What to include in your email
- Base model and precision
- Longest relevant sample
- GPU and VRAM