在成功安装和测试使用 GPU 支持编译的 Tensorflow 后,我最近遇到了一个问题。
重新启动机器后,当我尝试运行 Tensorflow 程序时收到以下错误消息:
...
('Extracting', 'MNIST_data/t10k-labels-idx1-ubyte.gz')
modprobe: FATAL: Module nvidia-uvm not found in directory /lib/modules/4.4.0-34-generic
E tensorflow/stream_executor/cuda/cuda_driver.cc:491] failed call to cuInit: CUDA_ERROR_UNKNOWN
I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:140] kernel driver does not appear to be running on this host (caffe-desktop): /proc/driver/nvidia/version does not exist
I tensorflow/core/common_runtime/gpu/gpu_init.cc:92] No GPU devices available on machine.
(0, 114710.45)
(1, 95368.891)
...
(98, 56776.922)
(99, 57289.672)
Run Code Online (Sandbox Code Playgroud)
代码:https : //github.com/llSourcell/autoencoder_demo
问题:为什么重启 Ubuntu 16.04 机器会破坏 Tensorflow?