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

gates (A matrix) with a shape of batch * dim * dim * seqlen #14

Open
WeihanLikk opened this issue Dec 10, 2024 · 4 comments
Open

gates (A matrix) with a shape of batch * dim * dim * seqlen #14

WeihanLikk opened this issue Dec 10, 2024 · 4 comments

Comments

@WeihanLikk
Copy link

Thank you for your excellent work!

I was wondering if it’s possible to modify your code to handle a state-space model case where the gates (A matrix) have a more general shape of batch × dim × dim × seqlen?

@proger
Copy link
Owner

proger commented Dec 18, 2024

Thanks @WeihanLikk! How big is the dim you'd like to use?

@WeihanLikk
Copy link
Author

Thanks for your reply! In my case, the maximum dim is around 100.

@proger
Copy link
Owner

proger commented Dec 22, 2024

That sounds reasonable! I would make an entirely new kernel though, that could be simpler because the thread block layout would be different.

@WeihanLikk
Copy link
Author

Thanks!

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