JuliaArrays / JuliaArrays/DualArrays.jl

support for 'Lazy DualArrays'/integration with LazyArrays.jl

Open
#16 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.