Open Utkarsha666 opened 1 year ago
You've chosen to report an unexpected problem or bug. Unless you already know the root cause of it, please include details about it by filling the issue template. The following information is missing: "Instructions To Reproduce the Issue and Full Logs";
Had already the same issue, try to see this: https://blog.csdn.net/m0_56192771/article/details/123194532
I think this may be because your VS version is too new, you can try to modify setup.py by adding -allow-unsupported-compiler
.
extra_compile_args["nvcc"] = [
"-O3",
"-DCUDA_HAS_FP16=1",
"-D__CUDA_NO_HALF_OPERATORS__",
"-D__CUDA_NO_HALF_CONVERSIONS__",
"-D__CUDA_NO_HALF2_OPERATORS__",
"-allow-unsupported-compiler",
]
[Description] I am trying to install detectron2 on my Windows 11 machine.
[To Reproduce]
python -m pip install -e detectron2
[Full Logs]
I have installed visual studio compiler installed, Is it because of CUDA 11.2? I haven't tried updating my CUDA drivers because on my other environment I am using tensorflow-2.10.
System config: GPU:- GTX 1650 RAM:- 8GB CUDA 11.2 Python = 3.9