Since this package may be a dependency of other packages (like Mamba-Chat), it might be good to give a clear error message that it is failing due to lack of CUDA availability. I didn't know when I installed Mamba-Chat that it would only work on Nvidia.
https://github.com/Dao-AILab/causal-conv1d/blob/acf67c469baeacd93708783eeb1d125ee176de24/setup.py#L112
This line crashes if
bare_metal_version
is unassigned.bare_metal_version
is unassigned ifCUDA_HOME
is None.https://github.com/Dao-AILab/causal-conv1d/blob/acf67c469baeacd93708783eeb1d125ee176de24/setup.py#L100-L101
Since this package may be a dependency of other packages (like Mamba-Chat), it might be good to give a clear error message that it is failing due to lack of CUDA availability. I didn't know when I installed Mamba-Chat that it would only work on Nvidia.