You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using SAM2, I encountered this issue, and after consulting the documentation, I found that I needed to export TORCH_CUDA_ARCH_LIST=9.0 8.0 8.6 8.9 7.0 7.2 7.5 6.0. However, this did not resolve the problem.
I discovered that the GroundingDINO part of the code works successfully, so I tried to identify the issue. I found that the problem lies in the groundingdino/setup.py file:
In this code, there is no entry for CUDA capability 9.0, so when using a GPU with capability 9.0 and following the official installation procedure, it would throw an error. The solution is to add the line -gencode=arch=compute_90,code=sm_90 to the extra_compile_args["nvcc"] section.
The text was updated successfully, but these errors were encountered:
When using SAM2, I encountered this issue, and after consulting the documentation, I found that I needed to
export TORCH_CUDA_ARCH_LIST=9.0 8.0 8.6 8.9 7.0 7.2 7.5 6.0
. However, this did not resolve the problem.I discovered that the GroundingDINO part of the code works successfully, so I tried to identify the issue. I found that the problem lies in the
groundingdino/setup.py
file:In this code, there is no entry for CUDA capability 9.0, so when using a GPU with capability 9.0 and following the official installation procedure, it would throw an error. The solution is to add the line
-gencode=arch=compute_90,code=sm_90
to theextra_compile_args["nvcc"]
section.The text was updated successfully, but these errors were encountered: