Skip to content

Commit 37c9b4c

Browse files
authored
Add inner preparation behavior for AutoMooncakeForward
1 parent 45fad0e commit 37c9b4c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

DifferentiationInterface/ext/DifferentiationInterfaceMooncakeExt/DifferentiationInterfaceMooncakeExt.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ using Mooncake:
3434
const AnyAutoMooncake{C} = Union{AutoMooncake{C}, AutoMooncakeForward{C}}
3535

3636
DI.check_available(::AnyAutoMooncake{C}) where {C} = true
37+
DI.inner_preparation_behavior(::AutoMooncakeForward) = DI.PrepareInnerSimple()
3738

3839
include("utils.jl")
3940
include("onearg.jl")

0 commit comments

Comments
 (0)