diff --git a/docs/source/_templates/theme_variables.jinja b/docs/source/_templates/theme_variables.jinja index 5894b04137..db19401611 100644 --- a/docs/source/_templates/theme_variables.jinja +++ b/docs/source/_templates/theme_variables.jinja @@ -9,7 +9,7 @@ 'tutorials': 'https://pytorch-lightning.readthedocs.io/en/latest/#tutorials', 'previous_pytorch_versions': 'https://pytorch-lightning.rtfd.io/en/latest/', 'home': 'https://pytorch-lightning.rtfd.io/en/latest/', - 'get_started': 'https://pytorch-lightning.readthedocs.io/en/latest/starter/introduction_guide.html', + 'get_started': 'https://pytorch-lightning.readthedocs.io/en/latest/starter/introduction.html', 'features': 'https://pytorch-lightning.rtfd.io/en/latest/', 'blog': 'https://www.pytorchlightning.ai/blog', 'resources': 'https://pytorch-lightning.readthedocs.io/en/latest/#community-examples', diff --git a/docs/source/starter/converting.rst b/docs/source/starter/converting.rst index 23a87d94bd..b15a62138f 100644 --- a/docs/source/starter/converting.rst +++ b/docs/source/starter/converting.rst @@ -193,9 +193,9 @@ and all the :class:`~torch.nn.Module` instances initialized inside ``LightningMo super().__init__() self.register_buffer("running_mean", torch.zeros(num_features)) -If you still need to access the current device, you can use ``self.device`` anywhere in ``LightningModule`` except ``__init__`` method. You are initializing a -:class:`~torch.Tensor` within ``LightningModule.__init__`` method and want it to be moved to the device automatically you must :meth:`~torch.nn.Module.register_buffer` -to register it as a parameter. +If you still need to access the current device, you can use ``self.device`` anywhere in ``LightningModule`` except ``__init__`` and ``setup`` methods. +You are initializing a :class:`~torch.Tensor` within ``LightningModule.__init__`` method and want it to be moved to the device automatically you must +:meth:`~torch.nn.Module.register_buffer` to register it as a parameter. .. testcode::