Skip to content

Building wheel for mamba-ssm (pyproject.toml) did not run successfully. #731

@adib3552

Description

@adib3552

I am getting this error:

`error: subprocess-exited-with-error

× Building wheel for mamba-ssm (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Building wheel for mamba-ssm (pyproject.toml) ... error
ERROR: Failed building wheel for mamba-ssm
Successfully built causal-conv1d
Failed to build mamba-ssm
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (mamba-ssm)`

I have tried to manually download the wheel from releases but then i get

`ImportError Traceback (most recent call last)
/tmp/ipykernel_35/3881790.py in <cell line: 0>()
3 import torch.nn as nn
4 import torch.nn.functional as F
----> 5 from mamba_ssm.modules.mamba_simple import Mamba
6 from torch.optim import Adam
7 import torch.optim as optim

/usr/local/lib/python3.11/dist-packages/mamba_ssm/init.py in
1 version = "2.2.4"
2
----> 3 from mamba_ssm.ops.selective_scan_interface import selective_scan_fn, mamba_inner_fn
4 from mamba_ssm.modules.mamba_simple import Mamba
5 from mamba_ssm.modules.mamba2 import Mamba2

/usr/local/lib/python3.11/dist-packages/mamba_ssm/ops/selective_scan_interface.py in
16 from mamba_ssm.ops.triton.layer_norm import _layer_norm_fwd
17
---> 18 import selective_scan_cuda
19
20

ImportError: libcudart.so.11.0: cannot open shared object file: No such file or directory
`
I am using kaggle. I get same error on Colab. How to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions