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

Could not build wheels for selective_scan, which is required to install pyproject.toml-based projects #89

Open
MarinJH opened this issue Mar 16, 2024 · 20 comments

Comments

@MarinJH
Copy link

MarinJH commented Mar 16, 2024

微信图片_20240316131022
Hello author, I've encountered a bit of trouble here. I've also downloaded the pyproject.toml library mentioned. Could the issue lie in my CUDA configuration? I'm using CUDA 11.7, cuDNN 8.5.0, and Torch 2.0.0.

@GLUCKYT
Copy link

GLUCKYT commented Mar 16, 2024

Hello, before you execute main.py, you should first execute the command (cd kernels/selective_scan: Python setup. py install) to install selective_scan, which may solve your problem

@MarinJH
Copy link
Author

MarinJH commented Mar 16, 2024

Hello, before you execute main.py, you should first execute the command (cd kernels/selective_scan: Python setup. py install) to install selective_scan, which may solve your problem

image
I encountered an error while executing {cd kernels/selective_scan && pip install .}, and I still couldn't resolve it. I wonder if anyone else has encountered the same problem as me.

@HYC01
Copy link

HYC01 commented Mar 21, 2024

Hello, before you execute main.py, you should first execute the command (cd kernels/selective_scan: Python setup. py install) to install selective_scan, which may solve your problem

image I encountered an error while executing {cd kernels/selective_scan && pip install .}, and I still couldn't resolve it. I wonder if anyone else has encountered the same problem as me.

same here

@ZimingGui
Copy link

微信图片_20240316131022 Hello author, I've encountered a bit of trouble here. I've also downloaded the pyproject.toml library mentioned. Could the issue lie in my CUDA configuration? I'm using CUDA 11.7, cuDNN 8.5.0, and Torch 2.0.0.

same

@MzeroMiko
Copy link
Owner

Have you ever checked the #95 ? Is that works for you?

@MzeroMiko
Copy link
Owner

It seems that you haven't installed g++?

@Avianvian
Copy link

Mar 16, 2024

Did you solve it? I had the same problem T^T SOS!!!

@lijialu144
Copy link

have you resovled this issue, i also faced this problem.

@diiinng
Copy link

diiinng commented Apr 11, 2024

same here. Did anyone solved it?

@Avianvian
Copy link

Mar 16, 2024

Did you solve it? I had the same problem T^T SOS!!!

I solved the problem.It looks like just the problem of cuda version.I used the cuda11.6 and now I use cuda11.8.Cuda11.8 will be OK.
image

@RNA429
Copy link

RNA429 commented Apr 17, 2024

3月 16, 2024

你解决了吗?我有同样的问题 T^T SOS!!

我解决了这个问题。看起来只是cuda版本的问题。我使用了 cuda11.6,现在我使用 cuda11.8.Cuda11.8 就可以了。图像

事实上,cuda 11.6 也可以工作

how can you do it?

@wyq2021
Copy link

wyq2021 commented Apr 19, 2024

image
The same to me, I always failed to install it.

@RNA429
Copy link

RNA429 commented Apr 19, 2024

image
The same to me, I always failed to install it.

I fix it.You need a new environment, then do it again

@mengkelan
Copy link

image
The same to me, I always failed to install it.

I fix it.You need a new environment, then do it again

我也遇到这个问题了,请问可以详细说说吗,环境怎么设置的,
image

@mengkelan
Copy link

image
The same to me, I always failed to install it.

I fix it.You need a new environment, then do it again

我也遇到这个问题了,请问可以详细说说吗,环境怎么设置的, image

和cuda版本有关,版本太低就会报类似的错,可以尝试升级cuda版本

我用的cuda版本已经是11.8的了 ,还是不行

@BaiLin-William
Copy link

image
The same to me, I always failed to install it.

I fix it.You need a new environment, then do it again

我也遇到这个问题了,请问可以详细说说吗,环境怎么设置的, image

和cuda版本有关,版本太低就会报类似的错,可以尝试升级cuda版本

我用的cuda版本已经是11.8的了 ,还是不行

降低 一下cython版本试试,

1. pip install cython==0.29.36

2. 再执行cd kernels/selective_scan && pip install .

I tried it,but it did not work.

@2339539741
Copy link

I also had this problem, and finally found out that the version of gcc was too low (4.x.x), and after upgrading the version (11.x.x) the installation was successful

@maozan
Copy link

maozan commented May 21, 2024

Mar 16, 2024

Did you solve it? I had the same problem T^T SOS!!!

I solved the problem.It looks like just the problem of cuda version.I used the cuda11.6 and now I use cuda11.8.Cuda11.8 will be OK. image

In fact, cuda 11.6 also works

Did you fix this error, i also had this problem.

@wangzhenlin123
Copy link

image
fuck

@kcllll
Copy link

kcllll commented Aug 7, 2024

Actually,I believe that you are running the code on Linux,the reason is the selective_scan did not detect the GPU ,open the GPU ,it works
image

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