Open YH-2023 opened 2 months ago
I did not test cuda version earlier than cuda11.3. What exactly the version of cuda you are using?
@MzeroMiko The version I'm using is cuda11.0.3,How can we solve the problem of installing selective_scan in lower versions?
Processing /home/hxd/work4/work/kernels/selective_scan Preparing metadata (setup.py) ... done Requirement already satisfied: torch in /home/hxd/anaconda3/envs/seg/lib/python3.8/site-packages (from selective-scan==0.0.2) (1.7.0) Requirement already satisfied: packaging in /home/hxd/anaconda3/envs/seg/lib/python3.8/site-packages (from selective-scan==0.0.2) (24.0) Requirement already satisfied: ninja in /home/hxd/anaconda3/envs/seg/lib/python3.8/site-packages (from selective-scan==0.0.2) (1.11.1.1) Requirement already satisfied: einops in /home/hxd/anaconda3/envs/seg/lib/python3.8/site-packages (from selective-scan==0.0.2) (0.7.0) Requirement already satisfied: future in /home/hxd/anaconda3/envs/seg/lib/python3.8/site-packages (from torch->selective-scan==0.0.2) (1.0.0) Requirement already satisfied: typing_extensions in /home/hxd/anaconda3/envs/seg/lib/python3.8/site-packages (from torch->selective-scan==0.0.2) (4.9.0) Requirement already satisfied: dataclasses in /home/hxd/anaconda3/envs/seg/lib/python3.8/site-packages (from torch->selective-scan==0.0.2) (0.6) Requirement already satisfied: numpy in /home/hxd/anaconda3/envs/seg/lib/python3.8/site-packages (from torch->selective-scan==0.0.2) (1.24.4) Building wheels for collected packages: selective-scan Building wheel for selective-scan (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [132 lines of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for selective-scan Running setup.py clean for selective-scan Failed to build selective-scan ERROR: Could not build wheels for selective-scan, which is required to install pyproject.toml-based projects