You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: HISTORY.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
## 0.15.0
2
2
3
-
New evaluator-preparation and AD interface:`prepare` binds a callable to a sample input (vector or `NamedTuple`); `value_and_gradient!!`/`value_and_jacobian!!`return value-and-derivative pairs from the resulting `Prepared`wrapper. The `!!` suffix signals the returned derivative may alias the cache — copy if you need to keep it.
3
+
Added a new evaluator-preparation interface for AD backends.`prepare` binds a callable to a sample input, either a vector or a `NamedTuple`, and returns a `Prepared` wrapper. `value_and_gradient!!`and`value_and_jacobian!!`then compute value-and-derivative pairs from that wrapper. The `!!` suffix means the returned derivative may alias backend cache storage, so copy it if you need to keep it across calls.
4
4
5
5
```julia
6
6
using ADTypes, Mooncake # or DifferentiationInterface + ForwardDiff
Two new AD-backend extensions ship with it: `AbstractPPLDifferentiationInterfaceExt` (any DI backend) and `AbstractPPLMooncakeExt` (`AutoMooncake`, `AutoMooncakeForward`). `AbstractPPLTestExt` gains a conformance harness via `generate_testcases` / `run_testcases` (reserved groups: `:vector`, `:namedtuple`, `:edge`, `:cache_reuse`).
-`AbstractPPLMooncakeExt`, supporting `AutoMooncake` and `AutoMooncakeForward`.
17
+
18
+
The new evaluator path supports scalar gradients, vector-output Jacobians, `NamedTuple` inputs, reusable AD caches, input-shape checks, and constant context arguments via `context::Tuple`.
19
+
20
+
`AbstractPPLTestExt` now provides a small AD conformance harness through `generate_testcases` and `run_testcases`, with reserved groups `:vector`, `:namedtuple`, `:edge`, and `:cache_reuse`.
14
21
15
22
See [`docs/src/evaluators.md`](docs/src/evaluators.md) for the full interface, the `check_dims` and `context::Tuple` options, the `NamedTuple` input path, and extension-author guidance.
0 commit comments