Skip to content

Commit ae32599

Browse files
authored
don't specialize any functions (#205)
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.
1 parent 011b4e2 commit ae32599

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ChainRulesTestUtils"
22
uuid = "cdddcdb0-9152-4a09-a978-84456f9df70a"
3-
version = "1.1.0"
3+
version = "1.2.0"
44

55
[deps]
66
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"

src/ChainRulesTestUtils.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
module ChainRulesTestUtils
22

3+
@nospecialize
4+
35
using ChainRulesCore
46
using ChainRulesCore: frule, rrule
57
using Compat: only

0 commit comments

Comments
 (0)