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

Mamba update #254

Open
wants to merge 71 commits into
base: main
Choose a base branch
from
Open

Mamba update #254

wants to merge 71 commits into from

Conversation

jmercat
Copy link
Collaborator

@jmercat jmercat commented Apr 18, 2024

Mamba is now using a class for its input, this updates OpenLM accordingly.

@arjunsesh
Copy link
Contributor

High level comment that these changes are up to date as of mamba-ssm 1.2.1 where I have been able to successfully run the code (however gradient_checkpointing does not work). There are now more features with mamba-ssm>=2.0.0, and submodules have been renamed, so there are some changes to be made to make it compatible.

@jmercat
Copy link
Collaborator Author

jmercat commented Jun 12, 2024

I had the same problem with gradient checkpointing and it prevented some interesting experiments about long-context mamba... I didn’t have time to look into this yet but maybe updating to Mamba2 first would make sense.

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

Successfully merging this pull request may close these issues.

5 participants