The strange thing I mention is that I lost processing speed in the CPU after CUDA installation, I use:

os.environ[‘CUDA_VISIBLE_DEVICES’] = ‘-1’

To avoid using the GPU, and the processing speed is slower than it was prior to the installation of CUDA.
Using the commands you tell me:

tf.config.list_physical_devices()

[PhysicalDevice(name=’/physical_device:CPU:0’, device_type=‘CPU’), PhysicalDevice(name=’/physical_device:GPU:0’, device_type=‘GPU’)]

tf.config.list_logical_devices()

[LogicalDevice(name=’/device:CPU:0’, device_type=‘CPU’), LogicalDevice(name=’/device:GPU:0’, device_type=‘GPU’)]