-
Notifications
You must be signed in to change notification settings - Fork 73
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
Add prefix scan op for Mamba SSM prefill #9553
Comments
esmalTT
added
mamba
prefill
LLM models have prefill mode and it's optimization is usually separated from decode mode.
labels
Jun 19, 2024
3 tasks
esmalTT
added a commit
that referenced
this issue
Jun 26, 2024
esmalTT
added a commit
that referenced
this issue
Jun 26, 2024
esmalTT
added a commit
that referenced
this issue
Jun 26, 2024
esmalTT
added a commit
that referenced
this issue
Jun 26, 2024
esmalTT
added a commit
that referenced
this issue
Jun 26, 2024
esmalTT
added a commit
that referenced
this issue
Jun 27, 2024
esmalTT
added a commit
that referenced
this issue
Jun 27, 2024
kpaigwar
pushed a commit
that referenced
this issue
Jun 29, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We require a prefix scan operator to implement Mamba SSM prefill. The operation should implement the following torch code:
Where L is the sequence length and EN = 5120 * 32.
The text was updated successfully, but these errors were encountered: