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

Automate choice of AD backend #2417

Closed
torfjelde opened this issue Dec 4, 2024 · 3 comments
Closed

Automate choice of AD backend #2417

torfjelde opened this issue Dec 4, 2024 · 3 comments

Comments

@torfjelde
Copy link
Member

We should have a method, say, choose_differentiation_backend(model), which simply benchmarks the model for different backends and returns the one that is the fastest (and correct).

@yebai
Copy link
Member

yebai commented Dec 18, 2024

I think this should be a functionality of DifferentiationInterface.jl, instead of Turing.jl

@yebai yebai closed this as not planned Won't fix, can't repro, duplicate, stale Dec 18, 2024
@penelopeysm
Copy link
Member

With some of the refactoring I'm working on we could definitely put something like this in DynamicPPL 👀

@gdalle
Copy link

gdalle commented Feb 16, 2025

Check out the benchmarking utilities in DifferentiationInterfaceTest.jl ;)

https://juliadiff.org/DifferentiationInterface.jl/DifferentiationInterfaceTest/stable/tutorial/

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

No branches or pull requests

4 participants