Hey, Im trying to use Tensorflow 2.14.0 in my Ubuntu 22.04 but he doesnt recognize my gpu (NVIDIA 4070ti). My cuda version is 11.5, python 3.10.12, pip 22.0.2 and TensorRT 8.5.3.1.
When I try to run, receive this:
E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
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.
W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] 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 https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
W tensorflow/core/common_runtime/gpu/gpu_device.cc:2211] 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 GPU サポート | TensorFlow for how to download and setup the required libraries for your platform.
Skipping registering GPU devices…
Also, when I try run this:
verify available gpu
physical_devices = tf.config.list_physical_devices(‘GPU’)
if len(physical_devices) == 0:
print(“Error”)
else:
# Tensorflow config to use gpu
tf.config.experimental.set_memory_growth(physical_devices[0], True)
He prints the error message