Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More comprehensive AD benchmarking #1184

Closed
yebai opened this issue Mar 26, 2020 · 1 comment
Closed

More comprehensive AD benchmarking #1184

yebai opened this issue Mar 26, 2020 · 1 comment
Assignees

Comments

@yebai
Copy link
Member

yebai commented Mar 26, 2020

Our benchmarking about AD is a bit ad-hoc, and in-complete at the moment. There are some nice benchmarking scripts in the following repos:

Maybe we can adapt these examples, and run them on Tracker, ReverseDiff, Zygote and ThArrays to get a better picture of Julia reverse-mode AD libraries' true performance.

In addition to the examples above, we should try to include at least one example for each of the following

  • branching
  • loops
  • array indexing
  • broadcasting

Related #1140

@xukai92
Copy link
Member

xukai92 commented Apr 11, 2020

  • numerical stability

I've been experienced a few cases that Zygote can have quite different stability agasint Tracker when using Flux (e.g. FluxML/Flux.jl#914 and FluxML/Flux.jl#876).

A recent case where the (naively-implemented) logistic regression model was runnable with Tracker but fails with ReverseDiff seems to be another case which makes me think we should inlcude numerical statbility as an aspect.

@yebai yebai closed this as completed Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants