-
Notifications
You must be signed in to change notification settings - Fork 227
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
Add MambaSSM as a library #802
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM if naming is agreed
@@ -298,6 +298,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = { | |||
repoName: "mindspore", | |||
repoUrl: "https://github.com/mindspore-ai/mindspore", | |||
}, | |||
mamba_ssm: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just mamba
would be cleaner, branding-wise?
mamba_ssm: { | |
mamba: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and it's pip install mamba-ssm
on PyPI so maybe a better option too
I think i'd go with mamba
personally
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We discussed this with @osanseviero. The problem of simply mamba
is that it's a transformers
architecture as well so it might create some conflicts. Also having mamba_ssm
as library_name and mamba
as tag helps with code snippets (to import Mamba
class).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could have Mamba
as prettyName but it might be misleading
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok but then dash rather than underscore no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nvm let's not complicate stuff, LGTM as is :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good point, addressed in e3e7e62 and state-spaces/mamba@961eccb
@osanseviero @julien-c I've updated the code snippet. In the end only |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 🔥
(I would have waited for state-spaces/mamba#471 to be merged but no big deal) |
This PR adds https://github.com/state-spaces/mamba as an official library on the Hub.
Let's wait for Mamba integration to be merged (coming soon) + having a few first models uploaded on the Hub.
cc @osanseviero @NielsRogge @tridao
Related PR on Mamba side: state-spaces/mamba#471