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

DifferentiationInterface #7

Open
gdalle opened this issue May 30, 2024 · 17 comments
Open

DifferentiationInterface #7

gdalle opened this issue May 30, 2024 · 17 comments

Comments

@gdalle
Copy link
Contributor

gdalle commented May 30, 2024

Hi @TimSiebert1!

I stumbled upon your JuliaCon abstract and it made me very excited about your package! I'm the lead developer (with @adrhill) of DifferentiationInterface.jl, a common standard for calling autodiff backends in Julia. If you want to work with us, we'd be thrilled to try and add ADOLC.jl to the list of supported libraries. As long as you can provide functions for pushforwards (JVPs) and pullbacks (VJPs), that's enough to get started!

What's in it for you?

  • Access to a wide potential user base. DifferentiationInterface.jl will soon be a dependency of a fairly large number of packages, including the whole SciML ecosystem. It's easier for users to scitch to ADOLC.jl if they don't have to learn a new syntax or dive into your docs.
  • Robust testing. DifferentiationInterface.jl is the ultimate autodiff bugfinder: we have uncovered errors or suboptimalities in nearly every autodiff library we support, and we don't plan to stop.
  • Easy benchmarking. DifferentiationInterfaceTest.jl, the companion package, is designed to allow seamless comparison between backends. Wanna see if ADOLC.jl beats the competition? That's the way to go.
  • Sparse autodiff. With SparseConnectivityTracer.jl and SparseMatrixColorings.jl, we're taking cues from the work of Andrea Walther and giving Julia a sparse autodiff ecosystem that is unique among high-level scientific programming languages. We'd love to see how it compares to the well-tested C counterparts.

So what do you say?

@TimSiebert1
Copy link
Owner

Hey @gdalle

This sounds great. It would be great to work with you. The first version of ADOLC.jl is close to the final stage and will be (hopefully) ready for registration in a week. After that, I plan to add and supply the functions for your package.

@gdalle
Copy link
Contributor Author

gdalle commented Jun 1, 2024

Awesome, can't wait!
At the moment it's probably easier to host all the library bindings in the DifferentiationInterface repo (as package extensions) for unified testing. So whenever you're ready and the package is registered, feel free start a PR and I'll help you get it ready!

@TimSiebert1
Copy link
Owner

Great! Thank you very much. I'll let you know.

@j-fu
Copy link
Collaborator

j-fu commented Jun 3, 2024

If you are interested: @TimSiebert1 will give a talk on his work on Thu, June 6 14:00 CEST. It will be hybrid, we could send a zoom link, but @adrhill, you could join us at WIAS.

@gdalle
Copy link
Contributor Author

gdalle commented Jun 3, 2024

Yeah I'd be glad to attend remotely!

@adrhill
Copy link

adrhill commented Jun 3, 2024

Same here, I'd love to join remotely!

@j-fu
Copy link
Collaborator

j-fu commented Jun 3, 2024

Ok will send the link as PM on zulip.

@TimSiebert1
Copy link
Owner

Oh, cool that you want to join!

The talk will be about AD, especially the univariate Taylor polynomial method. However, there will also be a brief introduction to ADOLC.jl.

@gdalle
Copy link
Contributor Author

gdalle commented Jun 4, 2024

By the way if you need a hand with Julia package infrastructure (tests, docs, github CI, what dependency goes where), let me know, I can lend a hand.

@TimSiebert1
Copy link
Owner

I would gladly accept that, and that might be quite good. I feel there is a lot to learn, and I don't use the best practices.

@gdalle
Copy link
Contributor Author

gdalle commented Jun 4, 2024

We can move to a private channel if you want. Zulip, Slack, Discourse? I have the same username on all of those.

@gdalle
Copy link
Contributor Author

gdalle commented Jun 4, 2024

In the meantime you might be interested in this blog @adrhill and I wrote: https://modernjuliaworkflows.github.io/

@TimSiebert1
Copy link
Owner

I wrote to you on Zulip and will check out the blog.

@jbcaillau
Copy link

hi @TimSiebert1 ! @gdalle kindly pointed us to this page, while Andrea 1 told me that you would actually be presenting at JuliaCon 👍🏽 We'll also be around, hope to meet you there!

Footnotes

  1. being with her & other colleagues at FGS 2024 these days

@TimSiebert1
Copy link
Owner

Hey @jbcaillau 👋 Looking forward to meeting you at JuliaCon!

@jbcaillau
Copy link

@TimSiebert1 thanks for the JuliaCon talk this morning 👍🏽. Currently at the 3rd floor (extreme left of the room when facing the stadium), will be glad to discuss a bit: ping me here if you're around!

@TimSiebert1
Copy link
Owner

@jbcaillau i send you a mail 👍

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

5 participants