Tensorflow GPU 无法在 Ubuntu 20.04 上运行(错误消息)

Tensorflow GPU 无法在 Ubuntu 20.04 上运行(错误消息)

因此,我尝试学习了几个教程(最新的是这个) 在 Ubuntu 20.04 上为 TensorFlow 设置 GPU 支持,我总是收到以下消息:

joris@joris-N751JK:~$ python3.9
Python 3.9.10 (main, Jan 15 2022, 18:17:56) 
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
>>> tf.config.list_physical_devices('GPU')
2022-02-25 00:13:21.489977: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:936] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2022-02-25 00:13:21.628965: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:936] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2022-02-25 00:13:21.629374: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:936] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
[PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU')]

这是什么意思以及如何解决?

相关内容