Skip to content

Commit 48b6de0

Browse files
awaelchlitchaton
andauthored
update (#4343)
Co-authored-by: chaton <[email protected]>
1 parent 8e3faa2 commit 48b6de0

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

pytorch_lightning/trainer/__init__.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -979,13 +979,9 @@ def on_train_end(self, trainer, pl_module):
979979
# check all validation data
980980
trainer = Trainer(num_sanity_val_steps=-1)
981981
982-
Example::
983982
984-
python -m torch_xla.distributed.xla_dist
985-
--tpu=$TPU_POD_NAME
986-
--conda-env=torch-xla-nightly
987-
--env=XLA_USE_BF16=1
988-
-- python your_trainer_file.py
983+
This option will reset the validation dataloader unless ``num_sanity_val_steps=0``.
984+
989985
990986
plugins
991987
^^^^^^^

0 commit comments

Comments
 (0)