Best AI News — Updated Every 3 Hours
Story Page
← All Stories
Home→ Community→ Story
Community

Same effective batch does not mean same training time with gradient accumulation, tested on LoRA on T4 and L4 [D]

Via r/MachineLearning
Wednesday, Aug 19, 2026 · 2:23PM
Summary

I had assumed 1 × 4, 2 × 2 and 4 × 1 will take somewhat similar time because effective batch is 4 in all cases. They did not. I ran Qwen3-1.7B with TRL and LoRA for 100 optimizer updates. GPU 1 × 4 2 × 2 4 × 1 T4 287.6s 258.8s 238.2s L4 213.02s 119.47s 124.76s Model, data, sequence length, precision

Continue reading the full article
Read at r/MachineLearning
www.reddit.com
Back to all stories