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

added default for adnlp AD backend #344

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jbcaillau
Copy link
Member

@jbcaillau jbcaillau commented Jan 10, 2025

@PierreMartinon please review. still to be tested calling solve / direct_transcription with adnlp_backend = :enzyme, e.g. on Goddard, etc.

@PierreMartinon
Copy link
Member

Note: enzyme currently does not work, apparently due to the time grid being declared as variable but set to constant values for fixed times problems. I'll see if we can split the two cases somehow, which could also improve performance in general for fixed times problems since time grid would be declared as constant explicitly.

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.

Add an option to switch the AD backend of ADNLPModels.Jl
2 participants