One can list the currently visible devices to Tensorflow with:
from tensorflow.python.client import device_lib
LOCAL_DEVICES = device_lib.list_local_devices()
(see: How to get current available GPUs in tensorflow?)
However, this seems to initialize and allocate these GPUs. How can we list the devices without allocating them?