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

Autodiff benchmark comparison #1559

Open
ZuseZ4 opened this issue Mar 29, 2024 · 0 comments
Open

Autodiff benchmark comparison #1559

ZuseZ4 opened this issue Mar 29, 2024 · 0 comments
Labels
help wanted Extra attention is needed performance Anything related to performance

Comments

@ZuseZ4
Copy link

ZuseZ4 commented Mar 29, 2024

Hey, thanks again for the call.
As discussed, it would be nice to compare the AD performance on Microsoft's ADBench Benchmark set.
Here is a PyTorch implementation, since you mentioned that this might be best to get started from burn:
https://github.com/microsoft/ADBench/blob/master/src/python/modules/PyTorch/gmm_objective.py
Here is a Rust implementation:
https://github.com/EnzymeAD/Enzyme/blob/64fd1d341bd171f3f54beacc92f81bd81f59a53d/enzyme/benchmarks/ReverseMode/gmm/src/lib.rs

If someone has the time to set up a burn version of any of gmm/ba/lstm/hand, then I would love to run some benchmarks against it. The main issue is probably that burn is more high-level so this benchmarks might be harder to model, while rust-enzyme isn't stable enough yet to test classical Neural Network implementations. So it might also might sense to postpone this for a while.

@nathanielsimard nathanielsimard added help wanted Extra attention is needed performance Anything related to performance labels Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed performance Anything related to performance
Projects
None yet
Development

No branches or pull requests

2 participants