From 78d09f58402d72ace047600299236c2d786d7b98 Mon Sep 17 00:00:00 2001 From: William Moses Date: Wed, 11 Sep 2024 12:45:58 -0400 Subject: [PATCH] Update DynamicPPLEnzymeCoreExt.jl --- ext/DynamicPPLEnzymeCoreExt.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/DynamicPPLEnzymeCoreExt.jl b/ext/DynamicPPLEnzymeCoreExt.jl index e3272487b..20e325fcd 100644 --- a/ext/DynamicPPLEnzymeCoreExt.jl +++ b/ext/DynamicPPLEnzymeCoreExt.jl @@ -10,6 +10,7 @@ end @inline EnzymeCore.EnzymeRules.inactive_type(::Type{<:DynamicPPL.SamplingContext}) = true +# Mark istrans as having 0 derivative @inline EnzymeCore.EnzymeRules.inactive_noinl(::typeof(DynamicPPL.istrans), args...) = nothing end