config
Dealing with interactions with configuration and environment variables.
Module
Functions
def get_gpu_metadata() ‑> Tuple[Optional[str], int]:
Retrieve details about GPUs if available.
Uses tools available in the appropriate backend, to find GPUs that are usable by the backend.
Returns: a tuple of GPU name and count.