compile cuda error
thanks for your repo!
I have an errror while compiling CUDA. How can I fix it?
os:Win11 python:3.8.8 cuda:11.4
cd models/dino/ops python setup.py build install ↓ running build running build_py running build_ext C:\Users\nomun\mysystem.venv\py388-DINO\lib\site-packages\torch\utils\cpp_extension.py:316: UserWarning: Error checking compiler version for cl: [WinError 2] The system cannot find the file specified warnings.warn(f'Error checking compiler version for {compiler}: {error}') error: [WinError 2] The system cannot find the file specified
thanks.
Hey, I notice you are using Win11 os. We did not try compiling on Win11. Do your win11 have 4 or 8 gpus? Otherwise, you can not train this model. If you are sure your win11 has enough gpus, you can refer to Deformable DETR to see if there any suggestions in compiling win11.
@FengLi-ust thanks for your commnent. yes, I'm using Win11.
My PC has a NVIDIA RTX3090. Does it enough for inference single image?Should I have 4 or 8 GPUS?
Yes, it is enough for inference.
@FengLi-ust thanks I'm relieved to hear that. But RTX3090 is'nt enough for "training"?
And now, I'm using VS2019. Is it possible that it may become the cause of compile error?
now I'm using VS2017 on Win11.
Add path to cl.exe and I checked I can use "cl" command.

I trying to compile CUDA, but "python setup.py build install" command doesn't work.

Meaning of the last line is "The specified file could not be found". Please help me!!
thanks