3 ms·
worse is you can't set a breakpoint inside the "jitted" function (maybe can't print either...)
by almostgotcaught 2y ago
worse is you can't set a breakpoint inside the "jitted" function (maybe can't print either...)
- cl3misch 2y agoIn JAX you can: https://jax.readthedocs.io/en/latest/debugging/print_breakpoint.html#interactive-inspection-with-jax-debug-breakpoint https://jax.readthedocs.io/en/latest/debugging/print_breakpo...
- almostgotcaught 2y ago> In JAX you can I'm alway shocked when people in this line of work either take things at face-value or just lie by omission/imprecision. this is not python breakpoints - it's a wholeass other system they had to re-roll that emulates python breakpoints: > Unlike pdb, you will not be able to step through the execution, but you are allowed to resume it. you think it works with pycharm/vscode/any other tooling? spoiler alert: of course not. so no in JAX you can not.
- ByteMe95 2y agoYou can in CSP nodes https://github.com/Point72/csp https://github.com/Point72/csp