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

NameError: name 'selective_scan_cuda' is not defined. Did you mean: 'SelectiveScanCuda' #308

Open
hxyAhut opened this issue Sep 27, 2024 · 2 comments

Comments

@hxyAhut
Copy link

hxyAhut commented Sep 27, 2024

No description provided.

@hxyAhut
Copy link
Author

hxyAhut commented Sep 27, 2024

QQ截图20240927141928

尝试进行分类任务的时候出现上面的问题,尝试安装mamba_ssm还是存在同样的问题,请问该如何解决呢

@MzeroMiko
Copy link
Owner

You may need to re-configurate your environment. Here's a take-away solution:

    conda create -n ${NAME} python==3.10 -y
    which conda && which python && which pip
    pip install torch==2.2 torchvision torchaudio triton pytest chardet yacs termcolor fvcore seaborn packaging ninja einops numpy==1.24.4 timm==0.4.12
    pip install tensorboard
    CUDA_HOME=/usr/local/cuda-12.1/ pip install kernels/selective_scan

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

2 participants