system
util.system
get_cpu_name
Get CPU name in string
Returns:
-
str(str) –CPU name (ex: "AMD EPYC 7502 32-Core Processor")
get_torch_device_name
Get device name in string
Parameters:
-
device(Union[device, str, int]) –torch device
Returns:
-
str(str) –device name (ex: "A100-PCIE-40GB", "AMD EPYC 7502 32-Core Processor")