Skip to content

Add Enzyme rules for factorizations#464

Open
kshyatt wants to merge 2 commits into
mainfrom
ksh/enz_fact
Open

Add Enzyme rules for factorizations#464
kshyatt wants to merge 2 commits into
mainfrom
ksh/enz_fact

Conversation

@kshyatt

@kshyatt kshyatt commented Jun 26, 2026

Copy link
Copy Markdown
Member

For some reason svd_compact and svd_trunc_no_error don't play nicely with Enzyme here using the MAK rules, I think because of the DiagonalTensorMap output. I can try to investigate further if preferred. I also added some additional logic in pullbacks to match what the MAK pullbacks actually kick back.

@kshyatt kshyatt requested a review from lkdvos June 26, 2026 00:48
@kshyatt

kshyatt commented Jun 26, 2026

Copy link
Copy Markdown
Member Author

Oh crap lol I was working on top of a dev-ed MAK

@codecov

codecov Bot commented Jun 26, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 64 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
ext/TensorKitEnzymeExt/factorizations.jl 0.00% 46 Missing ⚠️
src/factorizations/pullbacks.jl 0.00% 18 Missing ⚠️
Files with missing lines Coverage Δ
ext/TensorKitEnzymeExt/TensorKitEnzymeExt.jl 100.00% <ø> (ø)
src/factorizations/pullbacks.jl 50.00% <0.00%> (-20.46%) ⬇️
ext/TensorKitEnzymeExt/factorizations.jl 0.00% <0.00%> (ø)

... and 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant