Skip to content
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

TensorFlow throws missing libdevice errors #129

Closed
yankcrime opened this issue Jan 8, 2024 · 0 comments · Fixed by #130
Closed

TensorFlow throws missing libdevice errors #129

yankcrime opened this issue Jan 8, 2024 · 0 comments · Fixed by #130

Comments

@yankcrime
Copy link
Contributor

Using TensorFlow results in the following error:

2024-01-08 21:30:47.213628: W external/local_xla/xla/service/gpu/llvm_gpu_backend/gpu_backend_lib.cc:504] Can't find libdevice directory ${CUDA_DIR}/nvvm/libdevice. This may result in compilation or runtime failures, if the program we try to run uses routines from libdevice.
Searched for CUDA in the following directories:
  ./cuda_sdk_lib
  /usr/local/cuda-12.2
  /usr/local/cuda
  /opt/conda/lib/python3.11/site-packages/tensorflow/python/platform/../../../nvidia/cuda_nvcc
  /opt/conda/lib/python3.11/site-packages/tensorflow/python/platform/../../../../nvidia/cuda_nvcc

I've tested this with v1.5_cuda-12.0_ubuntu-22.04 as well as building locally from master and it's easily reproducible by following the TensorBoard Getting Started example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant