We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a266e80 commit 151ad47Copy full SHA for 151ad47
6 files changed
DifferentiationInterface/CHANGELOG.md
@@ -5,7 +5,13 @@ All notable changes to this project will be documented in this file.
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
8
-## [Unreleased](https://github.com/JuliaDiff/DifferentiationInterface.jl/compare/DifferentiationInterface-v0.7.15...main)
+## [Unreleased](https://github.com/JuliaDiff/DifferentiationInterface.jl/compare/DifferentiationInterface-v0.7.16...main)
9
+
10
+## [0.7.16](https://github.com/JuliaDiff/DifferentiationInterface.jl/compare/DifferentiationInterface-v0.7.15...DifferentiationInterface-v0.7.16)
11
12
+### Fixed
13
14
+- Upgrade Mooncake compat to v0.5 ([#961](https://github.com/JuliaDiff/DifferentiationInterface.jl/pull/961))
15
16
## [0.7.15](https://github.com/JuliaDiff/DifferentiationInterface.jl/compare/DifferentiationInterface-v0.7.14...DifferentiationInterface-v0.7.15)
17
DifferentiationInterface/Project.toml
@@ -1,7 +1,7 @@
1
name = "DifferentiationInterface"
2
uuid = "a0c0ee7d-e4b9-4e03-894e-1c5f64a51d63"
3
authors = ["Guillaume Dalle", "Adrian Hill"]
4
-version = "0.7.15"
+version = "0.7.16"
[deps]
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
@@ -69,7 +69,7 @@ ForwardDiff = "0.10.36,1"
69
GPUArraysCore = "0.2"
70
GTPSA = "1.4.0"
71
LinearAlgebra = "1"
72
-Mooncake = "0.4.175"
+Mooncake = "0.5.0"
73
PolyesterForwardDiff = "0.1.2"
74
ReverseDiff = "1.15.1"
75
SparseArrays = "1"
DifferentiationInterface/ext/DifferentiationInterfaceMooncakeExt/forward_onearg.jl
@@ -19,7 +19,7 @@ function DI.prepare_pushforward_nokwarg(
19
_sig = DI.signature(f, backend, x, tx, contexts...; strict)
20
config = get_config(backend)
21
cache = prepare_derivative_cache(
22
- f, x, map(DI.unwrap, contexts)...; config.debug_mode, config.silence_debug_messages
+ f, x, map(DI.unwrap, contexts)...; config
23
)
24
dx_righttype = zero_tangent(x)
25
df = zero_tangent(f)
DifferentiationInterface/ext/DifferentiationInterfaceMooncakeExt/forward_twoarg.jl
@@ -25,8 +25,7 @@ function DI.prepare_pushforward_nokwarg(
y,
26
x,
27
map(DI.unwrap, contexts)...;
28
- config.debug_mode,
29
- config.silence_debug_messages,
+ config
30
31
32
dy_righttype = zero_tangent(y)
DifferentiationInterface/ext/DifferentiationInterfaceMooncakeExt/onearg.jl
@@ -13,7 +13,7 @@ function DI.prepare_pullback_nokwarg(
_sig = DI.signature(f, backend, x, ty, contexts...; strict)
cache = prepare_pullback_cache(
18
y = f(x, map(DI.unwrap, contexts)...)
@@ -122,7 +122,7 @@ function DI.prepare_gradient_nokwarg(
122
_sig = DI.signature(f, backend, x, contexts...; strict)
123
124
cache = prepare_gradient_cache(
125
126
127
contexts_tup_false = map(_ -> false, contexts)
128
args_to_zero = (
DifferentiationInterface/ext/DifferentiationInterfaceMooncakeExt/twoarg.jl
@@ -27,8 +27,7 @@ function DI.prepare_pullback_nokwarg(
- debug_mode = config.debug_mode,
- silence_debug_messages = config.silence_debug_messages,
+ config,
33
dy_righttype_after = zero_tangent(y)
34
0 commit comments