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_fn' is not defined. Did you mean: 'selective_scan_flop_jit'?报错 #3

Open
1774537072 opened this issue Apr 26, 2024 · 4 comments

Comments

@1774537072
Copy link

image
当我使用的时候,它报了这个错误NameError: name 'selective_scan_fn' is not defined. Did you mean: 'selective_scan_flop_jit'?请问知道如何解决吗,我按照redme中的流程配置的环境

@yyyujintang
Copy link
Owner

Thanks for your interest in our work.
This bug comes from the wrong import of 'selective_scan_fn' function. In our implement, we import selective_scan_fn from mamba_ssm. If it's correctly installed, then 'selective_scan_fn' can be imported from line 18 in vmamba.py.

pip install causal_conv1d==1.1.1
pip install mamba_ssm==1.1.1

@oduinihao
Copy link

我也遇到同样问题,现已解决,解决方法为:确保CUDA版本为11.7,并从github直接下载mamba-ssm的库进行离线安装

@xiaoyu-sunhhh
Copy link

我也遇到同样问题,现已解决,解决方法为:确保CUDA版本为11.7,并从github直接下载mamba-ssm的库进行离线安装

请问github上有cuda11.7对应的mamba-ssm吗?我看到官方只提供了cuda118和cuda122版本的

@oduinihao
Copy link

时间有点久...我现在CUDA已经换到12.1了QWQ不过可以确定的是下载zip源码离线安装可以解决问题

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

4 participants