Debugging flax models #3132
Unanswered
zaccharieramzi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to know what are the best practices to debug flax models.
I of course know of
jax.debug.breakpoint
andjax.debug.print
but I would like to use VSCode's debugger in order to be more efficient.I have noticed that even when I disable jitting
jax.disable_jit()
, I am unable to use VSCode's debugger or indeed any other form of manual debugging likeprint
inside a@nn.compact
call function.Beta Was this translation helpful? Give feedback.
All reactions