You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: Skipping 'tensorflow/tools/pip_package:build_pip_package': error loading package 'tensorflow/tools/pip_package': Encountered error while reading extension file 'cuda/build_defs.bzl': no such package '@local_config_cuda//cuda': Traceback (most recent call last):
File "/home/mist/tensorflow/third_party/gpus/cuda_configure.bzl", line 1266
_create_local_cuda_repository(repository_ctx)
File "/home/mist/tensorflow/third_party/gpus/cuda_configure.bzl", line 1033, in _create_local_cuda_repository
_find_libs(repository_ctx, cuda_config)
File "/home/mist/tensorflow/third_party/gpus/cuda_configure.bzl", line 615, in _find_libs
_find_cuda_lib("cudart", repository_ctx, cpu_value, c..."], ...)
File "/home/mist/tensorflow/third_party/gpus/cuda_configure.bzl", line 589, in _find_cuda_lib
find_lib(repository_ctx, [("%s/%s" % (based...))], ...)))
File "/home/mist/tensorflow/third_party/gpus/cuda_configure.bzl", line 566, in find_lib
auto_configure_fail(("No library found under: " + ",...)))
File "/home/mist/tensorflow/third_party/gpus/cuda_configure.bzl", line 325, in auto_configure_fail
fail(("\n%sCuda Configuration Error:%...)))
Cuda Configuration Error: No library found under: /usr/local/cuda/lib64/libcudart.so.11.6
WARNING: Target pattern parsing failed.
ERROR: error loading package 'tensorflow/tools/pip_package': Encountered error while reading extension file 'cuda/build_defs.bzl': no such package '@local_config_cuda//cuda': Traceback (most recent call last):
File "/home/mist/tensorflow/third_party/gpus/cuda_configure.bzl", line 1266
_create_local_cuda_repository(repository_ctx)
File "/home/mist/tensorflow/third_party/gpus/cuda_configure.bzl", line 1033, in _create_local_cuda_repository
_find_libs(repository_ctx, cuda_config)
File "/home/mist/tensorflow/third_party/gpus/cuda_configure.bzl", line 615, in _find_libs
_find_cuda_lib("cudart", repository_ctx, cpu_value, c..."], ...)
File "/home/mist/tensorflow/third_party/gpus/cuda_configure.bzl", line 589, in _find_cuda_lib
find_lib(repository_ctx, [("%s/%s" % (based...))], ...)))
File "/home/mist/tensorflow/third_party/gpus/cuda_configure.bzl", line 566, in find_lib
auto_configure_fail(("No library found under: " + ",...)))
File "/home/mist/tensorflow/third_party/gpus/cuda_configure.bzl", line 325, in auto_configure_fail
fail(("\n%sCuda Configuration Error:%...)))
Cuda Configuration Error: No library found under: /usr/local/cuda/lib64/libcudart.so.11.6
this Error is so confusing to me and seems such problem exist for cuda10.1 before.
The text was updated successfully, but these errors were encountered:
QuinVIVER
changed the title
failed to compile with cuda11.6. Is this version still uncompatible with it?
failed to compile with cuda11.6. Is this version still incompatible with it?
May 22, 2022
System information
I follow exactly the instruction and still fails to compile it on cuda11.6, here's the command I run and the log.
export TF_NEED_CUDA=1
export TF_NEED_TENSORRT=0
export TF_CUDA_PATHS="/usr/include,/usr/lib/x86_64-linux-gnu,/usr/local/cuda/include,/usr/local/cuda/lib64,/usr/local/cuda/bin,/usr/local/cuda"
export TF_CUDA_VERSION=11.6
export TF_CUBLAS_VERSION=11
export TF_CUDNN_VERSION=8
export TF_NCCL_VERSION=2
export TF_CUDA_COMPUTE_CAPABILITIES="6.0,6.1,7.0,7.5,8.0,8.6"
export TF_ENABLE_XLA=1
export TF_NEED_HDFS=0
export CC_OPT_FLAGS="-march=native -mtune=native"
yes "" | ./configure
ERROR: Skipping 'tensorflow/tools/pip_package:build_pip_package': error loading package 'tensorflow/tools/pip_package': Encountered error while reading extension file 'cuda/build_defs.bzl': no such package '@local_config_cuda//cuda': Traceback (most recent call last):
File "/home/mist/tensorflow/third_party/gpus/cuda_configure.bzl", line 1266
_create_local_cuda_repository(repository_ctx)
File "/home/mist/tensorflow/third_party/gpus/cuda_configure.bzl", line 1033, in _create_local_cuda_repository
_find_libs(repository_ctx, cuda_config)
File "/home/mist/tensorflow/third_party/gpus/cuda_configure.bzl", line 615, in _find_libs
_find_cuda_lib("cudart", repository_ctx, cpu_value, c..."], ...)
File "/home/mist/tensorflow/third_party/gpus/cuda_configure.bzl", line 589, in _find_cuda_lib
find_lib(repository_ctx, [("%s/%s" % (based...))], ...)))
File "/home/mist/tensorflow/third_party/gpus/cuda_configure.bzl", line 566, in find_lib
auto_configure_fail(("No library found under: " + ",...)))
File "/home/mist/tensorflow/third_party/gpus/cuda_configure.bzl", line 325, in auto_configure_fail
fail(("\n%sCuda Configuration Error:%...)))
Cuda Configuration Error: No library found under: /usr/local/cuda/lib64/libcudart.so.11.6
WARNING: Target pattern parsing failed.
ERROR: error loading package 'tensorflow/tools/pip_package': Encountered error while reading extension file 'cuda/build_defs.bzl': no such package '@local_config_cuda//cuda': Traceback (most recent call last):
File "/home/mist/tensorflow/third_party/gpus/cuda_configure.bzl", line 1266
_create_local_cuda_repository(repository_ctx)
File "/home/mist/tensorflow/third_party/gpus/cuda_configure.bzl", line 1033, in _create_local_cuda_repository
_find_libs(repository_ctx, cuda_config)
File "/home/mist/tensorflow/third_party/gpus/cuda_configure.bzl", line 615, in _find_libs
_find_cuda_lib("cudart", repository_ctx, cpu_value, c..."], ...)
File "/home/mist/tensorflow/third_party/gpus/cuda_configure.bzl", line 589, in _find_cuda_lib
find_lib(repository_ctx, [("%s/%s" % (based...))], ...)))
File "/home/mist/tensorflow/third_party/gpus/cuda_configure.bzl", line 566, in find_lib
auto_configure_fail(("No library found under: " + ",...)))
File "/home/mist/tensorflow/third_party/gpus/cuda_configure.bzl", line 325, in auto_configure_fail
fail(("\n%sCuda Configuration Error:%...)))
Cuda Configuration Error: No library found under: /usr/local/cuda/lib64/libcudart.so.11.6
this Error is so confusing to me and seems such problem exist for cuda10.1 before.
The text was updated successfully, but these errors were encountered: