Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ADTypes 2 and AutoForwardDiff tags #21

Merged
merged 4 commits into from
Nov 15, 2023
Merged

Conversation

devmotion
Copy link
Collaborator

@devmotion devmotion commented Nov 15, 2023

This PR adds support for ADTypes 2. Unfortunately, CompatHelper does not support weak dependencies yet (JuliaRegistries/CompatHelper.jl#452) but apparently there is a PR that would fix this (JuliaRegistries/CompatHelper.jl#458).

Edit: Seems that ADTypes 1.7 broke our tests (positional argument was switched to a keyword argument, consistent with other AD types). Additionally, I added support for AutoForwardDiff tags which was also added in ADTypes 1.7.

@devmotion devmotion changed the title Support ADTypes 2 Support ADTypes 2 and AutoForwardDiff tags Nov 15, 2023
test/runtests.jl Outdated Show resolved Hide resolved
Copy link
Owner

@tpapp tpapp left a comment

Choose a reason for hiding this comment

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

LGTM. We should remove nightly from CI once this is merged.

@devmotion devmotion merged commit 6d390c3 into master Nov 15, 2023
4 of 5 checks passed
@devmotion devmotion deleted the dw/bump_adtypes branch November 15, 2023 10:52
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