mamba icon indicating copy to clipboard operation
mamba copied to clipboard

Install Failed

Open Gle2xn opened this issue 1 year ago • 6 comments

Installing causal-conv1d and mamba-ssm failed. 屏幕截图 2023-12-06 163001

Gle2xn avatar Dec 06 '23 08:12 Gle2xn

I don't have enough information. What OS are you using?

albertfgu avatar Dec 06 '23 15:12 albertfgu

post the full stack trace. But kinda looks like you're missing nvcc

getorca avatar Dec 06 '23 18:12 getorca

I had the same issue, bare_metal_version is only defined in the setup.py if the CUDA_HOME environment variable is set, but the 11.8 version check is outside of that if block: https://github.com/state-spaces/mamba/blob/009bec5ee37f586844a3fc89c040a9c1a9d8badf/setup.py#L100-L113

CUDA 11.8 was installed on my machine, so once I set the CUDA_HOME variable I could install the package. Maybe an error message about CUDA_HOME would be helpful?

alexanderwerning avatar Feb 12 '24 12:02 alexanderwerning

I had the same issue, bare_metal_version is only defined in the setup.py if the CUDA_HOME environment variable is set, but the 11.8 version check is outside of that if block:

https://github.com/state-spaces/mamba/blob/009bec5ee37f586844a3fc89c040a9c1a9d8badf/setup.py#L100-L113

CUDA 11.8 was installed on my machine, so once I set the CUDA_HOME variable I could install the package. Maybe an error message about CUDA_HOME would be helpful?

how do you set the home variable? I'm having this same issue. Thanks in advance

Rhys-McAlister avatar Mar 07 '24 10:03 Rhys-McAlister

It depends on the location and version of your cuda installation, for me it was this: export CUDA_HOME=/usr/local/cuda-11.8

alexanderwerning avatar Mar 07 '24 10:03 alexanderwerning

Has this been solved? Thanks!

lxaw avatar Apr 24 '24 23:04 lxaw