Skip to content

Commit 5b60d08

Browse files
committed
1 parent 0e64a76 commit 5b60d08

70 files changed

Lines changed: 605 additions & 527 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎stable/.buildinfo‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: dae856eb7d846987248dfcebc16d2113
3+
config: 3a5ca358cc40d0a00bd0f57d38fb0312
44
tags: d77d1c0d9ca2f4c8421862c7c5a0d620

‎stable/_sources/installation.md.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
:end-before: <!-- end installation -->
66
```
77

8-
Note that `torchjd` requires Python 3.10, 3.11, 3.12, 3.13 or 3.14 and `torch>=2.0`.
8+
Note that `torchjd` requires Python 3.10, 3.11, 3.12, 3.13, 3.14 or 3.15 and `torch>=2.0`.
99

1010
Some aggregators have additional dependencies that are not included by default when installing
1111
`torchjd`. The following table lists the optional dependency groups and the aggregators they enable:

‎stable/_static/documentation_options.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const DOCUMENTATION_OPTIONS = {
2-
VERSION: '0.18.0',
2+
VERSION: '0.18.1',
33
LANGUAGE: 'en',
44
COLLAPSE_INDEX: false,
55
BUILDER: 'dirhtml',
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/* a value in a type or a default sits in a `.highlight` scope only so the Pygments style colors its tokens; the block
2+
layout themes give `.highlight`, and the dark variant `body:not([data-theme="light"]) .highlight` furo generates,
3+
stays off it, hence the selector outweighing both */
4+
html body .highlight.sphinx_autodoc_typehints-value {
5+
display: inline;
6+
width: auto;
7+
margin: 0;
8+
padding: 0;
9+
border: 0;
10+
border-radius: 0;
11+
background: none;
12+
color: inherit;
13+
}

‎stable/docs/aggregation/aligned_mtl/index.html‎

Lines changed: 15 additions & 14 deletions
Large diffs are not rendered by default.

‎stable/docs/aggregation/cagrad/index.html‎

Lines changed: 16 additions & 15 deletions
Large diffs are not rendered by default.

‎stable/docs/aggregation/config/index.html‎

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88
<link rel="prefetch" href="../../../_static/logo-light-mode.png" as="image">
99
<link rel="prefetch" href="../../../_static/logo-dark-mode.png" as="image">
1010

11-
<link rel="shortcut icon" href="../../../_static/favicon.ico"><!-- Generated with Sphinx 9.1.0 and Furo 2025.12.19 -->
11+
<link rel="shortcut icon" href="../../../_static/favicon.ico"><!-- Generated with Sphinx 9.2.0 and Furo 2025.12.19 -->
1212
<title>ConFIG - TorchJD</title>
1313
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=d111a655" />
1414
<link rel="stylesheet" type="text/css" href="../../../_static/styles/furo.css?v=7bdb33bb" />
15+
<link rel="stylesheet" type="text/css" href="../../../_static/sphinx_autodoc_typehints.css?v=057ac668" />
1516
<link rel="stylesheet" type="text/css" href="../../../_static/sphinx-design.min.css?v=95c83b7e" />
1617
<link rel="stylesheet" type="text/css" href="../../../_static/styles/furo-extensions.css?v=8dab3a3b" />
1718

@@ -323,12 +324,12 @@
323324
<h1>ConFIG<a class="headerlink" href="#config" title="Link to this heading"></a></h1>
324325
<dl class="py class">
325326
<dt class="sig sig-object py" id="torchjd.aggregation.ConFIG">
326-
<span class="property"><span class="k"><span class="pre">class</span></span><span class="w"> </span></span><span class="sig-prename descclassname"><span class="pre">torchjd.aggregation.</span></span><span class="sig-name descname"><span class="pre">ConFIG</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">pref_vector</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference external" href="https://github.com/SimplexLab/TorchJD/blob/v0.18.0/src/torchjd/aggregation/_config.py#L18-L60"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#torchjd.aggregation.ConFIG" title="Link to this definition"></a></dt>
327+
<span class="property"><span class="k"><span class="pre">class</span></span><span class="w"> </span></span><span class="sig-prename descclassname"><span class="pre">torchjd.aggregation.</span></span><span class="sig-name descname"><span class="pre">ConFIG</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">pref_vector</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="reference external" href="https://github.com/SimplexLab/TorchJD/blob/v0.18.1/src/torchjd/aggregation/_config.py#L18-L60"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#torchjd.aggregation.ConFIG" title="Link to this definition"></a></dt>
327328
<dd><p><a class="reference internal" href="../#torchjd.aggregation.Aggregator" title="torchjd.aggregation.Aggregator"><code class="xref py py-class docutils literal notranslate"><span class="pre">Aggregator</span></code></a> as defined in Equation 2 of <a class="reference external" href="https://arxiv.org/pdf/2408.11104">ConFIG:
328329
Towards Conflict-free Training of Physics Informed Neural Networks</a>.</p>
329330
<dl class="field-list simple">
330331
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
331-
<dd class="field-odd"><p><strong>pref_vector</strong> (<span class="sphinx_autodoc_typehints-type"><a class="reference external" href="https://docs.pytorch.org/docs/stable/tensors.html#torch.Tensor" title="(in PyTorch v2.14)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Tensor</span></code></a> | <a class="reference external" href="https://docs.python.org/3/builtins/constants.html#None" title="(in Python v3.14)"><code class="xref py py-obj docutils literal notranslate"><span class="pre">None</span></code></a></span>) – The preference vector used to weight the rows. If not provided, defaults to
332+
<dd class="field-odd"><p><strong>pref_vector</strong> (<span class="sphinx_autodoc_typehints-type"><a class="reference external" href="https://docs.pytorch.org/docs/stable/tensors.html#torch.Tensor" title="(in PyTorch v2.15)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Tensor</span></code></a> | <span class="highlight sphinx_autodoc_typehints-value"><a class="reference external" href="https://docs.python.org/3/builtins/constants.html#None" title="(in Python v3.15)"><code class="xref py py-obj docutils literal notranslate"><span class="kc"><span class="pre">None</span></span></code></a></span></span>) – The preference vector used to weight the rows. If not provided, defaults to
332333
equal weights of 1.</p>
333334
</dd>
334335
</dl>
@@ -338,14 +339,14 @@ <h1>ConFIG<a class="headerlink" href="#config" title="Link to this heading">¶</
338339
</div>
339340
<dl class="py method">
340341
<dt class="sig sig-object py" id="torchjd.aggregation.ConFIG.__call__">
341-
<span class="sig-name descname"><span class="pre">__call__</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">matrix</span></span></em>, <em class="sig-param"><span class="positional-only-separator o"><abbr title="Positional-only parameter separator (PEP 570)"><span class="pre">/</span></abbr></span></em><span class="sig-paren">)</span><a class="reference external" href="https://github.com/SimplexLab/TorchJD/blob/v0.18.0/src/torchjd/aggregation/_aggregator_bases.py#L32-L39"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#torchjd.aggregation.ConFIG.__call__" title="Link to this definition"></a></dt>
342+
<span class="sig-name descname"><span class="pre">__call__</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">matrix</span></span></em>, <em class="sig-param"><span class="positional-only-separator o"><abbr title="Positional-only parameter separator (PEP 570)"><span class="pre">/</span></abbr></span></em><span class="sig-paren">)</span><a class="reference external" href="https://github.com/SimplexLab/TorchJD/blob/v0.18.1/src/torchjd/aggregation/_aggregator_bases.py#L32-L39"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#torchjd.aggregation.ConFIG.__call__" title="Link to this definition"></a></dt>
342343
<dd><p>Computes the aggregation from the input matrix and applies all registered hooks.</p>
343344
<dl class="field-list simple">
344345
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
345-
<dd class="field-odd"><p><strong>matrix</strong> (<span class="sphinx_autodoc_typehints-type"><a class="reference external" href="https://docs.pytorch.org/docs/stable/tensors.html#torch.Tensor" title="(in PyTorch v2.14)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Tensor</span></code></a></span>) – The Jacobian to aggregate.</p>
346+
<dd class="field-odd"><p><strong>matrix</strong> (<span class="sphinx_autodoc_typehints-type"><a class="reference external" href="https://docs.pytorch.org/docs/stable/tensors.html#torch.Tensor" title="(in PyTorch v2.15)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Tensor</span></code></a></span>) – The Jacobian to aggregate.</p>
346347
</dd>
347348
<dt class="field-even">Return type<span class="colon">:</span></dt>
348-
<dd class="field-even"><p><span class="sphinx_autodoc_typehints-type"><a class="reference external" href="https://docs.pytorch.org/docs/stable/tensors.html#torch.Tensor" title="(in PyTorch v2.14)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Tensor</span></code></a></span></p>
349+
<dd class="field-even"><p><span class="sphinx_autodoc_typehints-type"><a class="reference external" href="https://docs.pytorch.org/docs/stable/tensors.html#torch.Tensor" title="(in PyTorch v2.15)"><code class="xref py py-class docutils literal notranslate"><span class="pre">Tensor</span></code></a></span></p>
349350
</dd>
350351
</dl>
351352
</dd></dl>
@@ -403,7 +404,7 @@ <h1>ConFIG<a class="headerlink" href="#config" title="Link to this heading">¶</
403404

404405
</aside>
405406
</div>
406-
</div><script src="../../../_static/documentation_options.js?v=76465326"></script>
407+
</div><script src="../../../_static/documentation_options.js?v=64806f3c"></script>
407408
<script src="../../../_static/doctools.js?v=fd6eb6e6"></script>
408409
<script src="../../../_static/sphinx_highlight.js?v=6ffebe34"></script>
409410
<script src="../../../_static/scripts/furo.js?v=46bd48cc"></script>

0 commit comments

Comments
 (0)