Re:Decorator JITs: Python as a DSL
by almostgotcaught on Monday February 03, 2025 @02:55PM
(#42922134)
worse is you can't set a breakpoint inside the "jitted" function (maybe can't print either...)
[ Parent
| on HN ]
In JAX you can: https://jax.readthedocs.io/en/latest/debugging/print_breakpo...
Re:Decorator JITs: Python as a DSL
by almostgotcaught on Monday February 03, 2025 @04:53PM
(#42923756)
> 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.
You can in CSP nodes
https://github.com/Point72/csp