Python module
max.diagnostics.gpu
GPU diagnostics API.
This module allows accessing information about GPU(s) on the system. Information can be accessed synchronously or collected in the background for later retrieval.
Monitoring
GPUDiagContext | Context manager providing unified access to GPU diagnostic information across NVIDIA and AMD hardware. |
|---|---|
BackgroundRecorder | Asynchronous GPU metrics collection and data export capabilities. |
Stats
GPUStats | Comprehensive GPU state snapshot containing memory and utilization metrics. |
|---|---|
MemoryStats | Detailed GPU memory usage statistics including total, free, used, and reserved memory. |
UtilizationStats | GPU compute and memory activity utilization percentages. |
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!