We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I have some problems with the details of selective ssm in mamba_simple.py.
Because there are errors when run code in line 241-244, I want to check the problem as follows:
In the line of 241, dA = torch.exp(torch.einsum("bd,dn->bdn", dt, A)).
I am not sure the dA is derived from matrix multiplication or elementwise multiplication of dt and A?
Also, the same confusion with the way we obtain dB, ssm_state, and y in line 242, 243, and 244, respectively.
I hope someone can help me clear up my confusion. I would be extremely grateful.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I have some problems with the details of selective ssm in mamba_simple.py.
Because there are errors when run code in line 241-244, I want to check the problem as follows:
In the line of 241, dA = torch.exp(torch.einsum("bd,dn->bdn", dt, A)).
I am not sure the dA is derived from matrix multiplication or elementwise multiplication of dt and A?
Also, the same confusion with the way we obtain dB, ssm_state, and y in line 242, 243, and 244, respectively.
I hope someone can help me clear up my confusion. I would be extremely grateful.
The text was updated successfully, but these errors were encountered: