awesome-semantic-segmentation-pytorch icon indicating copy to clipboard operation
awesome-semantic-segmentation-pytorch copied to clipboard

error: command 'E:\\CUDA10.0\\NVIDIA GPU Computing Toolkit\\CUDA\\v10.0\\bin\\nvcc.exe' failed with exit status 2

Open renmmmmmm opened this issue 5 years ago • 6 comments

E:/Anaconda3/envs/awesome/lib/site-packages/torch/include\c10/util/Half.h(324): note: 参见“c10::Half”的声明 E:/Anaconda3/envs/awesome/lib/site-packages/torch/include\THC/generic/THCTensorMathReduce.h(17): warning C4190: “THCudaHalfTensor_maxall”有指定的 C 链接,但返回了与 C 不兼容的 UDT“c10::Half” E:/Anaconda3/envs/awesome/lib/site-packages/torch/include\c10/util/Half.h(324): note: 参见“c10::Half”的声明 E:/Anaconda3/envs/awesome/lib/site-packages/torch/include\THC/generic/THCTensorMathReduce.h(38): warning C4190: “THCudaHalfTensor_medianall”有指定的 C 链接,但返回了与 C 不兼容的 UDT“c10::Half” E:/Anaconda3/envs/awesome/lib/site-packages/torch/include\c10/util/Half.h(324): note: 参见“c10::Half”的声明 E:/Anaconda3/envs/awesome/lib/site-packages/torch/include\THC/THCNumerics.cuh(83): warning C4804: “/”: 在操作中使用类 型“bool”不安全 error: command 'E:\CUDA10.0\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe' failed with exit status 2 python=3.6 cuda=10.0 pytorch=1.2 vs2015 Does anyone know how to solve this problem?

renmmmmmm avatar Oct 31 '19 02:10 renmmmmmm

vs2017 +Try to remove code #include <THC/THCAtomics.cuh> in ca_cuda.cu and psa_cuda.

renmmmmmm avatar Oct 31 '19 10:10 renmmmmmm

1 error detected in the compilation of "C:/Users/SFYU/AppData/Local/Temp/tmpxft_00002dfc_00000000-10_syncbn_cuda.cpp1.ii". error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe' failed with exit status 1 How to solve it? pytorch=1.2.0 @renmmmmmm @Tramac @roclark

chl916185 avatar Nov 02 '19 06:11 chl916185

hello,i use cuda8.0+cndnn5.1 solve it ,u can try.

zhengyangdiyiruiwen avatar Dec 05 '19 03:12 zhengyangdiyiruiwen

E:/Anaconda3/envs/awesome/lib/site-packages/torch/include\c10/util/Half.h(324): note: 参见“c10::Half”的声明 E:/Anaconda3/envs/awesome/lib/site-packages/torch/include\THC/generic/THCTensorMathReduce.h(17): warning C4190: “THCudaHalfTensor_maxall”有指定的 C 链接,但返回了与 C 不兼容的 UDT“c10::Half” E:/Anaconda3/envs/awesome/lib/site-packages/torch/include\c10/util/Half.h(324): note: 参见“c10::Half”的声明 E:/Anaconda3/envs/awesome/lib/site-packages/torch/include\THC/generic/THCTensorMathReduce.h(38): warning C4190: “THCudaHalfTensor_medianall”有指定的 C 链接,但返回了与 C 不兼容的 UDT“c10::Half” E:/Anaconda3/envs/awesome/lib/site-packages/torch/include\c10/util/Half.h(324): note: 参见“c10::Half”的声明 E:/Anaconda3/envs/awesome/lib/site-packages/torch/include\THC/THCNumerics.cuh(83): warning C4804: “/”: 在操作中使用类 型“bool”不安全 error: command 'E:\CUDA10.0\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe' failed with exit status 2 python=3.6 cuda=10.0 pytorch=1.2 vs2015 Does anyone know how to solve this problem?

hello,have u solve it?

FlyingAnt2018 avatar Mar 24 '20 02:03 FlyingAnt2018

@chl916185 have u solve it?

XDhughie avatar Jun 24 '20 08:06 XDhughie

sorry, i have forgot the question,

maybe solved

在 2020-06-24 16:40:38,"hughie" [email protected] 写道:

@chl916185 have u solve it?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

FlyingAnt2018 avatar Jun 24 '20 08:06 FlyingAnt2018