SpinTheMic
Pro

Interview practice question

Model too big for a single GPU

Machine Learning · Deep Learning · Experienced

You need to fine-tune a model that doesn't fit in one GPU's memory. What options do you have?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • FSDP or DeepSpeed ZeRO to shard parameters, gradients, optimizer states.
  • Tensor/pipeline parallelism for very large models.
  • Parameter-efficient fine-tuning (LoRA) and 4-bit QLoRA.
  • Gradient checkpointing, mixed precision, CPU offload.
  • Choose based on hardware and goal.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics