File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -139,8 +139,8 @@ def jac(
139139 To differentiate in parallel, ``jac`` relies on ``torch.vmap``, which has some
140140 limitations: `it does not work on the output of compiled functions
141141 <https://github.com/pytorch/pytorch/issues/138422>`_, `when some tensors have
142- <https://github.com/TorchJD/torchjd /issues/184>`_ ``retains_grad=True`` or `when using an
143- RNN on CUDA <https://github.com/TorchJD/torchjd /issues/220>`_, for instance. If you
142+ <https://github.com/SimplexLab/TorchJD /issues/184>`_ ``retains_grad=True`` or `when using an
143+ RNN on CUDA <https://github.com/SimplexLab/TorchJD /issues/220>`_, for instance. If you
144144 experience issues with ``jac`` try to use ``parallel_chunk_size=1`` to avoid relying on
145145 ``torch.vmap``.
146146 """
Original file line number Diff line number Diff line change @@ -87,8 +87,8 @@ def mtl_backward(
8787 <https://github.com/pytorch/pytorch/issues/138422>`_, `when some tensors have
8888 <https://github.com/SimplexLab/TorchJD/issues/184>`_ ``retains_grad=True`` or `when using an
8989 RNN on CUDA <https://github.com/SimplexLab/TorchJD/issues/220>`_, for instance. If you
90- experience issues with ``backward `` try to use ``parallel_chunk_size=1`` to avoid relying on
91- ``torch.vmap``.
90+ experience issues with ``mtl_backward `` try to use ``parallel_chunk_size=1`` to avoid
91+ relying on ``torch.vmap``.
9292 """
9393
9494 check_optional_positive_chunk_size (parallel_chunk_size )
You can’t perform that action at this time.
0 commit comments