docs/source-pytorch/upgrade/sections/1_6_regular.rst
.. list-table:: reg. user 1.6 :widths: 40 40 20 :header-rows: 1
terminate_on_nandetect_anomaly instead, which enables detecting anomalies in the autograd enginePR9175_weights_summaryModelSummary callback with max_depth insteadPR9699_checkpoint_callbackenable_checkpointing. If you set enable_checkpointing=True, it configures a default ModelCheckpoint callback if none is provided lightning.pytorch.trainer.trainer.Trainer.callbacks.ModelCheckpointPR9754_stochastic_weight_avgStochasticWeightAveraging callback directly to the list of callbacks, so for example, Trainer(..., callbacks=[StochasticWeightAveraging(), ...])PR8989_flush_logs_every_n_stepsPR9366_max_steps to the Trainer, max_steps=None won't have any effectTrainer(max_steps=-1) which is the defaultPR9460_resume_from_checkpoint="..."trainer.fit(ckpt_path="...")PR9693_log_gpu_memory, gpu_metricsDeviceStatsMonitor callback insteadPR9921_progress_bar_refresh_rateProgressBar callback and set refresh_rate there, or pass enable_progress_bar=False to disable the progress barPR9616_LightningModule.summarize()pl.utilities.model_summary.summarize(model)PR8513_LightningModule.model_size propertypl.utilities.memory.get_model_size_mb(model)PR8495_on_train_dataloader() hooks in LightningModule and LightningDataModuletrain_dataloaderPR9098_on_val_dataloader() hooks in LightningModule and LightningDataModuleval_dataloaderPR9098_on_test_dataloader() hooks in LightningModule and LightningDataModuletest_dataloaderPR9098_on_predict_dataloader() hooks in LightningModule and LightningDataModulepredict_dataloaderPR9098_on_keyboard_interrupt callback hookon_exception hook, and specify the exception typePR9260_TestTubeLoggerTensorBoardLoggerPR9065_ProgressBar callbackTQDMProgressBar callback instead with the same argumentsPR10134_GPUStatsMonitor callbacksDeviceStatsMonitor callback insteadPR9924_XLAStatsMonitor callbacksDeviceStatsMonitor callback insteadPR9924_.. _pr9175: https://github.com/Lightning-AI/pytorch-lightning/pull/9175 .. _pr9699: https://github.com/Lightning-AI/pytorch-lightning/pull/9699 .. _pr9754: https://github.com/Lightning-AI/pytorch-lightning/pull/9754 .. _pr8989: https://github.com/Lightning-AI/pytorch-lightning/pull/8989 .. _pr9366: https://github.com/Lightning-AI/pytorch-lightning/pull/9366 .. _pr9460: https://github.com/Lightning-AI/pytorch-lightning/pull/9460 .. _pr9693: https://github.com/Lightning-AI/pytorch-lightning/pull/9693 .. _pr9921: https://github.com/Lightning-AI/pytorch-lightning/pull/9921 .. _pr9616: https://github.com/Lightning-AI/pytorch-lightning/pull/9616 .. _pr8513: https://github.com/Lightning-AI/pytorch-lightning/pull/8513 .. _pr8495: https://github.com/Lightning-AI/pytorch-lightning/pull/8495 .. _pr9098: https://github.com/Lightning-AI/pytorch-lightning/pull/9098 .. _pr9260: https://github.com/Lightning-AI/pytorch-lightning/pull/9260 .. _pr9065: https://github.com/Lightning-AI/pytorch-lightning/pull/9065 .. _pr10134: https://github.com/Lightning-AI/pytorch-lightning/pull/10134 .. _pr9924: https://github.com/Lightning-AI/pytorch-lightning/pull/9924