DeePMD-kit API

Get local GPU resources from CUDA_VISIBLE_DEVICES enviroment variable.

deepmd.cluster.local.get_resource() → Tuple[str, List[str], Optional[List[int]]]

Get local resources: nodename, nodelist, and gpus.

Tuple[str, List[str], Optional[List[int]]]
nodename, nodelist, and gpus