docs/source-pytorch/upgrade/sections/1_4_advanced.rst
.. list-table:: adv. user 1.4 :widths: 40 40 20 :header-rows: 1
ModelCheckpoint.save_functionTrainer.save_checkpointPR7201_Trainer.running_sanity_check propertyTrainer.sanity_checking propertyPR4945_LightningModule.grad_normpl.utilities.grad_norm utility function insteadPR7292_TrainerTrainingTricksMixin.detect_nan_tensorspl.utilities.grads.grad_normPR6834_TrainerTrainingTricksMixin.print_nan_gradientspl.utilities.finite_checks.print_nan_gradientsPR6834_TrainerLoggingMixin.metrics_to_scalarspl.utilities.metrics.metrics_to_scalarsPR7180_Trainer(gpus="i,j")Trainer(devices=i), you can still select the specific GPU by setting the CUDA_VISIBLE_DEVICES=i,j environment variablePR6388_.. _pr7201: https://github.com/Lightning-AI/pytorch-lightning/pull/7201 .. _pr4945: https://github.com/Lightning-AI/pytorch-lightning/pull/4945 .. _pr7292: https://github.com/Lightning-AI/pytorch-lightning/pull/7292 .. _pr6834: https://github.com/Lightning-AI/pytorch-lightning/pull/6834 .. _pr7180: https://github.com/Lightning-AI/pytorch-lightning/pull/7180 .. _pr6388: https://github.com/Lightning-AI/pytorch-lightning/pull/6388