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

Import Error(_ZN2at4_ops10zeros_like4callERKNS_6TensorEN3c108optionalINS5_10ScalarTypeEEENS6_INS5_6LayoutEEENS6_INS5_6DeviceEEENS6_IbEENS6_INS5_12MemoryFormatEEE) #358

Open
AhJayzZ opened this issue Jun 4, 2024 · 4 comments

Comments

@AhJayzZ
Copy link

AhJayzZ commented Jun 4, 2024

Hi, after I have successfully installed the mamba-ssm and causal-conv1d , the error shown

image

ImportError: /home/antony/MambaTrack/.venv/lib/python3.8/site-packages/selective_scan_cuda.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZN2at4_ops10zeros_like4callERKNS_6TensorEN3c108optionalINS5_10ScalarTypeEEENS6_INS5_6LayoutEEENS6_INS5_6DeviceEEENS6_IbEENS6_INS5_12MemoryFormatEEE

@AhJayzZ
Copy link
Author

AhJayzZ commented Jun 4, 2024

This is the runtime and package version:

python 3.8.10

mamba-ssm==2.0.3
causal-conv1d==1.2.2
torch==2.3.0
nvidia-cuda-runtime-cu12==12.1.105
torchvision==0.18.0

@CYYJL
Copy link

CYYJL commented Jun 5, 2024

Me too.
My package version:
python 3.10.14

mamba-ssm==2.0.2
causal-conv1d==1.2.0.post1
torch==2.1.1
torchvision==0.16.1
cuda==11.8

@AhJayzZ
Copy link
Author

AhJayzZ commented Jun 5, 2024

After I have change the CUDA to 11.8 and reduce the package version

pip install torch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 --index-url https://download.pytorch.org/whl/cu118
pip install causal_conv1d==1.1.1
pip install mamba-ssm==1.2.0.post1

It work!

@LaplaceSama
Copy link

Me three!

@AhJayzZ AhJayzZ changed the title ImportError: /home/antony/MambaTrack/.venv/lib/python3.8/site-packages/selective_scan_cuda.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZN2at4_ops10zeros_like4callERKNS_6TensorEN3c108optionalINS5_10ScalarTypeEEENS6_INS5_6LayoutEEENS6_INS5_6DeviceEEENS6_IbEENS6_INS5_12MemoryFormatEEE Import Error Jun 26, 2024
@AhJayzZ AhJayzZ changed the title Import Error Import Error(_ZN2at4_ops10zeros_like4callERKNS_6TensorEN3c108optionalINS5_10ScalarTypeEEENS6_INS5_6LayoutEEENS6_INS5_6DeviceEEENS6_IbEENS6_INS5_12MemoryFormatEEE) Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants