-
Notifications
You must be signed in to change notification settings - Fork 923
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
Mamba2 assertion error #414
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, when running example inference on Mamba2:
An assertion error on the shape of dt is raised:
Further inspection shows that at the point of the AssertionError:
dt.shape == torch.Size([1, 14, 80])
x.shape == torch.Size([1, 17, 80, 64])
B.shape == torch.Size([1, 17, 1, 128])
Seems like the seqlen of x has 3 more than dt, which caused the assertion error. I wonder if anyone else is also getting this error and what could be potentially causing trouble here.
The text was updated successfully, but these errors were encountered: