Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ OrderedCollections = "1"
Random = "1.6"
Requires = "1"
Test = "1.6"
julia = "1.10"
julia = "1.10.8"
20 changes: 10 additions & 10 deletions test/ad.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,16 @@ using DynamicPPL: LogDensityFunction
@test_throws ArgumentError DynamicPPL.LogDensityFunction(
ref_ldf, adtype
)
elseif is_mooncake && is_1_10 && is_svi_vnv
# TODO: report upstream
@test_throws UndefRefError DynamicPPL.LogDensityFunction(
ref_ldf, adtype
)
elseif is_mooncake && is_1_10 && is_svi_od
# TODO: report upstream
@test_throws Mooncake.MooncakeRuleCompilationError DynamicPPL.LogDensityFunction(
ref_ldf, adtype
)
# elseif is_mooncake && is_1_10 && is_svi_vnv
# # TODO: report upstream
# @test_throws UndefRefError DynamicPPL.LogDensityFunction(
# ref_ldf, adtype
# )
# elseif is_mooncake && is_1_10 && is_svi_od
# # TODO: report upstream
# @test_throws Mooncake.MooncakeRuleCompilationError DynamicPPL.LogDensityFunction(
# ref_ldf, adtype
# )
else
ldf = DynamicPPL.LogDensityFunction(ref_ldf, adtype)
logp, grad = LogDensityProblems.logdensity_and_gradient(ldf, x)
Expand Down
Loading