You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, one has to hack into the internals to do this. Let's add an option to force using SimpleVarInfo tracing type by passing an additional argument to the sample function.
In addition, let's also allow users to pass adtype to the sample(; adtype=AutoForwardDiff), which would override Turing's default choice of adtype but still takes low precedence over inference algorithms' own autodiff choice via, e.g., NUTS(;adtype=AutoReverseDiff).
The text was updated successfully, but these errors were encountered:
Turing, by default, uses
VarInfo
for sampling. There are a growing number of cases where we want to useSimpleVarInfo
, e.g.compintell/Mooncake.jl#95 (comment)
At the moment, one has to hack into the internals to do this. Let's add an option to force using
SimpleVarInfo
tracing type by passing an additional argument to thesample
function.In addition, let's also allow users to pass
adtype
to thesample(; adtype=AutoForwardDiff)
, which would override Turing's default choice ofadtype
but still takes low precedence over inference algorithms' own autodiff choice via, e.g.,NUTS(;adtype=AutoReverseDiff)
.The text was updated successfully, but these errors were encountered: