Since last requirements.txt update on RASAHQ/rasa repo, I systematically get the following messaging in terminal when starting rasa x interface :
E tensorflow/stream_executor/cuda/cuda_driver.cc:318] failed call to cuInit: UNKNOWN ERROR (303)
It does not prevent any functionality of rasa to fail though.
My researches towards cuda driver problems didn’t bring any satisfactory answers so far, any idea ?
I am also seeing the same issue when I start the RASA Core server.
ds_botserver | 2019-11-27 19:22:49 INFO root - Starting Rasa server on http://localhost:5005
gds_botserver | 2019-11-27 19:22:54.942209: E tensorflow/stream_executor/cuda/cuda_driver.cc:318] failed call to cuInit: UNKNOWN ERROR (303)
As mentioned in the previous post it does not prevent any functionality. The server works fine but the message will give false impression to the deployment team that the servers are not up correctly.
It seems to come from a fallback from GPU to CPU processing. I am wondering if somehow the tensorflow-gpu package is getting installed versus the “regular” tensorflow.
2020-01-07 16:57:06 INFO root - Starting Rasa server on http://localhost:5005
2020-01-07 16:57:13.234759: E tensorflow/stream_executor/cuda/cuda_driver.cc:318]
failed call to cuInit: UNKNOWN ERROR (303)
Just a side point, but regarding your question about tensorflow-gpu: for version 1.15.0 of TensorFlow (which is the one referenced in requirements.txt currently) there is no tensorflow-gpu package, it’s a single package for CPU and GPU (see here for details: Install TensorFlow with pip | TensorFlow)
i get the same error with tensorflow version 2.1.0
2020-03-04 17:57:56.088639: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library ‘libnvinfer.so.6’; dlerror: libnvinfer.so.6: cannot open shared object file: No such file or directory
2020-03-04 17:57:56.088723: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library ‘libnvinfer_plugin.so.6’; dlerror: libnvinfer_plugin.so.6: cannot open shared object file: No such file or directory
2020-03-04 17:57:56.088739: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:30] Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
2020-03-04 17:57:57.396943: E tensorflow/stream_executor/cuda/cuda_driver.cc:351] failed call to cuInit: UNKNOWN ERROR (303)
2020-03-04 17:58:04 INFO rasa.nlu.selectors.response_selector - Retrieval intent parameter was left to its default value. This response selector will be trained on training examples combining all retrieval intents.