Why it matters
Micro-batch shapes memory. Understanding shapes design.
Advertisement
The architecture
Memory: proportional to micro-batch.
Throughput: peaks then plateaus.
Choose largest fitting memory.
Advertisement
How it works end to end
Small: memory OK, bad throughput.
Large: OOM.
Sweet spot: largest fitting with buffer.
In PP: smaller better for bubbles.