You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: latest/docs/aggregation/aligned_mtl/index.html
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -311,7 +311,8 @@ <h1>Aligned-MTL<a class="headerlink" href="#aligned-mtl" title="Link to this hea
311
311
</dl>
312
312
<divclass="admonition note">
313
313
<pclass="admonition-title">Note</p>
314
-
<p>This implementation was adapted from the <aclass="reference external" href="https://github.com/SamsungLabs/MTL/tree/master/code/optim/aligned">official implementation</a>.</p>
314
+
<p>This implementation was adapted from the official implementation of SamsungLabs/MTL,
315
+
which is not available anymore at the time of writing.</p>
step of <aclass="reference external" href="https://www.sciencedirect.com/science/article/pii/S1631073X12000738">Multiple-gradient descent algorithm (MGDA) for multiobjective optimization</a>. The implementation is
301
-
based on Algorithm 2 of <aclass="reference external" href="https://proceedings.neurips.cc/paper_files/paper/2018/file/432aca3a1e345e339f35a30c8f65edce-Paper.pdf">Multi-Task Learning as Multi-Objective Optimization</a>.</p>
300
+
step of <aclass="reference external" href="https://comptes-rendus.academie-sciences.fr/mathematique/articles/10.1016/j.crma.2012.03.014/">Multiple-gradient descent algorithm (MGDA) for multiobjective optimization</a>.
301
+
The implementation is based on Algorithm 2 of <aclass="reference external" href="https://proceedings.neurips.cc/paper_files/paper/2018/file/432aca3a1e345e339f35a30c8f65edce-Paper.pdf">Multi-Task Learning as Multi-Objective
Copy file name to clipboardExpand all lines: latest/examples/lightning_integration/index.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -293,12 +293,12 @@
293
293
<articlerole="main" id="furo-main-content">
294
294
<sectionid="pytorch-lightning-integration">
295
295
<h1>PyTorch Lightning Integration<aclass="headerlink" href="#pytorch-lightning-integration" title="Link to this heading">¶</a></h1>
296
-
<p>To use Jacobian descent with TorchJD in a <aclass="reference external" href="https://lightning.ai/docs/pytorch/stable/api/lightning.pytorch.core.LightningModule.html#lightning.pytorch.core.LightningModule" title="(in PyTorch Lightning v2.6.0)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LightningModule</span></code></a>, you need
296
+
<p>To use Jacobian descent with TorchJD in a <aclass="reference external" href="https://lightning.ai/docs/pytorch/stable/api/lightning.pytorch.core.LightningModule.html#lightning.pytorch.core.LightningModule" title="(in PyTorch Lightning v2.6.1)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LightningModule</span></code></a>, you need
297
297
to turn off automatic optimization by setting <codeclass="docutils literal notranslate"><spanclass="pre">automatic_optimization</span></code> to <codeclass="docutils literal notranslate"><spanclass="pre">False</span></code> and to
298
298
customize the <codeclass="docutils literal notranslate"><spanclass="pre">training_step</span></code> method to make it call the appropriate TorchJD method
299
299
(<aclass="reference internal" href="../../docs/autojac/backward/"><spanclass="doc">backward</span></a> or <aclass="reference internal" href="../../docs/autojac/mtl_backward/"><spanclass="doc">mtl_backward</span></a>).</p>
300
300
<p>The following code example demonstrates a basic multi-task learning setup using a
301
-
<aclass="reference external" href="https://lightning.ai/docs/pytorch/stable/api/lightning.pytorch.core.LightningModule.html#lightning.pytorch.core.LightningModule" title="(in PyTorch Lightning v2.6.0)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LightningModule</span></code></a> that will call <aclass="reference internal" href="../../docs/autojac/mtl_backward/"><spanclass="doc">mtl_backward</span></a> at each training iteration.</p>
301
+
<aclass="reference external" href="https://lightning.ai/docs/pytorch/stable/api/lightning.pytorch.core.LightningModule.html#lightning.pytorch.core.LightningModule" title="(in PyTorch Lightning v2.6.1)"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">LightningModule</span></code></a> that will call <aclass="reference internal" href="../../docs/autojac/mtl_backward/"><spanclass="doc">mtl_backward</span></a> at each training iteration.</p>
0 commit comments