Hacker News new | ask | show | jobs
by hyperbovine 2012 days ago
No autodiff for most of these though.
1 comments

JAX autograd will work on most any jitted fn - the control-flow limitations are no autograd for code with for/while loops since there's a statically unknowable trip count through the loop body. Much looping code can be handled differentiably using a "scan" though.