Skip to content

Commit 60cdb04

Browse files
authored
Add Enzyme performance warning (#344)
* Add Enzyme performance warning * Rephrase
1 parent 00bc4f9 commit 60cdb04

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

DifferentiationInterface/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ We support all of the backends defined by [ADTypes.jl](https://github.com/SciML/
4848
- [Tracker.jl](https://github.com/FluxML/Tracker.jl)
4949
- [Zygote.jl](https://github.com/FluxML/Zygote.jl)
5050

51+
Note that in some cases, going through DifferentiationInterface.jl might be slower than a direct call to the backend's API.
52+
This is mostly true for Enzyme.jl, whose handling of activities and multiple arguments unlocks additional performance.
53+
We are working on this challenge, and welcome any suggestions or contributions.
54+
Meanwhile, if differentiation fails or takes too long, consider using Enzyme.jl directly.
55+
5156
## Installation
5257

5358
To install the stable version of the package, run the following code in a Julia REPL:

0 commit comments

Comments
 (0)