We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have encountered the following problem when i tried to execute luarocks install cudnn
CMake Error at /usr/local/Cellar/cmake/3.13.2/share/cmake/Modules/FindCUDA.cmake:696 (message): Specify CUDA_TOOLKIT_ROOT_DIR Call Stack (most recent call first): CMakeLists.txt:7 (FIND_PACKAGE)
The problem was solved by installing cuda from https://developer.nvidia.com But when i run this command for second time, a new problem has arisen.
nvcc fatal : Unsupported gpu architecture 'compute_75' nvcc fatal : Unsupported gpu architecture 'compute_75' CMake Error at THC_generated_THCReduceApplyUtils.cu.o.Release.cmake:219 (message): Error generating /tmp/luarocks_cutorch-scm-1-2575/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCReduceApplyUtils.cu.o CMake Error at THC_generated_THCBlas.cu.o.Release.cmake:219 (message): Error generating /tmp/luarocks_cutorch-scm-1-2575/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCBlas.cu.o nvcc fatal : Unsupported gpu architecture 'compute_75' CMake Error at THC_generated_THCSleep.cu.o.Release.cmake:219 (message): Error generating /tmp/luarocks_cutorch-scm-1-2575/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCSleep.cu.o make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCReduceApplyUtils.cu.o] Error 1 make[2]: *** Waiting for unfinished jobs.... nvcc fatal : Unsupported gpu architecture 'compute_75' make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCBlas.cu.o] Error 1 CMake Error at THC_generated_THCTensorCopy.cu.o.Release.cmake:219 (message): Error generating /tmp/luarocks_cutorch-scm-1-2575/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorCopy.cu.o make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCSleep.cu.o] Error 1 nvcc fatal : Unsupported gpu architecture 'compute_75' CMake Error at THC_generated_THCStorageCopy.cu.o.Release.cmake:219 (message): Error generating /tmp/luarocks_cutorch-scm-1-2575/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCStorageCopy.cu.o make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorCopy.cu.o] Error 1 nvcc fatal : Unsupported gpu architecture 'compute_75' nvcc fatal : Unsupported gpu architecture 'compute_75' make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCStorageCopy.cu.o] Error 1 CMake Error at THC_generated_THCStorage.cu.o.Release.cmake:219 (message): Error generating /tmp/luarocks_cutorch-scm-1-2575/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCStorage.cu.o CMake Error at THC_generated_THCHalf.cu.o.Release.cmake:219 (message): Error generating /tmp/luarocks_cutorch-scm-1-2575/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCHalf.cu.o nvcc fatal : Unsupported gpu architecture 'compute_75' CMake Error at THC_generated_THCTensor.cu.o.Release.cmake:219 (message): Error generating /tmp/luarocks_cutorch-scm-1-2575/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensor.cu.o make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCHalf.cu.o] Error 1 make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCStorage.cu.o] Error 1 make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensor.cu.o] Error 1 make[1]: *** [lib/THC/CMakeFiles/THC.dir/all] Error 2 make: *** [all] Error 2 Error: Failed installing dependency: https://raw.githubusercontent.com/torch/rocks/master/cutorch-scm-1.rockspec - Build error: Failed building.
nvcc fatal : Unsupported gpu architecture 'compute_75' nvcc fatal : Unsupported gpu architecture 'compute_75' CMake Error at THC_generated_THCReduceApplyUtils.cu.o.Release.cmake:219 (message): Error generating /tmp/luarocks_cutorch-scm-1-2575/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCReduceApplyUtils.cu.o
CMake Error at THC_generated_THCBlas.cu.o.Release.cmake:219 (message): Error generating /tmp/luarocks_cutorch-scm-1-2575/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCBlas.cu.o
nvcc fatal : Unsupported gpu architecture 'compute_75' CMake Error at THC_generated_THCSleep.cu.o.Release.cmake:219 (message): Error generating /tmp/luarocks_cutorch-scm-1-2575/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCSleep.cu.o
make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCReduceApplyUtils.cu.o] Error 1 make[2]: *** Waiting for unfinished jobs.... nvcc fatal : Unsupported gpu architecture 'compute_75' make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCBlas.cu.o] Error 1 CMake Error at THC_generated_THCTensorCopy.cu.o.Release.cmake:219 (message): Error generating /tmp/luarocks_cutorch-scm-1-2575/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorCopy.cu.o
make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCSleep.cu.o] Error 1 nvcc fatal : Unsupported gpu architecture 'compute_75' CMake Error at THC_generated_THCStorageCopy.cu.o.Release.cmake:219 (message): Error generating /tmp/luarocks_cutorch-scm-1-2575/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCStorageCopy.cu.o
make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensorCopy.cu.o] Error 1 nvcc fatal : Unsupported gpu architecture 'compute_75' nvcc fatal : Unsupported gpu architecture 'compute_75' make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCStorageCopy.cu.o] Error 1 CMake Error at THC_generated_THCStorage.cu.o.Release.cmake:219 (message): Error generating /tmp/luarocks_cutorch-scm-1-2575/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCStorage.cu.o
CMake Error at THC_generated_THCHalf.cu.o.Release.cmake:219 (message): Error generating /tmp/luarocks_cutorch-scm-1-2575/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCHalf.cu.o
nvcc fatal : Unsupported gpu architecture 'compute_75' CMake Error at THC_generated_THCTensor.cu.o.Release.cmake:219 (message): Error generating /tmp/luarocks_cutorch-scm-1-2575/cutorch/build/lib/THC/CMakeFiles/THC.dir//./THC_generated_THCTensor.cu.o
make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCHalf.cu.o] Error 1 make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCStorage.cu.o] Error 1 make[2]: *** [lib/THC/CMakeFiles/THC.dir/THC_generated_THCTensor.cu.o] Error 1 make[1]: *** [lib/THC/CMakeFiles/THC.dir/all] Error 2 make: *** [all] Error 2
Error: Failed installing dependency: https://raw.githubusercontent.com/torch/rocks/master/cutorch-scm-1.rockspec - Build error: Failed building.
How can i solve this problem?
The text was updated successfully, but these errors were encountered:
I followed this solution and solved the issue by setting the following environment variable export TORCH_CUDA_ARCH_LIST="6.1" before installing cudnn
export TORCH_CUDA_ARCH_LIST="6.1"
Sorry, something went wrong.
No branches or pull requests
I have encountered the following problem when i tried to execute luarocks install cudnn
The problem was solved by installing cuda from https://developer.nvidia.com
But when i run this command for second time, a new problem has arisen.
How can i solve this problem?
The text was updated successfully, but these errors were encountered: