-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
compilation error #237
Comments
Please include details about the problem following the issue template. Your issue seems like a duplicate of #232 from the partial information you provided. |
I have looked the issue-'pytorch/extension-cpp#37', it seems it's different error message. here is my one. C:/ProgramData/Anaconda3/lib/site-packages/torch/include/torch/csrc/api/include C:/ProgramData/Anaconda3/lib/site-packages/torch/include/torch/csrc/api/include C:/ProgramData/Anaconda3/lib/site-packages/torch/include/torch/csrc/api/include C:/ProgramData/Anaconda3/lib/site-packages/torch/include/torch/csrc/api/include C:/ProgramData/Anaconda3/lib/site-packages/torch/include/torch/csrc/api/include C:/ProgramData/Anaconda3/lib/site-packages/torch/include/torch/csrc/api/include C:/ProgramData/Anaconda3/lib/site-packages/torch/include/torch/csrc/api/include C:/ProgramData/Anaconda3/lib/site-packages/torch/include/torch/csrc/api/include C:/ProgramData/Anaconda3/lib/site-packages/torch/include/torch/csrc/api/include C:/ProgramData/Anaconda3/lib/site-packages/torch/include/torch/csrc/api/include C:/ProgramData/Anaconda3/lib/site-packages/torch/include/torch/csrc/api/include C:/ProgramData/Anaconda3/lib/site-packages/torch/include/torch/csrc/api/include C:/ProgramData/Anaconda3/lib/site-packages/torch/include/torch/csrc/api/include C:/ProgramData/Anaconda3/lib/site-packages/torch/include/torch/csrc/api/include C:/ProgramData/Anaconda3/lib/site-packages/torch/include/torch/csrc/api/include C:/ProgramData/Anaconda3/lib/site-packages/torch/include\torch/csrc/autograd/rec C:/ProgramData/Anaconda3/lib/site-packages/torch/include\torch/csrc/autograd/rec C:/ProgramData/Anaconda3/lib/site-packages/torch/include\torch/csrc/autograd/pro C:/ProgramData/Anaconda3/lib/site-packages/torch/include\torch/csrc/autograd/pro C:/ProgramData/Anaconda3/lib/site-packages/torch/include\torch/csrc/autograd/pro C:/ProgramData/Anaconda3/lib/site-packages/torch/include\torch/csrc/autograd/pro C:/ProgramData/Anaconda3/lib/site-packages/torch/include\torch/csrc/autograd/sav C:/ProgramData/Anaconda3/lib/site-packages/torch/include\torch/csrc/autograd/sav C:/ProgramData/Anaconda3/lib/site-packages/torch/include\torch/csrc/autograd/sav C:/ProgramData/Anaconda3/lib/site-packages/torch/include\torch/csrc/autograd/fun C:/ProgramData/Anaconda3/lib/site-packages/torch/include\torch/csrc/autograd/fun C:/ProgramData/Anaconda3/lib/site-packages/torch/include\torch/csrc/autograd/fun C:/ProgramData/Anaconda3/lib/site-packages/torch/include\torch/csrc/autograd/fun C:/ProgramData/Anaconda3/lib/site-packages/torch/include\torch/csrc/autograd/fun C:/ProgramData/Anaconda3/lib/site-packages/torch/include\torch/csrc/autograd/cus C:/ProgramData/Anaconda3/lib/site-packages/torch/include\torch/csrc/autograd/cus C:/ProgramData/Anaconda3/lib/site-packages/torch/include\torch/csrc/autograd/cus C:/ProgramData/Anaconda3/lib/site-packages/torch/include\torch/csrc/autograd/cus C:/ProgramData/Anaconda3/lib/site-packages/torch/include\torch/csrc/autograd/cus C:/ProgramData/Anaconda3/lib/site-packages/torch/include\torch/csrc/autograd/cus C:/ProgramData/Anaconda3/lib/site-packages/torch/include\torch/csrc/autograd/cus 1 error detected in the compilation of "C:/Users/ADMINI~1/AppData/Local/Temp/2/t |
It seems all you pasted are warnings, not errors. So it's unclear to me what your error actually was. |
Does it help to identify the error? 1 error detected in the compilation of "C:/Users/ADMINI~1/AppData/Local/Temp/2/t |
It does not. If you looked at the long logs in #232 , there are some actual errors, in addition to the error of "nvcc failed". |
I attached the error log for you. I'm not sure where I can get the detail error log, above I export the log of compliation. if you need any extra comments, pls let me know, thanks. |
If you searched for "error" in your log file, it is the same as #232 and pytorch/extension-cpp#37.
|
I have refered to #37 and try to modify below codes, then I get some new error: D:/development/detectron2/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.cu(337): error: no instance of function template "at::cuda::ATenCeilDiv" matches the argument list D:/development/detectron2/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.cu(337): error: no instance of overloaded function "std::min" matches the argument list D:/development/detectron2/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.cu(393): error: no instance of function template "at::cuda::ATenCeilDiv" matches the argument list D:/development/detectron2/detectron2/layers/csrc/ROIAlign/ROIAlign_cuda.cu(393): error: no instance of overloaded function "std::min" matches the argument list 4 errors detected in the compilation of "C:/Users/ADMINI~1/AppData/Local/Temp/2/tmpxft_00001934_00000000-10_ROIAlign_cuda.cpp1.ii". several files must be changed by manually. |
@davidqing2000 I have your exact same issue, have you been able to get it up and running? |
@davidqing2000 try the solution mentioned here: #9 is a decetron2 replica with adjusted variables for windows and vc 2019 - does not work for me but maybe works for you? |
When I tried to compile packages in windows server 2012, I always got below errors with Anconda(python 3.6).
1 error detected in the compilation of "C:/Users/ADMINI~1/AppData/Local/Temp/2/t
mpxft_00001ac8_00000000-10_deform_conv_cuda.cpp1.ii".
error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.2\bin
\nvcc.exe' failed with exit status 1
Below is the information of CUDA version for your reference.
nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2018 NVIDIA Corporation
Built on Tue_Jun_12_23:08:12_Central_Daylight_Time_2018
Cuda compilation tools, release 9.2, V9.2.148
The text was updated successfully, but these errors were encountered: