hustvl / Vim

Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Model
Apache License 2.0
2.55k stars 159 forks source link

[BUG] ImportError: .../causal_conv1d_cuda.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN2at4_ops10zeros_like4callERKNS_6TensorESt8optionalIN3c1010ScalarTypeEES5_INS6_6LayoutEES5_INS6_6DeviceEES5_IbES5_INS6_12MemoryFormatEE #60

Open MIOS9 opened 2 months ago

MIOS9 commented 2 months ago

Describe the bug just run import causal_conv1d_cuda and you can see the error.

To Reproduce Steps to reproduce the behavior:

  1. cd Vim/vim
  2. pip install -r vim_requirements.txt
  3. 'python main.py --eval --resume /path/to/ckpt --model vim_tiny_patch16_224_bimambav2_final_pool_mean_abs_pos_embed_with_midclstok_div2 --data-path /path/to/imagenet '
  4. See error

Expected behavior the package "causal_conv1d_cuda" should be imported successfully, but its not.

Screenshots 2024-04-04 14-33-41屏幕截图 2024-04-04 14-34-13屏幕截图

Additional context Is there a problem with the package version of causal_conv1d?

OUTSIDER-CODE commented 2 months ago

hi,i got the same problem,did you solve it?

xiaridehehe commented 1 month ago

pip install https://github.com/Dao-AILab/causal-conv1d/releases/download/v1.2.1/causal_conv1d-1.2.1118torch2.1cxx11abiFALSE-cp310-cp310-linux_x86_64.whl pip install https://github.com/state-spaces/mamba/releases/download/v1.2.1/mamba_ssm-1.2.1+cu118torch2.1cxx11abiFALSE-cp310-cp310-linux_x86_64.whl

Muzi010 commented 1 month ago

hi,i got the same problem,did you solve it?

Have you resolved this issue?

Muzi010 commented 1 month ago

pip install https://github.com/Dao-AILab/causal-conv1d/releases/download/v1.2.1/causal_conv1d-1.2.1118torch2.1cxx11abiFALSE-cp310-cp310-linux_x86_64.whl pip install https://github.com/state-spaces/mamba/releases/download/v1.2.1/mamba_ssm-1.2.1+cu118torch2.1cxx11abiFALSE-cp310-cp310-linux_x86_64.whl

This address is no longer valid.