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

Fix test error with Turing >= 0.30 #570

Merged
merged 5 commits into from
Jan 22, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions test/turing/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Turing = "fce5fe82-541a-59a6-adf8-730c64b5f9a0"

[compat]
DynamicPPL = "0.20, 0.21, 0.22, 0.23, 0.24"
Turing = "0.21 - 0.30"
julia = "1.6"
DynamicPPL = "0.24"
Turing = "0.30"
julia = "1.7"
torfjelde marked this conversation as resolved.
Show resolved Hide resolved
4 changes: 3 additions & 1 deletion test/turing/compiler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@
end

chain = sample(
newinterface(obs), HMC{Turing.ForwardDiffAD{2}}(0.75, 3, :p, :x), 100
newinterface(obs),
HMC(0.75, 3, :p, :x; adtype = AutoForwardDiff(; chunksize = 2)),
devmotion marked this conversation as resolved.
Show resolved Hide resolved
100,
)
end
@testset "no return" begin
Expand Down
Loading