Python class
GPUStats
GPUStats
class max.profiler.gpu.GPUStats(memory, utilization, clocks=None)
Bases: Struct
GPU state snapshot: memory, utilization, and clock metrics.
This class provides a complete view of a GPU’s current state, including detailed memory usage statistics, utilization percentages, and current clock rates. It serves as the primary data structure returned by GPU diagnostic queries.
-
Parameters:
-
- memory (MemoryStats)
- utilization (UtilizationStats)
- clocks (ClockStats | None)
clocks
clocks: ClockStats | None
Current and maximum clock rates plus throttle reasons, if available.
memory
memory: MemoryStats
Detailed memory usage statistics for the GPU.
utilization
utilization: UtilizationStats
Current GPU compute and memory utilization percentages.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!