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

return only array shapes and types in Error? #286

Open
bkmi opened this issue Jan 21, 2025 · 2 comments
Open

return only array shapes and types in Error? #286

bkmi opened this issue Jan 21, 2025 · 2 comments

Comments

@bkmi
Copy link

bkmi commented Jan 21, 2025

First of all, awesome package.

Second, is there a flag so that the errors returned only return the shapes and dtypes of every array? I am typically typechecking huge arrays and I get an extremely long error message back printing the entire array. This seems unnecessary to me. How can I change it?

I'm using beartype as a backend.

@bkmi bkmi changed the title return only array shapes and types? return only array shapes and types in Error? Jan 21, 2025
@patrick-kidger
Copy link
Owner

Aha! This is timely.

Can you try installing jaxtyping from HEAD? I've just added this, would be awesome to have someone give it a try in advance of the next release :)

@bkmi
Copy link
Author

bkmi commented Jan 25, 2025

I can give it a try after the icml deadline ;)

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

No branches or pull requests

2 participants