Skip to content

[FIX] unstable TorchBackend.sqrtm() around repeated eigenvalues - #774

Merged
rflamary merged 4 commits into
PythonOT:masterfrom
samuelbx:master
Nov 5, 2025
Merged

rflamary merged 4 commits into
PythonOT:masterfrom
samuelbx:master

Conversation

@samuelbx

@samuelbx samuelbx commented Oct 23, 2025 •

Copy link
Copy Markdown
Contributor

Types of changes

Implemented closed-form differential for TorchBackend.sqrtm (SPD matrix sqrt) with comparable time complexity (1 eigendecomposition) but stable around repeated eigenvalues

Motivation and context / Related issue

See issue #773

How has this been tested (if it applies)

PR checklist

  • I have read the CONTRIBUTING document.
  • The documentation is up-to-date with the changes I made (check build artifacts).
  • All tests passed, and additional code has been covered with new tests.
  • I have added the PR and Issue fix to the RELEASES.md file.

@rflamary
rflamary merged commit d3867c6 into PythonOT:master Nov 5, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants