JuliaArrays / JuliaArrays/DualArrays.jl
support for 'Lazy DualArrays'/integration with LazyArrays.jl
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 1
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
One of the optimisations that Fitzgibbon identifies for forward mode autodiff is loop fusion. My understanding is that the Julia compiler automatically does loop fusion on broadcast operations, but not elsewhere, and lazy evaluation has the same effect of removing intermediate allocations by delaying evaluations. Would it be worthwhile to support lazy evaluation/propagation of dual arrays and their jacobians, perhaps through LazyArrays.jl?
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
No file or test is named. Start by reviewing DualArrays.jl's current dual-array and Jacobian handling alongside LazyArrays.jl's interfaces, then assess whether lazy propagation can deliver the stated loop-fusion and allocation benefits. Done would require a resolved design and a scoped integration plan or implementation with tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100