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

Performance optimization with DifferentiationInterface #153

Open
gdalle opened this issue May 15, 2024 · 0 comments
Open

Performance optimization with DifferentiationInterface #153

gdalle opened this issue May 15, 2024 · 0 comments
Labels
enhancement (performance) Would reduce the time it takes to run some bit of the code

Comments

@gdalle
Copy link

gdalle commented May 15, 2024

The DI implementation of value_and_pullback requires a lot of copies and buffers. They can be pre-allocated during preparation to save time later on. If you're interested you can try your hand at a PR by modifying the extras structs, otherwise I'll get around to it one of these days

@willtebbutt willtebbutt added the enhancement New feature or request label May 15, 2024
@willtebbutt willtebbutt added enhancement (performance) Would reduce the time it takes to run some bit of the code and removed enhancement New feature or request labels May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement (performance) Would reduce the time it takes to run some bit of the code
Projects
None yet
Development

No branches or pull requests

2 participants