Pretrain, finetune ANY AI model of ANY size on 1 or 10,000+ GPUs with zero code changes.
fix: Skip val_check_interval validation when limit_val_batches=0 (#21560)
* fix: Skip val_check_interval validation when limit_val_batches=0 When limit_val_batches=0 (validation disabled), the val_check_interval sanity check is now skipped since validation will not run anyway. Fixes #21553 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Move comments inside if-elif block per review feedback * Remove extra blank line in test docstring * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Apply suggestion from @deependujha * Apply suggestion from @deependujha * Add changelog entry for val_check_interval fix * Collapse test docstring to single line * Add co-author credit for issue reporter Co-authored-by: Taha Yassine <40228615+taha-yassine@users.noreply.github.com> * update --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Deependu <deependujha21@gmail.com> Co-authored-by: Taha Yassine <40228615+taha-yassine@users.noreply.github.com>
M
Manas Vardhan committed
9dc525c2bfd05886442f7ea05b9e30f1c203222c
Parent: d27d2b9
Committed by GitHub <noreply@github.com>
on 3/6/2026, 3:23:46 PM