Skuldur / Classical-Piano-Composer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stuck on I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version

asher-lab opened this issue · comments

I run the code on a VPS, with no GPU, 1 core:

root@sen:~/Classical-Piano-Composer# python3 predict.py
2020-09-12 21:38:55.011241: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-09-12 21:38:55.011490: 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.
2020-09-12 21:38:56.976093: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory
2020-09-12 21:38:56.976328: W tensorflow/stream_executor/cuda/cuda_driver.cc:312] failed call to cuInit: UNKNOWN ERROR (303)
2020-09-12 21:38:56.976412: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (sen): /proc/driver/nvidia/version does not exist
2020-09-12 21:38:56.976853: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2020-09-12 21:38:56.984196: I tensorflow/core/platform/profile_utils/cpu_utils.cc:104] CPU Frequency: 2499995000 Hz
2020-09-12 21:38:56.984414: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x63939a0 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-09-12 21:38:56.984470: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version

It is stuck on I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version

I have the same issue. Too bad there is no answer almost a year later

From a very quick Google search I found that this error usually happens when you run Tensorflow with an incompatible version of CUDA.

I recommend uninstalling CUDA and installing the recommended version for your version of Tensorflow. :)

I'm going to close this issue since it's related to Tensorflow set up and not the code in the repository.