Open chokevin8 opened 3 months ago
Not sure if this comment is a scam link, I'm not clicking that to make sure. Is this a bot? Also unclear about what you mean by "need to place a check in install to path and select "gcc.""?
@AmeenAli @Itamarzimm @bhoov @erjanmx Any updates....?
Same problem :'(
Hello, I've been trying to setup the environment via instructions on README, but I am not able to do the last part of installing both causal-conv1d and mamba-1p1p1 from source.
Could you maybe make sure that this installation still works now? I've been using the correct versions (python 3.10.13, torch 2.1.1, CUDA 11.8) on Ubuntu, and have no problems with CUDA (other projects in this same server work with no problem). I've tried this more than five times on a clean, new environment but with no success. Would really appreciate some guidance from any of you guys, thank you! @AmeenAli @Itamarzimm @ItamarZimerman @erjanmx @bhoov
Below is the full error message:
`(mamba_attn) wjcho@hq-ailab-ai1-gpu4:~/HiddenMambaAttn/causal-conv1d$ pip install --editable . Obtaining file:///home/wjcho/HiddenMambaAttn/causal-conv1d Preparing metadata (setup.py) ... done Requirement already satisfied: torch in /home/wjcho/.conda/envs/mamba_attn/lib/python3.10/site-packages (from causal_conv1d==1.0.0) (2.1.1+cu118) Requirement already satisfied: packaging in /home/wjcho/.conda/envs/mamba_attn/lib/python3.10/site-packages (from causal_conv1d==1.0.0) (23.2) Requirement already satisfied: ninja in /home/wjcho/.conda/envs/mamba_attn/lib/python3.10/site-packages (from causal_conv1d==1.0.0) (1.11.1.1) Requirement already satisfied: filelock in /home/wjcho/.conda/envs/mamba_attn/lib/python3.10/site-packages (from torch->causal_conv1d==1.0.0) (3.13.1) Requirement already satisfied: typing-extensions in /home/wjcho/.conda/envs/mamba_attn/lib/python3.10/site-packages (from torch->causal_conv1d==1.0.0) (4.8.0) Requirement already satisfied: sympy in /home/wjcho/.conda/envs/mamba_attn/lib/python3.10/site-packages (from torch->causal_conv1d==1.0.0) (1.12) Requirement already satisfied: networkx in /home/wjcho/.conda/envs/mamba_attn/lib/python3.10/site-packages (from torch->causal_conv1d==1.0.0) (3.2.1) Requirement already satisfied: jinja2 in /home/wjcho/.conda/envs/mamba_attn/lib/python3.10/site-packages (from torch->causal_conv1d==1.0.0) (3.1.2) Requirement already satisfied: fsspec in /home/wjcho/.conda/envs/mamba_attn/lib/python3.10/site-packages (from torch->causal_conv1d==1.0.0) (2023.10.0) Requirement already satisfied: triton==2.1.0 in /home/wjcho/.conda/envs/mamba_attn/lib/python3.10/site-packages (from torch->causal_conv1d==1.0.0) (2.1.0) Requirement already satisfied: MarkupSafe>=2.0 in /home/wjcho/.conda/envs/mamba_attn/lib/python3.10/site-packages (from jinja2->torch->causal_conv1d==1.0.0) (2.1.3) Requirement already satisfied: mpmath>=0.19 in /home/wjcho/.conda/envs/mamba_attn/lib/python3.10/site-packages (from sympy->torch->causal_conv1d==1.0.0) (1.3.0) Installing collected packages: causal_conv1d DEPRECATION: Legacy editable install of causal_conv1d==1.0.0 from file:///home/wjcho/HiddenMambaAttn/causal-conv1d (setup.py develop) is deprecated. pip 25.0 will enforce this behaviour change. A possible replacement is to add a pyproject.toml or enable --use-pep517, and use setuptools >= 64. If the resulting installation is not behaving as expected, try using --config-settings editable_mode=compat. Please consult the setuptools documentation for more information. Discussion can be found at https://github.com/pypa/pip/issues/11457 Running setup.py develop for causal_conv1d error: subprocess-exited-with-error
error: subprocess-exited-with-error
× python setup.py develop did not run successfully. │ exit code: 1 ╰─> [145 lines of output]
note: This error originates from a subprocess, and is likely not a problem with pip.`