Skip to content

Commit 230f901

Browse files
ValerianReyclaude
andauthored
docs: Drop broken lightning intersphinx mapping (#773)
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 862baed commit 230f901

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

docs/source/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
intersphinx_mapping = {
6161
"python": ("https://docs.python.org/3", None),
6262
"torch": ("https://pytorch.org/docs/stable/", None),
63-
"lightning": ("https://lightning.ai/docs/pytorch/stable/", None),
6463
}
6564

6665
html_favicon = "icons/favicon.ico"

docs/source/examples/lightning_integration.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
PyTorch Lightning Integration
22
=============================
33

4-
To use Jacobian descent with TorchJD in a :class:`~lightning.pytorch.core.LightningModule`, you need
4+
To use Jacobian descent with TorchJD in a ``LightningModule``, you need
55
to turn off automatic optimization by setting ``automatic_optimization`` to ``False`` and to
66
customize the ``training_step`` method to make it call the appropriate TorchJD method
77
(:doc:`backward <../docs/autojac/backward>` or :doc:`mtl_backward <../docs/autojac/mtl_backward>`).
88

99
The following code example demonstrates a basic multi-task learning setup using a
10-
:class:`~lightning.pytorch.core.LightningModule` that will call :doc:`mtl_backward
10+
``LightningModule`` that will call :doc:`mtl_backward
1111
<../docs/autojac/mtl_backward>` at each training iteration.
1212

1313
.. testsetup::

0 commit comments

Comments
 (0)