News for hackers. Stuff that matters.
Re:Functorch: Jax-like composable function transforms for Py... by 6gvONxR4sf7o on Thursday May 19, 2022 @03:19PM (#31438882)
I love jax, but I wish this kind of thing in python was easier to debug. The stacktraces you get using these patterns in this particular language can be wild.

For example, an unjitted function’s error can be easier to debug in jax than in anything else, while the same error in the jitted function can be harder to debug in jax than in anything else. But it’s similar with vmap, pmap, grad, and the rest of the transformations. Debugging gets nuts quickly.

But I don’t think there’s any way around that with these kinds of transformations in python, is there?

Re:Functorch: Jax-like composable function transforms for Py... by _mhr_ on Thursday May 19, 2022 @10:40PM (#31442750)
I try to develop/debug with non-JITed code and JIT as late in development as possible.