Skip to content

Commit

Permalink
don't specialize any functions (#205)
Browse files Browse the repository at this point in the history
This takes the time to run the ChainRules test suite from 52 minutes
down to 40 in my tests. I think there are still more gains to be had
here by playing around a bit with `Experimental.@compiler_options`, but
initially that caused some of the inference tests to fail.
  • Loading branch information
simeonschaub authored Aug 13, 2021
1 parent 011b4e2 commit ae32599
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "ChainRulesTestUtils"
uuid = "cdddcdb0-9152-4a09-a978-84456f9df70a"
version = "1.1.0"
version = "1.2.0"

[deps]
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
Expand Down
2 changes: 2 additions & 0 deletions src/ChainRulesTestUtils.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module ChainRulesTestUtils

@nospecialize

using ChainRulesCore
using ChainRulesCore: frule, rrule
using Compat: only
Expand Down

2 comments on commit ae32599

@simeonschaub
Copy link
Member Author

Choose a reason for hiding this comment

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

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/42800

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.2.0 -m "<description of version>" ae3259959b39947cf7c96f2d2254843fb33e7be0
git push origin v1.2.0

Please sign in to comment.