Skip to content

Get CUDA Information

This gives information about your cuda usage.


GET /device/cuda

Example

CUDA

curl -XGET http://localhost:8882/device/cuda
results = mq.index("my-index").get_cuda_info()

Response: 200 OK

{
   "cuda_devices": [
     {
       "device_id": 0,
       "device_name": "Tesla T4",
       "memory_used": "1.7 GiB",
       "total_memory": "14.6 GiB",
       "utilization": "11.0 %",
       "memory_used_percent": "25.0 %"
     }
   ]
}