Skip to content

Commit 0cf3440

Browse files
authored
Fix MooncakeExt for 0.4.147 (#1021)
* Fix MooncakeExt * changelog
1 parent 6742812 commit 0cf3440

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

HISTORY.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# DynamicPPL Changelog
22

3+
## 0.37.1
4+
5+
Update DynamicPPLMooncakeExt to work with Mooncake 0.4.147.
6+
37
## 0.37.0
48

59
DynamicPPL 0.37 comes with a substantial reworking of its internals.

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "DynamicPPL"
22
uuid = "366bfd00-2699-11ea-058f-f148b4cae6d8"
3-
version = "0.37.0"
3+
version = "0.37.1"
44

55
[deps]
66
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
@@ -67,7 +67,7 @@ LinearAlgebra = "1.6"
6767
LogDensityProblems = "2"
6868
MCMCChains = "6, 7"
6969
MacroTools = "0.5.6"
70-
Mooncake = "0.4.95"
70+
Mooncake = "0.4.147"
7171
OrderedCollections = "1"
7272
Printf = "1.10"
7373
Random = "1.6"

ext/DynamicPPLMooncakeExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ using DynamicPPL: DynamicPPL, istrans
44
using Mooncake: Mooncake
55

66
# This is purely an optimisation.
7-
Mooncake.@zero_adjoint Mooncake.DefaultCtx Tuple{typeof(istrans),Vararg}
7+
Mooncake.@zero_derivative Mooncake.DefaultCtx Tuple{typeof(istrans),Vararg}
88

99
end # module

0 commit comments

Comments
 (0)