Skip to content

Fix differentiation with repeated tensors#277

Merged
ValerianRey merged 8 commits intomainfrom
fix-repeated-tensors
Mar 26, 2025
Merged

Fix differentiation with repeated tensors#277
ValerianRey merged 8 commits intomainfrom
fix-repeated-tensors

Conversation

@ValerianRey
Copy link
Copy Markdown
Contributor

  • Add tests with repeated tensors for backward
  • Add tests with repeated tensors for mtl_backward
  • Remove check of uniqueness of the elements provided to ordered_set
  • Remove casting outputs to ordered_set in _Differentiate
  • Add changelog entry

@ValerianRey ValerianRey added package: autojac cc: fix Conventional commit type for bug fixes of the actual library (changes to src). labels Mar 26, 2025
@ValerianRey ValerianRey self-assigned this Mar 26, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
src/torchjd/autojac/_transform/_differentiate.py 100.00% <100.00%> (ø)
src/torchjd/autojac/_transform/_utils.py 100.00% <100.00%> (+2.77%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ValerianRey ValerianRey merged commit be7bdad into main Mar 26, 2025
14 checks passed
@ValerianRey ValerianRey deleted the fix-repeated-tensors branch March 26, 2025 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cc: fix Conventional commit type for bug fixes of the actual library (changes to src). package: autojac

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants