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

Optional forward mode for jac/jac-vec products #2526

Open
mlubin opened this issue Jul 21, 2024 · 1 comment
Open

Optional forward mode for jac/jac-vec products #2526

mlubin opened this issue Jul 21, 2024 · 1 comment
Labels
Project: next-gen nonlinear support Issues relating to nonlinear support

Comments

@mlubin
Copy link
Member

mlubin commented Jul 21, 2024

@amontoison observed that we could use forward mode for the jacobian and jacobian-vector products when the number of variables is less than the number of rows to get better performance than the current approach that uses reverse mode always.

@odow odow added the Project: next-gen nonlinear support Issues relating to nonlinear support label Jul 21, 2024
@odow
Copy link
Member

odow commented Sep 18, 2024

This could be best implemented as a new AD backend. It shouldn't be too complicated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Project: next-gen nonlinear support Issues relating to nonlinear support
Development

No branches or pull requests

2 participants