-
Notifications
You must be signed in to change notification settings - Fork 89
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
Use ChainRulesTestUtils.jl #167
Conversation
I suspect this is because ChainRules only allows FiniteDifferences v0.7 We should add tests to ChainRulesTestUtils to prove it supports everything. In the short term maybe a patch release that cuts support down to v0.7 in ChainRulesTestUtils and a then lower bounding to that patch. |
When running this branch and doing This is probably because it's a test only dependency. But I wonder how Julia handles this under the hood, when does it use the highest version of EDIT: Just discussed with EricD about this, everything should be using |
Hmm, this will require further investigation then. I was fairly sure we were careful not to change anything in the source, right? |
Shouldn't that |
Using
|
fa2860c
to
c990faa
Compare
c990faa
to
fe94959
Compare
fe94959
to
dbfbe2e
Compare
dbfbe2e
to
561ade0
Compare
561ade0
to
1342ece
Compare
Other than this last thing it LGTM |
@nickrobinson251 any comments? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
@@ -1,6 +1,8 @@ | |||
using Base.Broadcast: broadcastable | |||
using ChainRules | |||
using ChainRulesCore | |||
using ChainRulesTestUtils | |||
using ChainRulesTestUtils: _fdm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should open an issue on ChainRulesTestUtils about whether or not we want this to be exported / part of the public API
ChainRulesTestUtils.jl is now in the general registry, this is working towards using that package as a test dependency, see #166