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

Cut down to bare minimum for AbstractChainRules #1

Merged
merged 4 commits into from
Aug 2, 2019
Merged

Conversation

oxinabox
Copy link
Member

Right now master just contains the whole of ChainRules.jl
This PR reduces it down to the minimum stuff.

It does still have Cassette which technically can move to being in ChainRules,
but Cassette is actually an very lightweight dependency.
And we plan to remove it at some point

@matbesancon
Copy link
Contributor

Looking at the PR, maybe some of the rules could be kept here? The ones in mapreduce.jl and base.jl basically, the rest always adds a dependency on something

@oxinabox
Copy link
Member Author

As we add more and more rules for Base, those are going to grow.
(e.g. fun one I like is the rules for sensitivities of lock<->unlock)
And that means that this becomes slower to load.

@oxinabox
Copy link
Member Author

oxinabox commented Aug 1, 2019

This PR matches to JuliaDiff/ChainRules.jl#67

Copy link
Contributor

@nickrobinson251 nickrobinson251 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@oxinabox oxinabox merged commit 3a95baa into master Aug 2, 2019
@oxinabox oxinabox deleted the ox/abstractonly branch August 2, 2019 17:14
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.

4 participants