Closed saidineshpola closed 1 year ago
apt-get is not supported yet. Please try using conda install to install the cuda-cusparse-dev-11-1 package and keep us posted. Refer to https://docs.aws.amazon.com/sagemaker/latest/dg/studio-lab-use-manage.html#studio-lab-use-manage-conda for managing your Conda environments
cuda-cusparse-dev-11-1 is not available in conda's library
@saidineshpola Thank you for trying to use Studio Lab. Did you try python -m detectron2.utils.collect_env
to detect the inconsistency of CUDA versions? If there is inconsistency, you need to install a different build of PyTorch to match Studio Lab CUDA version.
https://github.com/chongruo/detectron2-ResNeSt/blob/resnest/INSTALL.md
Dear @saidineshpola , does the above solution work for you?
We well close this issue. I hope the solution works.
Describe the bug while installing detectron2 setup using pip install I got this error which is caused by missing
cusparse.h
in cuda directory. The solution is to installapt-get install cuda-cusparse-dev-11-1
since -dev is the package that containscusparse.h
. is any alternate solution for this?To Reproduce Steps to reproduce the behavior: