Replies: 1 comment 3 replies
-
No, there is no way to allow creation of 64-bit data types without allowing them globally via the |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
From what I understand, it seems impossible to get access to uint64 dtype without changing the behavior of jax.numpy (i.e. the dtype of the result when dtype is not provided), or am I wrong?
In my case, I just need uint64 in a single place in my code (accumulating large numbers such as token counts), but I want to preserve the behaviour of the rest of the code, mainly because I don't trust external libraries to always specify dtypes explicitly, and I want to ensure my computations don't use 64-bit types.
Is there a way to achieve what I need? If not, what's the reason for the current semantics of
jax_enable_x64
? My use case seems (at least to me) perfectly reasonable.Beta Was this translation helpful? Give feedback.
All reactions