I am trying to setup tensorflow to work with my GPU, on my miniconda venv, but it is impossible.
I am suspecting that there is some issue with the newest version of Ubuntu, since the Tensorflow-GPU setup “broke” after I downloaded some Ubuntu updates lately.
I followed the instructions given in Tensorflow guide over and over again, but when I try to check at the last step if the GPU setup is successful, I get these errors:
2023-06-01 18:21:18.752684: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-06-01 18:21:19.805241: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
import tensorflow as tf
print(tf.config.list_physical_devices(‘GPU’))
2023-06-01 18:21:33.528426: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at linux/Documentation/ABI/testing/sysfs-bus-pci at v6.0 · torvalds/linux · GitHub
2023-06-01 18:21:33.613683: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1956] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at Install TensorFlow with pip for how to download and setup the required libraries for your platform.
Skipping registering GPU devices…
PC /OS specs:
Device: HP Pavilion Gaming Laptop
Ubuntu 22.04.2 LTS
memory: 16 GB
GPU: NVIDIA GeForce GTX 1660 Ti
nvidia-smi output:
| NVIDIA-SMI 525.105.17 Driver Version: 525.105.17 CUDA Version: 12.0 |
I was wondering if I am doing anything wrong, or if there is any issue regarding the latest Ubuntu updates (since I did not face any similar errors before).