MCPcopy Create free account
hub / github.com/InternLM/InternBootcamp / _get_system_info

Function _get_system_info

verl/scripts/diagnose.py:244–250  ·  view source on GitHub ↗

Get CPU memory capacity, GPU type, GPU memory, and GPU count.

()

Source from the content-addressed store, hash-verified

242
243
244def _get_system_info():
245 """
246 Get CPU memory capacity, GPU type, GPU memory, and GPU count.
247 """
248 cpu_memory = _get_cpu_memory()
249 gpu_count, gpu_info = _get_gpu_info()
250 return {"cpu_memory": cpu_memory, "gpu_count": gpu_count, "gpu_info": gpu_info}
251
252
253def check_system_info():

Callers 1

check_system_infoFunction · 0.85

Calls 2

_get_cpu_memoryFunction · 0.85
_get_gpu_infoFunction · 0.85

Tested by

no test coverage detected