Lightweight package for loop unrolling on SSA-IR instead of AST · Issue #508 · chalk-lab/Mooncake.jl · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Motivated by #156 (comment) and associated discussions, one could consider creating a lightweight package that performs loop analysis and unrolling (possibly other loop optimisation) using similar techniques for forward mode algorithmic differentiation (see, e.g. #389).
Mooncake could utilise these techniques before the autograd transform to address #156. One advantage of a lightweight package is modularity; the loop analysis and unrolling are not specific to Mooncake.
Packages like Valentin's https://github.com/vchuravy/Loops.jl perhaps provide a starting point for this kind of work. I agree that we shouldn't implement loop optimisations inside Mooncake itself -- that would put off potential collaborators, and make it harder for others to benefit from generic functionality.
Motivated by #156 (comment) and associated discussions, one could consider creating a lightweight package that performs loop analysis and unrolling (possibly other loop optimisation) using similar techniques for forward mode algorithmic differentiation (see, e.g. #389).
Mooncake could utilise these techniques before the autograd transform to address #156. One advantage of a lightweight package is modularity; the loop analysis and unrolling are not specific to Mooncake.
Related Julia PR: JuliaLang/julia#36832
The text was updated successfully, but these errors were encountered: