From edf54b4c21a5ae8cd0c096d95d432c56375a7b61 Mon Sep 17 00:00:00 2001 From: ZainnQureshii <43629888+ZainnQureshii@users.noreply.github.com> Date: Mon, 19 Oct 2026 16:48:18 +0200 Subject: [PATCH] docs: say `fast_dev_run=True` runs one batch in the debugging guide `fast_dev_run=True` sets each batch limit to `int(True)`, one batch, as the Trainer reference already says. The debugging guide said five. Co-Authored-By: Claude Opus 5.5 --- docs/source-pytorch/debug/debugging_basic.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source-pytorch/debug/debugging_basic.rst b/docs/source-pytorch/debug/debugging_basic.rst index 8d725fca673cb..12d1d47d5e092 100644 --- a/docs/source-pytorch/debug/debugging_basic.rst +++ b/docs/source-pytorch/debug/debugging_basic.rst @@ -45,7 +45,7 @@ Run all your model code once quickly ************************************ If you've ever trained a model for days only to crash during validation or testing then this trainer argument is about to become your best friend. -The :paramref:`~lightning.pytorch.trainer.trainer.Trainer.fast_dev_run` argument in the trainer runs 5 batch of training, validation, test and prediction data through your trainer to see if there are any bugs: +The :paramref:`~lightning.pytorch.trainer.trainer.Trainer.fast_dev_run` argument in the trainer runs 1 batch of training, validation, test and prediction data through your trainer to see if there are any bugs: .. code:: python