Skip to content

Commit d725a35

Browse files
committed
1 parent 3c52e39 commit d725a35

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

latest/_sources/installation.md.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ Note that `torchjd` requires Python 3.10, 3.11, 3.12, 3.13 or 3.14 and `torch>=2
1010
Some aggregators (CAGrad and Nash-MTL) have additional dependencies that are not included by default
1111
when installing `torchjd`. To install them, you can use:
1212
```
13-
pip install torchjd[cagrad]
13+
pip install "torchjd[cagrad]"
1414
```
1515
```
16-
pip install torchjd[nash_mtl]
16+
pip install "torchjd[nash_mtl]"
1717
```
1818

1919
To install `torchjd` with all of its optional dependencies, you can also use:
2020
```
21-
pip install torchjd[full]
21+
pip install "torchjd[full]"
2222
```

latest/docs/aggregation/cagrad/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ <h1>CAGrad<a class="headerlink" href="#cagrad" title="Link to this heading">¶</
311311
<p>This aggregator is not installed by default. When not installed, trying to import it should
312312
result in the following error:
313313
<code class="docutils literal notranslate"><span class="pre">ImportError:</span> <span class="pre">cannot</span> <span class="pre">import</span> <span class="pre">name</span> <span class="pre">'CAGrad'</span> <span class="pre">from</span> <span class="pre">'torchjd.aggregation'</span></code>.
314-
To install it, use <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">torchjd[cagrad]</span></code>.</p>
314+
To install it, use <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">&quot;torchjd[cagrad]&quot;</span></code>.</p>
315315
</div>
316316
</dd></dl>
317317

latest/docs/aggregation/nash_mtl/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ <h1>Nash-MTL<a class="headerlink" href="#nash-mtl" title="Link to this heading">
316316
<p>This aggregator is not installed by default. When not installed, trying to import it should
317317
result in the following error:
318318
<code class="docutils literal notranslate"><span class="pre">ImportError:</span> <span class="pre">cannot</span> <span class="pre">import</span> <span class="pre">name</span> <span class="pre">'NashMTL'</span> <span class="pre">from</span> <span class="pre">'torchjd.aggregation'</span></code>.
319-
To install it, use <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">torchjd[nash_mtl]</span></code>.</p>
319+
To install it, use <code class="docutils literal notranslate"><span class="pre">pip</span> <span class="pre">install</span> <span class="pre">&quot;torchjd[nash_mtl]&quot;</span></code>.</p>
320320
</div>
321321
<div class="admonition warning">
322322
<p class="admonition-title">Warning</p>

latest/installation/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -300,14 +300,14 @@ <h1>Installation<a class="headerlink" href="#installation" title="Link to this h
300300
<p>Note that <code class="docutils literal notranslate"><span class="pre">torchjd</span></code> requires Python 3.10, 3.11, 3.12, 3.13 or 3.14 and <code class="docutils literal notranslate"><span class="pre">torch&gt;=2.0</span></code>.</p>
301301
<p>Some aggregators (CAGrad and Nash-MTL) have additional dependencies that are not included by default
302302
when installing <code class="docutils literal notranslate"><span class="pre">torchjd</span></code>. To install them, you can use:</p>
303-
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">pip</span> <span class="n">install</span> <span class="n">torchjd</span><span class="p">[</span><span class="n">cagrad</span><span class="p">]</span>
303+
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">pip</span> <span class="n">install</span> <span class="s2">&quot;torchjd[cagrad]&quot;</span>
304304
</pre></div>
305305
</div>
306-
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">pip</span> <span class="n">install</span> <span class="n">torchjd</span><span class="p">[</span><span class="n">nash_mtl</span><span class="p">]</span>
306+
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">pip</span> <span class="n">install</span> <span class="s2">&quot;torchjd[nash_mtl]&quot;</span>
307307
</pre></div>
308308
</div>
309309
<p>To install <code class="docutils literal notranslate"><span class="pre">torchjd</span></code> with all of its optional dependencies, you can also use:</p>
310-
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">pip</span> <span class="n">install</span> <span class="n">torchjd</span><span class="p">[</span><span class="n">full</span><span class="p">]</span>
310+
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">pip</span> <span class="n">install</span> <span class="s2">&quot;torchjd[full]&quot;</span>
311311
</pre></div>
312312
</div>
313313
</section>

0 commit comments

Comments
 (0)