Chip Foundry Services Request Assessment

Micro-Batch

A micro-batch is the small per-step batch size that actually fits in available memory during gradient accumulation, with several micro-batches' gradients summed together before a single optimizer update is applied, so that the resulting effective batch size, the micro-batch size multiplied by the number of accumulation steps, can exceed what a single memory-constrained forward-and-backward pass could process directly. This micro-batch-then-accumulate structure is the specific mechanism that lets gradient accumulation decouple a training run's effective batch size from the batch size any single forward-and-backward pass must individually accommodate in memory.