Arnav Raina
Arnav Raina

Reputation: 11

E tensorflow/stream_executor/cuda/cuda_driver.cc:351] failed call to cuInit: UNKNOWN ERROR (303)

I am using rasa 1.9.6 on ubuntu in Vmware I have been getting this error in both training as well as running the model. It allows training the model but I am unable to run it I need to run my Bot can someone please help

Upvotes: 1

Views: 2978

Answers (1)

user11530462
user11530462

Reputation:

According to rasa forum, the origin of this issue is due to tensorflow and graphics card configuration. GPU’s do not typically provide an advantage for the Rasa models. This can be safely ignored

Installing nvidia-modprobe can solve this issue.

sudo apt install nvidia-modprobe

Other solutions you can try are :

  • Uninstall and install CUDA and cuDNN.
  • Install tensorflow-gpu.
  • Uninstall and install different Nvidia driver versions.

The problem also could be that only some /dev/nvidia* files are present before running Python with sudo, check using $ ls /dev/nvidia*, after running the Device Node verification script the /dev/nvidia-uvm file gets added.

Upvotes: 1

Related Questions