JuliaDiff / JuliaDiff/ChainRules.jl
`rand!` is marked non-differentiable
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 475
- Forks
- 98
- PR merge metrics
- No merged PRs in 30d
Description
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.
Research direction
Start with the fallback method linked in Distributions.jl's src/genericrand.jl and the random rule at src/rulesets/Random/random.jl. Reproduce the rand! differentiation case with an AD such as Zygote and trace why it is treated as non-differentiable. Done means the unsupported in-place differentiation case no longer fails silently and its behavior is covered by a regression check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100