docs/source-pytorch/upgrade/sections/2_0_advanced.rst
.. list-table:: adv. user 2.0 :widths: 40 40 20 :header-rows: 1
torchdistx package and integration in Trainerguide for initializing large models <../../advanced/model_init>PR17995_def training_step(self, dataloader_iter, batch_idx) in LightningModulebatch_idx from the signature and expect dataloader_iter to return a triplet (batch, batch_idx, dataloader_idx)PR18390_def validation_step(self, dataloader_iter, batch_idx) in LightningModulebatch_idx from the signature and expect dataloader_iter to return a triplet (batch, batch_idx, dataloader_idx)PR18390_def test_step(self, dataloader_iter, batch_idx) in LightningModulebatch_idx from the signature and expect dataloader_iter to return a triplet (batch, batch_idx, dataloader_idx)PR18390_def predict_step(self, dataloader_iter, batch_idx) in LightningModulebatch_idx from the signature and expect dataloader_iter to return a triplet (batch, batch_idx, dataloader_idx)PR18390_batch = next(dataloader_iter) in LightningModule *_step hooksbatch, batch_idx, dataloader_idx = next(dataloader_iter)PR18390_Trainer(plugins=KubeflowEnvironment()) to explicitly set it on a Kubeflow clusterPR18137_.. _pr17995: https://github.com/Lightning-AI/pytorch-lightning/pull/17995 .. _pr18390: https://github.com/Lightning-AI/pytorch-lightning/pull/18390 .. _pr18137: https://github.com/Lightning-AI/pytorch-lightning/pull/18390