Skip to content

Commit 2ca382e

Browse files
committed
Merge branch 'main' into breaking
2 parents 729bfba + 142dddf commit 2ca382e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

HISTORY.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
The `varname_leaves` and `varname_and_value_leaves` functions have been moved to AbstractPPL.jl.
66
Their behaviour is otherwise identical.
77

8+
## 0.37.3
9+
10+
Prevents inlining of `DynamicPPL.istrans` with Enzyme, which allows Enzyme to differentiate models where `VarName`s have the same symbol but different types.
11+
812
## 0.37.2
913

1014
Make the `resume_from` keyword work for multiple-chain (parallel) sampling as well.

ext/DynamicPPLEnzymeCoreExt.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ end
1212

1313
# Mark istrans as having 0 derivative. The `nothing` return value is not significant, Enzyme
1414
# only checks whether such a method exists, and never runs it.
15-
@inline EnzymeCore.EnzymeRules.inactive_noinl(::typeof(DynamicPPL.istrans), args...) =
16-
nothing
15+
@inline EnzymeCore.EnzymeRules.inactive(::typeof(DynamicPPL.istrans), args...) = nothing
1716

1817
end

0 commit comments

Comments
 (0)