close
Skip to main content

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

GPUDiagContextContext manager providing unified access to GPU diagnostic information across NVIDIA and AMD hardware.
BackgroundRecorderAsynchronous GPU metrics collection and data export capabilities.

Stats

GPUStatsComprehensive GPU state snapshot containing memory and utilization metrics.
MemoryStatsDetailed GPU memory usage statistics including total, free, used, and reserved memory.
UtilizationStatsGPU compute and memory activity utilization percentages.