Pretrain, finetune ANY AI model of ANY size on 1 or 10,000+ GPUs with zero code changes.
Remove unnecessary TODO comment in fit_loop.py (#21265)
* Initial plan * Remove unnecessary TODO comment in fit_loop.py The TODO suggested moving max_steps check inside training loop, but this is correctly placed in fit_loop since global_step tracks steps across epochs and the fit_loop is responsible for deciding when to stop the entire fit process. Moving it would require additional flag variables, making the code more complex without any benefit. Co-authored-by: Borda <6035284+Borda@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Borda <6035284+Borda@users.noreply.github.com> Co-authored-by: Deependu <deependujha21@gmail.com>
C
Copilot committed
bf93b18d4c1c9ba36e053550da767e6eff3eb3aa
Parent: bb7820f
Committed by GitHub <noreply@github.com>
on 4/13/2026, 7:53:27 PM