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

Refactoring AD Tests #2307

Open
willtebbutt opened this issue Aug 20, 2024 · 1 comment
Open

Refactoring AD Tests #2307

willtebbutt opened this issue Aug 20, 2024 · 1 comment
Assignees

Comments

@willtebbutt
Copy link
Member

Currently, there are many situation in which we run an entire sampler in order to test AD, such as many cases in https://github.com/TuringLang/Turing.jl/blob/master/test/mcmc/abstractmcmc.jl .

This is quite compute intensive. @yebai pointed out that perhaps we should just check that the gradient runs and is correct, rather than thousants of mcmc chains.

@yebai
Copy link
Member

yebai commented Sep 3, 2024

We should probably implement some functionality to benchmark various AD backends during this refactoring.

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

3 participants