New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failed call to cuInit: CUDA_ERROR_UNKNOWN: unknown error #24243
Comments
did you find the solution? I am facing similar problem... |
My version of cuDNN was not compatible with tensorflow-gpu 1.12. If it still doesn't work, try rebooting. |
System reboot worked for me |
Reboot worked for me, too |
reboot worked for me, too. But still don't know how to avoid this happening |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
System information
Code
import tensorflow as tf
sess = tf.Session(config=tf.ConfigProto(log_device_placement=True))
Output
2018-12-08 22:20:54.515356: E tensorflow/stream_executor/cuda/cuda_driver.cc:300] failed call to cuInit: CUDA_ERROR_UNKNOWN: unknown error
Device mapping: /job:localhost/replica:0/task:0/device:XLA_GPU:0 -> device: XLA_GPU device /job:localhost/replica:0/task:0/device:XLA_CPU:0 -> device: XLA_CPU device
I have tried
nvidia-smi
and it works as expected:Sat Dec 8 22:24:22 2018
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.130 Driver Version: 384.130 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 105... Off | 00000000:01:00.0 Off | N/A |
| N/A 51C P0 N/A / N/A | 500MiB / 4038MiB | 14% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1357 G /usr/lib/xorg/Xorg 300MiB |
| 0 2937 G compiz 58MiB |
| 0 9866 G ...quest-channel-token=7879820401391808802 92MiB |
| 0 26531 G ...-token=5979D08CF023D5A85228AD97A282F087 47MiB |
+-----------------------------------------------------------------------------+
Also,
nvidia-modprobe
is installed.Even rebooting has not solved the issue.
The text was updated successfully, but these errors were encountered: