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

Tests to check that the correct AD method is actually used #2235

Open
mhauru opened this issue May 24, 2024 · 0 comments · May be fixed by #2291
Open

Tests to check that the correct AD method is actually used #2235

mhauru opened this issue May 24, 2024 · 0 comments · May be fixed by #2291
Assignees

Comments

@mhauru
Copy link
Collaborator

mhauru commented May 24, 2024

In #2221 I ran into a case where I wanted to write a test that checked if the ADType that the caller specified actually got used (e.g. to check that the argument isn't being accidentally ignored). Would be useful to have some utilities for this. See conversation in https://github.com/TuringLang/Turing.jl/pull/2221/files#r1608405934.

@mhauru mhauru changed the title Tests to check that the correct AD method is actually Tests to check that the correct AD method is actually used Jun 25, 2024
@mhauru mhauru linked a pull request Jul 18, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant