Skip to content

Commit fb9d6c8

Browse files
ValerianReyclaude
andcommitted
chore: Update changelog for optional deps discoverability change
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 57df9b9 commit fb9d6c8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ changelog does not include internal changes that do not affect the user.
1010

1111
### Changed
1212

13+
- `CAGrad`, `CAGradWeighting`, and `NashMTL` are now always importable from `torchjd.aggregation`,
14+
even when their optional dependencies are not installed. Attempting to instantiate them without the
15+
required dependencies now raises an `ImportError` with installation instructions, instead of
16+
raising an `ImportError` at import time.
1317
- Non-differentiable aggregators and weightings (UPGrad, DualProj, PCGrad, GradVac, IMTLG,
1418
GradDrop, ConFIG, CAGrad, NashMTL) no longer build a computation graph when called on tensors
1519
that require gradients. Their forward pass is now wrapped in `torch.no_grad()`, so attempting to

0 commit comments

Comments
 (0)