minimaxir / gpt-2-cloud-run

Text-generation API via GPT-2 for Cloud Run

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could not load dynamic library 'libcuda.so.1'

cosmin-novac opened this issue · comments

commented

When running the docker image, I receive the following cuda error. I have built the image using the normal tensorflow==1.15, but as far as I know cuda is only required for tensorflow on GPU?

2020-01-16 12:58:56.907133: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory
2020-01-16 12:58:56.907168: E tensorflow/stream_executor/cuda/cuda_driver.cc:318] failed call to cuInit: UNKNOWN ERROR (303)
2020-01-16 12:58:56.907187: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (a88f782966c0): /proc/driver/nvidia/version does not exist

Did you find a solution for this?

commented

I'm afraid not, and in the meanwhile I moved away from cloud run

Update: I was getting this error when trying to use Tensorflow with GPU on Ubuntu 18.04, and was able to resolve the issue by following the instructions on https://www.tensorflow.org/install/gpu

I have the same problem with docker image tensorflow==1.15.0