We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5667be0 + 250a25f commit 56d94c7Copy full SHA for 56d94c7
1 file changed
tensorflow_cc/cmake/build_tensorflow.sh.in
@@ -58,8 +58,8 @@ if [ "$cuda_allowed" == true ] && [ "$cuda_available" == true ]; then
58
export TF_CUDA_COMPUTE_CAPABILITIES=${TF_CUDA_COMPUTE_CAPABILITIES:-"3.5,7.0"} # default from configure.py
59
export TF_CUDA_PATHS=${TF_CUDA_PATHS:-"/opt/cuda,/usr/local/cuda,/usr/local,/usr/cuda,/usr"}
60
export TF_CUDA_VERSION="$(nvcc --version | sed -n 's/^.*release \(.*\),.*/\1/p')"
61
- export TF_NCCL_VERSION="$(find / -name 'libnccl.so.*' | tail -n1 | sed -r 's/^.*\.so\.//')"
62
- export TF_CUDNN_VERSION="$(find / -name 'libcudnn.so.*' | tail -n1 | sed -r 's/^.*\.so\.//')"
+ export TF_NCCL_VERSION="$(find /opt /usr -name 'libnccl.so.*' | tail -n1 | sed -r 's/^.*\.so\.//')"
+ export TF_CUDNN_VERSION="$(find /opt /usr -name 'libcudnn.so.*' | tail -n1 | sed -r 's/^.*\.so\.//')"
63
64
# choose the right version of CUDA compiler
65
if [ -z "$GCC_HOST_COMPILER_PATH" ]; then
0 commit comments