JuliaDiff / JuliaDiff/ChainRulesTestUtils.jl
inference check failure in test_rrule, @inferred rrule works
Open
@mzgubic is already working on this.
Since May 6, 2022.
- Dominant language
- Julia
- Stars
- 50
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
I wrapped up an MWE in ImplicitAD.jl for an rrule I defined (see the single test). My issue is that
test_rrule(one_one, 1.0;
check_inferred = true,
fdm = forward_fdm(5, 1),
atol = ϵ, rtol = ϵ)
gives an inference failure, while
@inferred rrule(ChainRulesTestUtils.TestConfig(), one_one, 1.0)
is fine.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.