-
Notifications
You must be signed in to change notification settings - Fork 64
Change argument order on InplaceableThunk and fix deprecated tests #396
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #396 +/- ##
==========================================
+ Coverage 89.96% 91.99% +2.02%
==========================================
Files 15 15
Lines 638 637 -1
==========================================
+ Hits 574 586 +12
+ Misses 64 51 -13
Continue to review full report at Codecov.
|
| include("rule_definition_tools.jl") | ||
| include("config.jl") | ||
|
|
||
| include("deprecated.jl") |
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.
good lord...
|
Hi @oxinabox , I'm pretty sure this change triggered a very weird behavior in JuliaReinforcementLearning/ReinforcementLearning.jl#370 (comment) Downgrading to v0.10.11 resolved that issue. I'd like to provide a MWE, but before spending time on it (it might need some effort), I'd like to know whether you can see any obvious potential errors in this PR or not. (cc @pilgrimygy) |
|
That's very weird. It that makes your project hang, then I blame the compiler. |
|
OK, here is the MWE: https://github.com/findmyway/TestCRC/blob/master/test/runtests.jl As you can see, the performance difference is huge between v0.10.11 and v0.10.12: And the weirdest part is that the performance difference only shows up in the tests (by running |
|
Ah, yes, this is the deprecation warnings. A version of ChainRules.jl that doesn't have any deprecation warnings from this will come out sometime next week. |
|
Now I see. Thanks! |
This closes #386
I will wait til we merge the ProjectTo PR in ChainRules.jl before making the follow up there.
While doing this I noticed out deprecated tests were not running so i fixed that and fixed some issues with that file