state-spaces / mamba

Mamba SSM architecture
Apache License 2.0
12.8k stars 1.08k forks source link

ImportError: /home/yida/miniconda3/envs/mambair/lib/python3.9/site-packages/selective_scan_cuda.cpython-39-x86_64-linux-gnu.so: undefined symbol: _ZN3c105ErrorC2ENS_14SourceLocationENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE #308

Open yidamyth opened 5 months ago

yidamyth commented 5 months ago

image

Have some one meet this question,how to deal this problem. Thanks you.

yidamyth commented 5 months ago

python=3.9 pytorch=1.12+cu118 mamba_ssm-1.0.1+cu118torch1.12cxx11abiTRUE-cp39-cp39-linux_x86_64.whl causal_conv1d-1.0.0+cu118torch1.12cxx11abiFALSE-cp39-cp39-linux_x86_64.whl

yidamyth commented 5 months ago

I have down this question follow by this link. Maybe you can also success.

https://github.com/state-spaces/mamba/issues/97#issuecomment-2081966287

image

JayNine25 commented 5 months ago

I have down this question follow by this link. Maybe you can also success.

#97 (comment)

image

Hi, I have the same problem. And I have reinstalled these wheel files (version matching my machine). But I can't import selective_scan_cuda. Are there anything I didn't do?

JayNine25 commented 5 months ago

Where is the mamba-1p1p1/mamba_ssm from?

yidamyth commented 5 months ago

I have down this question follow by this link. Maybe you can also success. #97 (comment) image

Hi, I have the same problem. And I have reinstalled these wheel files (version matching my machine). But I can't import selective_scan_cuda. Are there anything I didn't do?

Hi, maybe you can reforence my blog http://t.csdnimg.cn/mW1I6. The key is to replace mamba_ssm installed in the conda environment with mamba_ssm from the official project.

yidamyth commented 5 months ago

Where is the mamba-1p1p1/mamba_ssm from?

I can't understand this, can you describe it in detail. Maybe I downlond the code from the MambaIR or Vision Mamba.

JayNine25 commented 5 months ago

I have down this question follow by this link. Maybe you can also success. #97 (comment) image

Hi, I have the same problem. And I have reinstalled these wheel files (version matching my machine). But I can't import selective_scan_cuda. Are there anything I didn't do?

Hi, maybe you can reforence my blog http://t.csdnimg.cn/mW1I6. The key is to replace mamba_ssm installed in the conda environment with mamba_ssm from the official project.

I can't open this link. Can we add WeChat or QQ? I just notice that you may come from yunnan too: )

yidamyth commented 5 months ago

http://t.csdnimg.cn/mW1I6

It's ok, maybe you can add me the wechat c1215229084.

tridao commented 4 months ago

v1.2.1 now includes wheels for pytorch 2.3.