-
Notifications
You must be signed in to change notification settings - Fork 19
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
Bug: treescope fails to render typed PRNG key arrays #52
Labels
bug
Something isn't working
Comments
danieldjohnson
added a commit
that referenced
this issue
Jan 21, 2025
Numeric dtypes can be summaried by outputting summary statistics (e.g. min, max, avg, sparsity), but we do not produce any summary for extended dtypes like JAX PRNG key dtypes. However, the existing implementation still tries to convert the arrays to numpy for faster summarization even if the dtype cannot be summarized, which produced an error. This commit disables summarization fully for these dtypes so that they can be rendered as normal. Fixes #52.
danieldjohnson
added a commit
that referenced
this issue
Jan 21, 2025
Numeric dtypes can be summaried by outputting summary statistics (e.g. min, max, avg, sparsity), but we do not produce any summary for extended dtypes like JAX PRNG key dtypes. However, the existing implementation still tries to convert the arrays to numpy for faster summarization even if the dtype cannot be summarized, which produced an error. This commit disables summarization fully for these dtypes so that they can be rendered as normal. Fixes #52.
danieldjohnson
added a commit
that referenced
this issue
Jan 21, 2025
Numeric dtypes can be summaried by outputting summary statistics (e.g. min, max, avg, sparsity), but we do not produce any summary for extended dtypes like JAX PRNG key dtypes. However, the existing implementation still tries to convert the arrays to numpy for faster summarization even if the dtype cannot be summarized, which produced an error. This commit disables summarization fully for these dtypes so that they can be rendered as normal. Fixes #52.
danieldjohnson
added a commit
that referenced
this issue
Jan 21, 2025
Numeric dtypes can be summaried by outputting summary statistics (e.g. min, max, avg, sparsity), but we do not produce any summary for extended dtypes like JAX PRNG key dtypes. However, the existing implementation still tries to convert the arrays to numpy for faster summarization even if the dtype cannot be summarized, which produced an error. This commit disables summarization fully for these dtypes so that they can be rendered as normal. Fixes #52.
Thanks for flagging this! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With jax 0.4.37 and treescope 0.1.7:
The text was updated successfully, but these errors were encountered: