torch / cutorch

A CUDA backend for Torch7
Other
336 stars 208 forks source link

error when "luarocks install cutorch" #845

Open ivanwu0404 opened 4 years ago

ivanwu0404 commented 4 years ago

dear, this is the error message:

... ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorDivConstantOpIhEhhjLin2ELin1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorDivConstantOpIhEhhjLin2ELi2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorDivConstantOpIhEhhjLin2ELi1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorDivConstantOpIhEhhjLin2ELin2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply1I19TensorDivConstantOpIhEhmLin1EEv10TensorInfoIT0_T1_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply1I19TensorDivConstantOpIhEhmLin2EEv10TensorInfoIT0_T1_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply1I19TensorDivConstantOpIhEhjLin1EEv10TensorInfoIT0_T1_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply1I19TensorDivConstantOpIhEhjLi2EEv10TensorInfoIT0_T1_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply1I19TensorDivConstantOpIhEhjLi1EEv10TensorInfoIT0_T1_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply1I19TensorDivConstantOpIhEhjLin2EEv10TensorInfoIT0_T1_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorMulConstantOpIhEhhmLin1ELin1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorMulConstantOpIhEhhmLin2ELin2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorMulConstantOpIhEhhjLin1ELin1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorMulConstantOpIhEhhjLin1ELi2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorMulConstantOpIhEhhjLin1ELi1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorMulConstantOpIhEhhjLin1ELin2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorMulConstantOpIhEhhjLi2ELin1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorMulConstantOpIhEhhjLi2ELi2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorMulConstantOpIhEhhjLi2ELi1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorMulConstantOpIhEhhjLi2ELin2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorMulConstantOpIhEhhjLi1ELin1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorMulConstantOpIhEhhjLi1ELi2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorMulConstantOpIhEhhjLi1ELi1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorMulConstantOpIhEhhjLi1ELin2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorMulConstantOpIhEhhjLin2ELin1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorMulConstantOpIhEhhjLin2ELi2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorMulConstantOpIhEhhjLin2ELi1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorMulConstantOpIhEhhjLin2ELin2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply1I19TensorMulConstantOpIhEhmLin1EEv10TensorInfoIT0_T1_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply1I19TensorMulConstantOpIhEhmLin2EEv10TensorInfoIT0_T1_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply1I19TensorMulConstantOpIhEhjLin1EEv10TensorInfoIT0_T1_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply1I19TensorMulConstantOpIhEhjLi2EEv10TensorInfoIT0_T1_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply1I19TensorMulConstantOpIhEhjLi1EEv10TensorInfoIT0_T1_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply1I19TensorMulConstantOpIhEhjLin2EEv10TensorInfoIT0_T1_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorSubConstantOpIhEhhmLin1ELin1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorSubConstantOpIhEhhmLin2ELin2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorSubConstantOpIhEhhjLin1ELin1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorSubConstantOpIhEhhjLin1ELi2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorSubConstantOpIhEhhjLin1ELi1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorSubConstantOpIhEhhjLin1ELin2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorSubConstantOpIhEhhjLi2ELin1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorSubConstantOpIhEhhjLi2ELi2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorSubConstantOpIhEhhjLi2ELi1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorSubConstantOpIhEhhjLi2ELin2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorSubConstantOpIhEhhjLi1ELin1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorSubConstantOpIhEhhjLi1ELi2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorSubConstantOpIhEhhjLi1ELi1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorSubConstantOpIhEhhjLi1ELin2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorSubConstantOpIhEhhjLin2ELin1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorSubConstantOpIhEhhjLin2ELi2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorSubConstantOpIhEhhjLin2ELi1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorSubConstantOpIhEhhjLin2ELin2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply1I19TensorSubConstantOpIhEhmLin1EEv10TensorInfoIT0_T1_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply1I19TensorSubConstantOpIhEhmLin2EEv10TensorInfoIT0_T1_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply1I19TensorSubConstantOpIhEhjLin1EEv10TensorInfoIT0_T1_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply1I19TensorSubConstantOpIhEhjLi2EEv10TensorInfoIT0_T1_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply1I19TensorSubConstantOpIhEhjLi1EEv10TensorInfoIT0_T1_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply1I19TensorSubConstantOpIhEhjLin2EEv10TensorInfoIT0_T1_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorAddConstantOpIhEhhmLin1ELin1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorAddConstantOpIhEhhmLin2ELin2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorAddConstantOpIhEhhjLin1ELin1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorAddConstantOpIhEhhjLin1ELi2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorAddConstantOpIhEhhjLin1ELi1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorAddConstantOpIhEhhjLin1ELin2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorAddConstantOpIhEhhjLi2ELin1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorAddConstantOpIhEhhjLi2ELi2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorAddConstantOpIhEhhjLi2ELi1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorAddConstantOpIhEhhjLi2ELin2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorAddConstantOpIhEhhjLi1ELin1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorAddConstantOpIhEhhjLi1ELi2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorAddConstantOpIhEhhjLi1ELi1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorAddConstantOpIhEhhjLi1ELin2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorAddConstantOpIhEhhjLin2ELin1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorAddConstantOpIhEhhjLin2ELi2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorAddConstantOpIhEhhjLin2ELi1EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply2I19TensorAddConstantOpIhEhhjLin2ELin2EEv10TensorInfoIT0_T2_ES2_IT1_S4_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply1I19TensorAddConstantOpIhEhmLin1EEv10TensorInfoIT0_T1_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply1I19TensorAddConstantOpIhEhmLin2EEv10TensorInfoIT0_T1_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply1I19TensorAddConstantOpIhEhjLin1EEv10TensorInfoIT0_T1_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply1I19TensorAddConstantOpIhEhjLi2EEv10TensorInfoIT0_T1_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply1I19TensorAddConstantOpIhEhjLi1EEv10TensorInfoIT0_T1_ES4T is out of range. .minnctapersm will be ignored ptxas warning : Value of threads per SM for entry _Z21kernelPointwiseApply1I19TensorAddConstantOpIhEhjLin2EEv10TensorInfoIT0_T1_ES4T is out of range. .minnctapersm will be ignored CMakeFiles/Makefile2:177: recipe for target 'lib/THC/CMakeFiles/THC.dir/all' failed make[1]: [lib/THC/CMakeFiles/THC.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: [all] Error 2

Error: Build error: Failed building.

i know the last part

"CMakeFiles/Makefile2:177: recipe for target 'lib/THC/CMakeFiles/THC.dir/all' failed make[1]: [lib/THC/CMakeFiles/THC.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: [all] Error 2

Error: Build error: Failed building."

may mean i need to update my torch, but the other message above the last part confused me. i dont know how to fix it, please help me

ly1950 commented 4 years ago

same question.do you solve it?

ivanwu0404 commented 4 years ago

@ly1950 i finally use pytorch instead of torch7, you can see this: https://github.com/itayhubara/BinaryNet.pytorch