Choosing a GPU for fine-tuning
Estimate memory and runtime for LoRA or full fine-tuning and compare an owned server with a short rental.
Size a GPU for fine-tuningWhat to check
-
Training memory
Count weights, activations, gradients and optimizer state. Estimate the savings from the chosen method.
-
Runtime
Check sample length, batch size, dataset size and communication between cards.
-
Recovery
Choose where to store checkpoints and test how to resume after a stop.
What to include in your email
- Base model and fine-tuning method
- Dataset size and sample lengths
- Framework and deadline
- Budget per experiment