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

Automatic differentiation with Enzyme #62

Open
4 tasks
nkoukpaizan opened this issue Feb 24, 2025 · 0 comments
Open
4 tasks

Automatic differentiation with Enzyme #62

nkoukpaizan opened this issue Feb 24, 2025 · 0 comments
Assignees
Labels
automatic differentiation development Features/Tools related to development of GridKit, rather than use as a library. enhancement New feature or request

Comments

@nkoukpaizan
Copy link
Collaborator

Issue to track progress on automatic differentiation. Includes features that were taken from #54 to limit the scope of that PR and other features as needed:

  • Implement evaluateAutodiffJacobian and getAutodiffJacobian within the models. I'm open to alternative software design choices. The hope is that placing the derivative evaluation within the same compilation unit as the function will work better than trying to differentiate a code that is already compiled.
  • Implement a better way to link with Enzyme. The add_custom_command approach will be hard to maintain.
  • Implement a functionality test looping through different existing models to test the Jacobians.
  • Implement an approach that supports sparsity detection, potentially with another tool.
@nkoukpaizan nkoukpaizan added automatic differentiation development Features/Tools related to development of GridKit, rather than use as a library. enhancement New feature or request labels Feb 24, 2025
@nkoukpaizan nkoukpaizan self-assigned this Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automatic differentiation development Features/Tools related to development of GridKit, rather than use as a library. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant