New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error compiling objects for extension #37
Comments
What is your version of PyTorch, I used torch1.1.0 in this repo. |
thank you for your apply!
并且我在https://download.pytorch.org/whl/torch/ 下载pytorch轮子的地方没有找到torch1.1.0 对应有cuda的版本。不知作者您的pytorch=1.1.0 torchvision=0.3.0 cudatoolkit=10.0是如何匹配的 (按照我的理解cuda10.0的版本和pytorch1.1.0不匹配,所以我就以为这里pytorch1.1.0是您写错了 所以就下载了 1.10.0) |
I install torch through: By the way, cuda10 may not be compatible with 3090. |
我执行 nvidia-sim 命令查看显卡最高支持到11.2,应该是向下兼容的吧(自带翻译) I run the “nvidia-sim” command to check the nvidia support up to cuda 11.2, which should be backward compatible? |
Yes, you should install cuda in your system frist and use As for as I know, 3090 requires at least cuda11, won't work properly on cuda10. |
thanks you for your reply! |
I have run the program successfully! thank you for your answer! |
which version of mmdetection did you install ? |
Describe the bug
when i run the commend "python setup.py develop",there is a ERROR: Error compiling objects for extension
I have check the environment and the cuda is availiable. my environment is same to what requirement.txt describe.
I ask to Google and find I shoud to replace "AT_CHECK" to "TORCH_CHECK" and I find "AT_CHECK" in some path: mmdet/opt/ /src/ .cpp
Reproduction
python setup.py develop
The text was updated successfully, but these errors were encountered: