-
Notifications
You must be signed in to change notification settings - Fork 279
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
Cannot do inference in float32 #595
Labels
Comments
What are you setting that triggets this? (Activations to float32?) |
gobbleturk
added
bug
Something isn't working
good first issue
Good for newcomers
labels
Sep 17, 2024
Thanks @borisdayma for pointing this out. Created a PR to address this |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If we try to perform inference in float32, we get the error:
This error comes from this line.
The origin of the error is that the cache
dtype
is set tojnp.int8 if quantize_kvcache else jnp.bfloat16
but never tojnp.float32
.The text was updated successfully, but these errors were encountered: