-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Installation of mamba_ssm
Package Fails on Google Colab
#607
Comments
Try Use This worked for me. |
@adrita78 Have you tried this on Colab? I attempted the installation using the method you suggested, but it has been stuck at 'Building wheel for mamba_ssm' for over 15 minutes. Did it also take a similar amount of time for you? |
@klae01 Yes, I tried this on Colab. It should take around 20 minutes or so. It kinda took long for me too. |
Thanks for the advice. Unfortunately, I was stuck on building wheels for 50 minutes and still running with this method. I would think this is a bit long to have to wait upon each launch of a Colab notebook anyway. Perhaps there is an alternative solution? Thanks in advance. I might add I have tried a variety of solutions, including what is discussed here: #277 |
For me this worked:
seems to have to do with causal_conv1d. If that doesnt work, here I found this. There are other versions maybe worth trying: |
Hi all, I am having the same problem. I would like to use Mamba2. I tried the following as suggested: pip install torch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 --index-url https://download.pytorch.org/whl/cu118 but it failed to import Mamba2. Then, I tried: pip install torch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 --index-url https://download.pytorch.org/whl/cu118 and I get the 'causal_conv1d_fwd(): incompatible function arguments' error. Previously, I used to just do: !pip uninstall mamba-ssm causal-conv1d as suggested by this this thread, and it used to work fine. Any help is appreciated |
this is what worked for me in the end: !pip install torch==2.4.0 torchvision==0.19.0 torchaudio==2.4.0 --index-url https://download.pytorch.org/whl/cu121 Mamba2 runs fine now |
did you do this on colab? |
Yes |
It work. Thanks you, I was so defeated I move to use smallest mamba model on my local GPU. Now I can use better qa mamba model. Thank you @RamiCassia |
Hello,
I'm encountering an issue where the
mamba_ssm
package fails to install on Google Colab. This installation previously worked, but it now fails in recent Colab. The exact cause is unclear.Environment Details:
Steps to Reproduce:
Running the following command results in a build failure:
!pip install mamba_ssm
The error message received is as follows:
pip list
The text was updated successfully, but these errors were encountered: