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

Allow block size 128 or 64 for flash decoding #186

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

masahi
Copy link
Member

@masahi masahi commented Feb 1, 2024

The upstream code requires the block size be a multiple of 256, but it's actually possible to use 128 or 64 depending on head_dim. For llama-based models, block size 128 can be used.

@elvin-n @sunggg

@masahi masahi merged commit 4ebb5a3 into octoml:batch-serving Feb 1, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

1 participant