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

Make code that parses callback errors more tolerant of message format. #670

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

hawkinsp
Copy link
Contributor

@hawkinsp hawkinsp commented Mar 1, 2024

JAX is switching from pybind11 to nanobind, and nanobind formats this error differently, with the traceback preceding the EqxRuntimeError message. If we change the "At:" split to accept zero or more "At:" pieces, things work as intended with both versions.

JAX is switching from pybind11 to nanobind, and nanobind formats this
error differently, with the traceback preceding the EqxRuntimeError
message. If we change the "At:" split to accept zero or more "At:"
pieces, things work as intended with both versions.
@patrick-kidger patrick-kidger merged commit 1e60167 into patrick-kidger:main Mar 1, 2024
0 of 2 checks passed
@patrick-kidger
Copy link
Owner

LGTM, thank you!

(Ignoring the CI error which is a known issue already fixed on dev.)

@lockwo lockwo mentioned this pull request Mar 4, 2024
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.

2 participants