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

Installation Error with mamba-ssm while Installing nemo-curator #399

Closed
piyushkashyap07 opened this issue Nov 28, 2024 · 4 comments
Closed
Labels
bug Something isn't working

Comments

@piyushkashyap07
Copy link

Description:

I'm encountering an issue while attempting to install nemo-curator[all] via the command in google colab:

!pip install --extra-index-url https://pypi.nvidia.com nemo-curator[all]

The error log indicates that the build process for the mamba-ssm package fails, resulting in the following message:

ERROR: Failed to build installable wheels for some pyproject.toml based projects (mamba-ssm)

Error Details:

  • The installation completes for some packages but fails when building the wheel for mamba-ssm.
  • The error originates from a subprocess, and it does not seem to be a pip issue.

Solution:

I was able to resolve the issue by manually downloading and installing the specific .whl file for mamba-ssm. Below are the working commands:

!wget https://github.com/state-spaces/mamba/releases/download/v2.2.2/mamba_ssm-2.2.2+cu118torch2.1cxx11abiFALSE-cp310-cp310-linux_x86_64.whl
!pip install mamba_ssm-2.2.2+cu118torch2.1cxx11abiFALSE-cp310-cp310-linux_x86_64.whl

These commands allow for a successful installation of the mamba-ssm package.

Environment:

  • Python version: 3.10
  • OS: Linux (x86_64)
  • CUDA version: cu118 (for torch 2.1)

Additional Information:

Would appreciate any updates or recommendations regarding the installation process for mamba-ssm in the nemo-curator package. This solution might be useful for others facing the same issue.

@piyushkashyap07 piyushkashyap07 added the bug Something isn't working label Nov 28, 2024
@Eom-taeseon
Copy link

I have same error

@piyushkashyap07
Copy link
Author

try this
!wget https://github.com/state-spaces/mamba/releases/download/v2.2.2/mamba_ssm-2.2.2+cu118torch2.1cxx11abiFALSE-cp310-cp310-linux_x86_64.whl
!pip install mamba_ssm-2.2.2+cu118torch2.1cxx11abiFALSE-cp310-cp310-linux_x86_64.whl

before
!pip install --extra-index-url https://pypi.nvidia.com nemo-curator[all]

will work .

@ayushdg
Copy link
Collaborator

ayushdg commented Dec 2, 2024

Thanks for raising @piyushkashyap07. @ryantwolf looks like this is related to Nemo-toolkit 2.0 which was fixed in #372 but still impacts the existing release. Perhaps we need to patch release 0.5.1 pinning nemo-toolkit<2?

@sarahyurick
Copy link
Collaborator

Hi, should now be resolved with the latest NeMo Curator release 0.5.1. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants