def get_gpus_in_use(max_devices=None):
    """
    Like get_num_gpus_in_use, but returns a list of dictionaries with just
    queried GPU information.
    """
    from turicreate.util import _get_cuda_gpus
    gpu_indices = get_gpu_ids_in_use(max_devices=max_devices)
    gpus = _get_cuda_gpus()
    return [gpus[index] for index in gpu_indices]
def get_gpus_in_use ( max_devices = None ) : from turicreate . util import _get_cuda_gpus gpu_indices = get_gpu_ids_in_use ( max_devices = max_devices ) gpus = _get_cuda_gpus ( ) return [ gpus [ index ] for index in gpu_indices ]
Like get_num_gpus_in_use, but returns a list of dictionaries with just
    queried GPU information.