state-spaces / mamba

Mamba SSM architecture
Apache License 2.0
11.54k stars 944 forks source link

WSL 2 Ubuntu and Debian build problems #68

Open Marxist-Leninist opened 6 months ago

Marxist-Leninist commented 6 months ago

Environment:

I'm encountering several problems while attempting to install causal-conv1d and mamba-ssm packages:

  1. CUDA Compatibility: Challenges in ensuring compatibility between CUDA and PyTorch versions even when installed correctly.
  2. Dependency Issues: Had to manually install packaging and wheel due to missing dependencies.
  3. Build Failures: Errors during the building process of causal-conv1d, related to C++ extensions.
  4. Incomplete File Retrieval: Errors suggesting incomplete file downloads during installation.

Specific Commands and Errors:

Any assistance or insights to resolve these issues would be greatly appreciated.

masc-it commented 6 months ago

I've run multiple trainings with the current repo all went smooth. I am using python 3.10.13 btw, created with miniconda. Assure to have CUDA properly setup (run nvidia-smi, I have CUDA Version: 12.3) and pytorch (just pip install torch, it will automatically pull the cuda dependencies, version 12.x).

w12l3-c commented 5 months ago

Had similar issues with pip install causal-conv1d and mamba-ssm with


  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.```

Did anyone find a way to resolve this? I am using WSL2 Ubuntu as well