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

Enable Mooncake in ADTypeCheckContext tests #2372

Open
penelopeysm opened this issue Oct 22, 2024 · 0 comments
Open

Enable Mooncake in ADTypeCheckContext tests #2372

penelopeysm opened this issue Oct 22, 2024 · 0 comments

Comments

@penelopeysm
Copy link
Member

penelopeysm commented Oct 22, 2024

# Check that the ADTypeCheckContext works as expected.
Test.@testset "ADTypeCheckContext" begin
Turing.@model test_model() = x ~ Turing.Normal(0, 1)
tm = test_model()
adtypes = (
Turing.AutoForwardDiff(),
Turing.AutoReverseDiff(),
Turing.AutoZygote(),
Turing.AutoTracker(),
)

#2341 gets rid of AutoTracker from this list, but doesn't add back AutoMooncake. I tried to naively add it to the list, but the tests failed.

We should either add it in, or figure out why the tests don't pass and add a note explaining it.

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

1 participant