concerto-gpu
GPU monitoring abstractions for Concerto.
This crate provides the [GpuMonitor] trait, which abstracts over the source
of GPU telemetry (NVML, mock, or anything else), and two implementations:
- [
MockGpuMonitor] — a configurable in-memory monitor used in all tests and for development without real GPU hardware. NvmlMonitor— a real NVML-backed monitor, gated behind thenvmlfeature and only available on Linux. See thenvmlmodule for platform caveats.
The trait is deliberately minimal: callers drive snapshots from the outside, which keeps the implementation trivially testable and leaves caching/interval policy to higher layers.