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

Start replacing tests with DifferentiationInterface #570

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

gdalle
Copy link

@gdalle gdalle commented Mar 26, 2024

Following today's conversation between the maintainers of Flux and DifferentiationInterface, here's a first attempt at replacing small parts of the test suite with a more generic version.

To save CI time, I have (temporarily) deactivated all workflows except testing, and commented out all tests except the ones I'm working on.

This is a very rough draft to start the discussion, do not merge!

Files done

  • softmax.jl

test/softmax.jl Outdated Show resolved Hide resolved
@gdalle gdalle marked this pull request as draft March 26, 2024 20:27
@gdalle
Copy link
Author

gdalle commented Mar 26, 2024

@adrhill first roadblock with our approach: we'd like to validate the pullback of Zygote using FiniteDifferences, but as a "forward mode" backend, the latter doesn't have a natural pullback definition

@gdalle
Copy link
Author

gdalle commented Mar 26, 2024

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

Successfully merging this pull request may close these issues.

None yet

1 participant