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

cuda version of mLSTM #8

Open
bio-mlhui opened this issue Jun 7, 2024 · 2 comments
Open

cuda version of mLSTM #8

bio-mlhui opened this issue Jun 7, 2024 · 2 comments

Comments

@bio-mlhui
Copy link

will there be a cuda version of mLSTM? The mLSTM is O(n^2) complexity in both training and inference. I got OOM error in 24GB GPU, the context_lenght is set to 512, batch_size is 12, dim is 320, heads=10.

@liujike
Copy link

liujike commented Jun 7, 2024

Did you have the erro when config the .yaml:
RuntimeError: Error building extension 'slstm_HS64BS8NH1NS4DBfDRbDWbDGbDSbDAfNG4SA1GRCV0GRC0d0FCV0FC0d0

@bio-mlhui
Copy link
Author

no, you can try delete this temporary folder and rebuild

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