Get CPU memory capacity, GPU type, GPU memory, and GPU count.
()
| 242 | |
| 243 | |
| 244 | def _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 | |
| 253 | def check_system_info(): |
no test coverage detected