Skip to content

Updates for more Enzyme activities - #255

Merged
kshyatt merged 1 commit into
masterfrom
ksh/enzyme_update
Mar 23, 2026
Merged

kshyatt merged 1 commit into
masterfrom
ksh/enzyme_update

Conversation

@kshyatt

@kshyatt kshyatt commented Mar 17, 2026

Copy link
Copy Markdown
Member

Properly test and handle Const-annotated floats
and cases in which alpha has a different element type to A.

@kshyatt
kshyatt requested a review from lkdvos March 17, 2026 14:39
@codecov

codecov Bot commented Mar 17, 2026 •

Copy link
Copy Markdown

Codecov Report

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

Files with missing lines Patch % Lines
...orOperationsEnzymeExt/TensorOperationsEnzymeExt.jl 0.00% 67 Missing ⚠️
src/pullbacks/common.jl 0.00% 3 Missing ⚠️
src/pullbacks/add.jl 0.00% 2 Missing ⚠️
src/pullbacks/trace.jl 0.00% 2 Missing ⚠️
src/pullbacks/contract.jl 0.00% 1 Missing ⚠️
Files with missing lines Coverage Δ
src/pullbacks/contract.jl 0.00% <0.00%> (ø)
src/pullbacks/add.jl 0.00% <0.00%> (ø)
src/pullbacks/trace.jl 0.00% <0.00%> (ø)
src/pullbacks/common.jl 0.00% <0.00%> (ø)
...orOperationsEnzymeExt/TensorOperationsEnzymeExt.jl 0.00% <0.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions

github-actions Bot commented Mar 18, 2026 •

Copy link
Copy Markdown
Contributor

Your PR no longer requires formatting changes. Thank you for your contribution!

Properly test and handle `Const`-annotated floats
and cases in which alpha has a different element type
to A.
@kshyatt
kshyatt force-pushed the ksh/enzyme_update branch from 2b91893 to e136718 Compare March 23, 2026 13:03
@kshyatt

kshyatt commented Mar 23, 2026

Copy link
Copy Markdown
Member Author

Enzyme rules seem to hate being covered even when they are definitely invoked 😡

@kshyatt
kshyatt merged commit cd6bcf2 into master Mar 23, 2026
11 of 12 checks passed
@kshyatt
kshyatt deleted the ksh/enzyme_update branch March 23, 2026 17:10
Comment thread test/enzyme.jl
else
(Active,)
end
for (Tα, Tβ) in zip(Tαs, Tβs)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should this be zip or product? I guess we could also test mixed cases (Tα, Tβ) = (Active, Const), (Tα, Tβ) = (Const, Active)?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes, I was trying to strike a balance here between full coverage vs not having the CI run a very long time...

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

But since Tαs only has length one in the CI case, it shouldn't matter, and only affect the local test runs I guess. Anyway, it's not important.

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