New issue
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
Bazel Build Tensorflow error #25022
Comments
ERROR: /root/.cache/bazel/_bazel_root/750c4c3f7edf43cdaa78f904ca850347/external/local_config_cuda/cuda/BUILD:1249:1: declared output 'external/local_config_cuda/cuda/cuda/lib/libcudnn.so.7' is a dangling symbolic link Now This error i am getting • CUDA 10.0 |
System information
|
I have solved the Problem |
@ajit2678 Thanks! Have a nice day |
I have similar issue when build graph transform. How did you solve yours? |
set clang as cuda compiler to No |
root@gpu-B85M-D3H:/home/gpu/Downloads/tensorflow# bazel build --config=opt --config=cuda --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0" //tensorflow/tools/pip_package:build_pip_package
WARNING: Processed legacy workspace file /home/gpu/Downloads/tensorflow/tools/bazel.rc. This file will not be processed in the next release of Bazel. Please read bazelbuild/bazel#6319 for further information, including how to upgrade.
Starting local Bazel server and connecting to it...
ERROR: /home/gpu/Downloads/tensorflow/tensorflow/tools/pip_package/BUILD:34:1: Illegal ambiguous match on configurable attribute "deps" in //tensorflow/tools/pip_package:included_headers_gather:
@local_config_cuda//cuda:using_nvcc
@local_config_cuda//cuda:using_clang
Multiple matches are not allowed unless one is unambiguously more specialized.
ERROR: Analysis of target '//tensorflow/tools/pip_package:build_pip_package' failed; build aborted:
/home/gpu/Downloads/tensorflow/tensorflow/tools/pip_package/BUILD:34:1: Illegal ambiguous match on configurable attribute "deps" in //tensorflow/tools/pip_package:included_headers_gather:
@local_config_cuda//cuda:using_nvcc
@local_config_cuda//cuda:using_clang
Multiple matches are not allowed unless one is unambiguously more specialized.
INFO: Elapsed time: 4.158s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (198 packages loaded)
currently loading: tensorflow/core/kernels ... (2 packages)
kindly help me to get sloved
The text was updated successfully, but these errors were encountered: