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

Google Gemma running error with half dtype #157

Closed
hnyls2002 opened this issue Mar 6, 2024 · 2 comments
Closed

Google Gemma running error with half dtype #157

hnyls2002 opened this issue Mar 6, 2024 · 2 comments

Comments

@hnyls2002
Copy link
Contributor

hnyls2002 commented Mar 6, 2024

Using flashinfer in sglang with google/gemma-7b-it

  File "/home/ubuntu/sglang-venv/lib/python3.11/site-packages/flashinfer/prefill.py", line 462, in forward
    return self._wrapper.forward(
           ^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: BatchPrefillWithPagedKVCache failed to dispatch with dtype Half

I don't know if this is caused by Gemma's bfloat16 dtype or my inappropriate usage.

@yzh119
Copy link
Collaborator

yzh119 commented Mar 6, 2024

Sorry the error message was confusing.

It's because flashinfer 0.0.2 do not support head dim 256 (enabled in #132 ), I'll trigger v0.0.3 build and release the new version tonight.

@hnyls2002
Copy link
Contributor Author

@yzh119 Thanks, looking forward to the new version!

yzh119 added a commit that referenced this issue Mar 16, 2024
The previous message for dispatch error is confusing #157 #181
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