Vim icon indicating copy to clipboard operation
Vim copied to clipboard

[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

Open ipc-robot opened this issue 1 year ago • 4 comments

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?

ipc-robot avatar Apr 04 '24 06:04 ipc-robot

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

OUTSIDER-CODE avatar Apr 22 '24 12:04 OUTSIDER-CODE

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

xiaridehehe avatar May 28 '24 01:05 xiaridehehe

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

Have you resolved this issue?

Muzi010 avatar May 30 '24 01:05 Muzi010

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.

Muzi010 avatar May 30 '24 01:05 Muzi010