How to automatically find the batch size when using Accelerate with FSDP2? [D]
This story is from 2026-09-14. It is preserved in the archive; the latest stories are on the live feed.
Hi, For single-GPU training, I’m using Hugging Face SFTTrainer with auto_find_batch_size=True, which automatically reduces the batch size after a CUDA OOM until it finds a batch size that works. I would like to have similar behavior when training on multiple GPUs on a single node using accelerate l…
Read the full story at r/MachineLearning ↗
Timeline · 1 report
- 2026-09-14 17:24 · r/MachineLearning
How to automatically find the batch size when using Accelerate with FSDP2? [D]