question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Docker build issue finding libcudart

See original GitHub issue

❓ Questions & Help

After I build the Docker image using your Dockerfile (I am loading into an interactive LSF session with TeslaV100) I get the following error when importing tensorflow:

W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/nvidia/lib:/usr/local/nvidia/lib64
2021-04-11 09:17:26.012963: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
nissy-devcommented, Apr 12, 2021

TF 2.4 depends on CUDA 11.0 and cudnn 8, so we need to update the base image from nvidia/cuda:10.1-cudnn7-devel to nvidia/cuda:11.0-cudnn8-devel-ubuntu18.04.

0reactions
terrafyassin398commented, Mar 10, 2022

did you solve the problem because i encountred the same one ?!

Read more comments on GitHub >

github_iconTop Results From Across the Web

After building TensorFlow from source, seeing libcudart.so ...
First, for the following error: ImportError: libcudart.so.8.0: cannot open shared object file: No such file or directory. make sure your LD_LIBRARY_PATH ...
Read more >
Deepstream-test4 error running container_builder & Azure ...
I can build the container using Graph Composer (Update: ... ERROR gxf/std/extension_loader.cpp@109: libcudart.so.10.2: cannot open shared ...
Read more >
Enabling GPU access with Compose - Docker Documentation
You can find the device ID in the output of nvidia-smi on the host. ... docker compose up Creating network "gpu_default" with the...
Read more >
How to get your CUDA application running in a Docker container
Nowadays, it's almost impossible to find any Machine Learning application ... Docker Community Edition 19.03 or newer (with API v1.40) for ...
Read more >
Tensorflow Docker in Singularity Doesn't See GPU
I'm able to successfully build the singularity image and run ... in singularity as on the machine, so I don't think that's the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found