Skip to content

Commit

Permalink
Add Enzyme performance warning (#344)
Browse files Browse the repository at this point in the history
* Add Enzyme performance warning

* Rephrase
  • Loading branch information
gdalle committed Jul 5, 2024
1 parent 00bc4f9 commit 60cdb04
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions DifferentiationInterface/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ We support all of the backends defined by [ADTypes.jl](https://github.com/SciML/
- [Tracker.jl](https://github.com/FluxML/Tracker.jl)
- [Zygote.jl](https://github.com/FluxML/Zygote.jl)

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

## Installation

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

0 comments on commit 60cdb04

Please sign in to comment.