/system_stats
简要描述
- 系统统计信息接口
接口状态
- 已完成
请求URL
{{url}}/system_stats
请求方式
- get
成功返回示例
复制{
"system": {
"os": "posix",
"python_version": "3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]",
"embedded_python": false
},
"devices": [
{
"name": "cuda:0 NVIDIA GeForce RTX 2080 Ti : cudaMallocAsync",
"type": "cuda",
"index": 0,
"vram_total": 23266590720,
"vram_free": 13600655680,
"torch_vram_total": 6811549696,
"torch_vram_free": 26970432
}
]
}