-
The |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@sharadmv may be able to say more about the plans (tracked in issue #10982). |
Beta Was this translation helpful? Give feedback.
-
Thanks for asking! As you may know, we added array references and effectful operations on them to JAX for the purpose of decomposing Now the plan is to unbundle things further: where That further unbundling requires some upgrades to the autodiff system, which we're currently doing under the moniker "direct linearize" (as in JAX_USE_DIRECT_LINEARIZE=1 etc). (The original |
Beta Was this translation helpful? Give feedback.
Thanks for asking!
As you may know, we added array references and effectful operations on them to JAX for the purpose of decomposing
scan
into something more flexible. Then that machinery turned into the basis of Pallas, and Pallas has basically sidetracked us ever since. We kept meaning to get back to landingfor_loop
...Now the plan is to unbundle things further: where
for_loop
builds in the introduction of array references (in the sense that they are introduced as lambda-binders in the body function), we plan to separate that out into top-level mutable array creation. With that, the loop construct itself gets even simpler. (See this test file to get a flavor.)That further unbundling r…