torch / cutorch

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

Can't install curtorch #847

Open lochotan4794 opened 3 years ago

lochotan4794 commented 3 years ago

Please help me!. I tried many solutions but the issue still occurs.

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:172: recipe for target 'lib/THC/CMakeFiles/THC.dir/all' failed make[1]: [lib/THC/CMakeFiles/THC.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: [all] Error 2

Error: Build error: Failed building.

lochotan4794 commented 3 years ago

I have installed # git clone https://github.com/torch/distro.git ~/torch --recursive cd ~/torch; bash install-deps; ./install.sh and then luarocks install nn luarocks install cudnn luarocks install torch ==> not success luarocks install cutorch ==> not success

Anyone help me, please! I am on Ubuntu 16.04, cuda 10

bluedevils23 commented 2 years ago

use cuda9 or use nagadomi's patch version of torch https://github.com/nagadomi/distro Patch info: https://github.com/torch/cutorch/issues/834