I am trying:
print("GPU available:", tf.config.list_physical_devices('GPU'))
print("GPU device:", tf.config.list_physical_devices('GPU'))
print("Num GPUs Available: ", len(tf.config.list_physical_devices('GPU')))
print(tf.test.gpu_device_name())
and this is what I get:
GPU available: []
GPU device: []
Num GPUs Available: 0
And I don´t know why. Python 3.12.2, tensorflow 2.16.1, cuda 12.4.