Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error_if now has a breakpoint option #421

Merged
merged 1 commit into from
Jul 15, 2023
Merged

Conversation

patrick-kidger
Copy link
Owner

@patrick-kidger patrick-kidger commented Jul 13, 2023

In particular this is controlled through a new EQX_ON_ERROR=<raise|breakpoint> environment variable.

Note that EQX_ON_ERROR=breakpoint sometimes runs afoul of this bug in core JAX: google/jax#16732. If so this can be worked around by deleting intermediate jax.jit/eqx.filter_jit decorators.

@patrick-kidger patrick-kidger marked this pull request as ready for review July 15, 2023 10:51
@patrick-kidger patrick-kidger merged commit 14c0bfc into main Jul 15, 2023
2 checks passed
@patrick-kidger patrick-kidger deleted the better-error-if branch July 15, 2023 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant