Skip to content

Forward AD rules and tests for polar decompositions#242

Open
kshyatt wants to merge 6 commits into
mainfrom
ksh/polar_fwd
Open

Forward AD rules and tests for polar decompositions#242
kshyatt wants to merge 6 commits into
mainfrom
ksh/polar_fwd

Conversation

@kshyatt
Copy link
Copy Markdown
Member

@kshyatt kshyatt commented Jun 3, 2026

This seems to just work out of the box without hacking at special tangents or anything, so why not add...

@kshyatt kshyatt requested a review from Jutho June 3, 2026 09:29
Comment thread src/pushforwards/polar.jl Outdated
@kshyatt
Copy link
Copy Markdown
Member Author

kshyatt commented Jun 3, 2026

🎉 CUDA tests are passing 🎉

Comment thread src/pushforwards/polar.jl Outdated
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 3, 2026

Codecov Report

❌ Patch coverage is 80.35714% with 11 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...ixAlgebraKitEnzymeExt/MatrixAlgebraKitEnzymeExt.jl 0.00% 11 Missing ⚠️
Files with missing lines Coverage Δ
...gebraKitMooncakeExt/MatrixAlgebraKitMooncakeExt.jl 65.24% <100.00%> (+1.55%) ⬆️
src/MatrixAlgebraKit.jl 100.00% <ø> (ø)
src/pushforwards/polar.jl 100.00% <100.00%> (ø)
...ixAlgebraKitEnzymeExt/MatrixAlgebraKitEnzymeExt.jl 0.00% <0.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Member

@lkdvos lkdvos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some suggestions about performance but otherwise looks great!!

Comment thread src/pushforwards/polar.jl
Comment thread src/pushforwards/polar.jl Outdated
Comment thread src/pushforwards/polar.jl Outdated
@kshyatt
Copy link
Copy Markdown
Member Author

kshyatt commented Jun 4, 2026

Left some suggestions about performance but otherwise looks great!!

I wrote this in a less performant way but clearer to me way at the start just to make sure it was correct, thanks for the suggestions! Think I got everything in both push-forwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants