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

Pass through ChainRules zeros in @adjoint too #25

Merged
merged 1 commit into from
Mar 21, 2023
Merged

Conversation

ToucheSir
Copy link
Member

After playing a grand game of whack-a-mole adding back(::AbstractZero) overloads in FluxML/Zygote.jl#1389, it'd probably be better to enable this by default for all @adjoints. This change is effectively non-functional without that PR since @adjoint pullbacks should never see CR zero types, so I think it should be pretty safe until we trigger a PR like FluxML/Zygote.jl#1389.

PR Checklist

  • Tests are added
  • Documentation, if applicable

@CarloLucibello
Copy link
Member

Manifest.toml should be added to the .gitignore

@ToucheSir
Copy link
Member Author

I added it to the .gitignore (which we didn't have before), but forgot to check the gitignore in!

@ToucheSir ToucheSir merged commit 19414a4 into master Mar 21, 2023
@ToucheSir ToucheSir deleted the bc/cr-zeroes branch March 21, 2023 03:05
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.

2 participants