hard20 pts · first answer countsdistributed-traininggpu-memory
Model does not fit in GPU memory
With plain data parallel training (DDP), your model plus Adam optimizer states runs out of memory on each GPU, even with batch size 1. Which approach directly addresses this?
Discussion 0
Join free to post in the discussion.
Related questions
- Effective batch size across GPUsMachine Learning Engineer
- What ZeRO stage 3 shardsMachine Learning Engineer
- Activation checkpointing trade-offMachine Learning Engineer
- Memory for 7B parameters in fp16MLOps Engineer
- KV cache size for one long requestMLOps Engineer
- Training on spot GPUsMLOps Engineer
- Speeding up training on 8 GPUsMLOps Engineer
- Where to use tensor parallelismMLOps Engineer