Skip to content

Conversation

oschulz
Copy link

@oschulz oschulz commented Sep 12, 2025

Copy link

codecov bot commented Sep 12, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.19%. Comparing base (c19f07d) to head (3930398).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #851      +/-   ##
==========================================
- Coverage   98.10%   96.19%   -1.92%     
==========================================
  Files         134      134              
  Lines        7986     7982       -4     
==========================================
- Hits         7835     7678     -157     
- Misses        151      304     +153     
Flag Coverage Δ
DI 96.11% <100.00%> (-2.69%) ⬇️
DIT 96.39% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

@oschulz oschulz force-pushed the no-auto-diff branch 2 times, most recently from 95ba522 to 7e44a45 Compare September 12, 2025 15:17
@oschulz
Copy link
Author

oschulz commented Sep 13, 2025

@gdalle is this Ok like this?

@gdalle
Copy link
Member

gdalle commented Sep 18, 2025

I fixed the Enzyme CI error, can you integrate the latest changes from main and bump the compat for ADTypes appropriately?

@oschulz
Copy link
Author

oschulz commented Sep 18, 2025

I fixed the Enzyme CI error, can you integrate the latest changes from main and bump the compat for ADTypes appropriately?

Done now - is this Ok?

@oschulz
Copy link
Author

oschulz commented Sep 18, 2025

Test failures are unrelated, right?

Copy link
Member

@gdalle gdalle left a comment

Choose a reason for hiding this comment

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

If you can just take my small nitpick into account and fill the changelog, we're good to go!

"""
check_inplace(backend)

Check whether `backend` supports differentiation of in-place functions and return a `Bool`.
"""
check_inplace(backend::AbstractADType) = Bool(inplace_support(backend))

check_inplace(::ADTypes.NoAutoDiff) = throw(ADTypes.NoAutoDiffSelectedError())
Copy link
Member

Choose a reason for hiding this comment

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

Could you put this one level higher, inside the inplace_support trait?

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.

2 participants