kempnerpulse.compute.result¶
Compute-layer output types — the Compute → Present contract.
A ComputedRecord wraps the per-sample CanonicalRecord (so the presenter
still has every metric value) together with the derived signals the Compute
layer produces: the Real Utilization score, the workload classification, health,
and a few convenience derivations. Presenters and the CSV writer consume
ComputedRecord; they convert canonical fractions to display units (×100,
bytes/s → GB/s, …) themselves.
Classes
The coarse five-way rollup used for summary colouring. |
|
One fully-computed per-GPU sample: canonical metrics + derived signals. |
|
The twelve mutually-exclusive workload categories. |
- class kempnerpulse.compute.result.BottleneckCategory[source]¶
Bases:
EnumThe coarse five-way rollup used for summary colouring.
- IDLE = 'idle'¶
- COMPUTE = 'compute'¶
- IO = 'io'¶
- MEMORY = 'memory'¶
- MIXED = 'mixed'¶
- class kempnerpulse.compute.result.WorkloadClass[source]¶
Bases:
EnumThe twelve mutually-exclusive workload categories.
The value is the exact human-readable status label.
bottleneckgives the coarse rollup;labelis the display string.- IDLE = 'idle'¶
- TENSOR_HEAVY_COMPUTE = 'tensor-heavy compute'¶
- TENSOR_COMPUTE = 'tensor compute'¶
- FP64_HPC_COMPUTE = 'FP64 / HPC compute'¶
- IO_OR_DATA_LOADING = 'I/O or data-loading'¶
- MEMORY_BOUND = 'memory-bound'¶
- COMPUTE_HEAVY = 'compute-heavy'¶
- COMPUTE_ACTIVE = 'compute-active'¶
- MEMORY_ACTIVE = 'memory-active'¶
- BUSY_LOW_SM_USE = 'busy, low SM use'¶
- LOW_UTILIZATION = 'low utilization'¶
- MIXED_OR_MODERATE = 'mixed / moderate'¶
- property bottleneck: BottleneckCategory¶
- class kempnerpulse.compute.result.ComputedRecord[source]¶
Bases:
objectOne fully-computed per-GPU sample: canonical metrics + derived signals.
- record: CanonicalRecord¶
- workload_class: WorkloadClass¶
- bottleneck: BottleneckCategory¶
- __init__(record, gpu_index, gpu_uuid, model_name, real_util, preset_name, weights, workload_class, bottleneck, health, health_style, memory_total_mebibytes=None, memory_used_fraction=None, pcie_replay_rate_per_second=None)¶
- Parameters:
record (CanonicalRecord)
gpu_index (int)
gpu_uuid (str)
model_name (str | None)
real_util (float)
preset_name (str)
workload_class (WorkloadClass)
bottleneck (BottleneckCategory)
health (str)
health_style (str)
memory_total_mebibytes (float | None)
memory_used_fraction (float | None)
pcie_replay_rate_per_second (float | None)
- Return type:
None