It might be useful to add some flag e.g. --collect-metrics, which dumps in one (or more) files hardware metrics during the proving process.
The most obvious one are GPU metrics. Prob the easiest way to do this is to leverage nvidia-smi which already have watch flags and output formats, etc.
$ nvidia-smi --query-gpu=timestamp,name,utilization.gpu,utilization.memory,memory.used,memory.total,temperature.gpu --format=csv -l 1 > gpu_log.csv
2026/01/06 15:13:03.389, NVIDIA GeForce RTX 5090, 0 %, 0 %, 2 MiB, 32607 MiB, 49
2026/01/06 15:13:03.389, NVIDIA GeForce RTX 5090, 0 %, 0 %, 2 MiB, 32607 MiB, 48
2026/01/06 15:13:04.389, NVIDIA GeForce RTX 5090, 0 %, 0 %, 2 MiB, 32607 MiB, 41
2026/01/06 15:13:04.390, NVIDIA GeForce RTX 5090, 0 %, 0 %, 2 MiB, 32607 MiB, 47
2026/01/06 15:13:04.390, NVIDIA GeForce RTX 5090, 0 %, 0 %, 2 MiB, 32607 MiB, 48
2026/01/06 15:13:04.390, NVIDIA GeForce RTX 5090, 0 %, 0 %, 2 MiB, 32607 MiB, 49
2026/01/06 15:13:04.390, NVIDIA GeForce RTX 5090, 0 %, 0 %, 2 MiB, 32607 MiB, 47
2026/01/06 15:13:04.390, NVIDIA GeForce RTX 5090, 0 %, 0 %, 2 MiB, 32607 MiB, 47
2026/01/06 15:13:04.390, NVIDIA GeForce RTX 5090, 0 %, 0 %, 2 MiB, 32607 MiB, 49
2026/01/06 15:13:04.390, NVIDIA GeForce RTX 5090, 0 %, 0 %, 2 MiB, 32607 MiB, 48
2026/01/06 15:13:05.391, NVIDIA GeForce RTX 5090, 0 %, 0 %, 2 MiB, 32607 MiB, 41
2026/01/06 15:13:05.391, NVIDIA GeForce RTX 5090, 0 %, 0 %, 2 MiB, 32607 MiB, 47
2026/01/06 15:13:05.391, NVIDIA GeForce RTX 5090, 0 %, 0 %, 2 MiB, 32607 MiB, 48
2026/01/06 15:13:05.391, NVIDIA GeForce RTX 5090, 0 %, 0 %, 2 MiB, 32607 MiB, 48
All points above are thinking out loud.
It might be useful to add some flag e.g.
--collect-metrics, which dumps in one (or more) files hardware metrics during the proving process.The most obvious one are GPU metrics. Prob the easiest way to do this is to leverage
nvidia-smiwhich already have watch flags and output formats, etc.Example:
And tailing the .csv file:
Some considerations:
--query-gpustuff makes sense to collect, and maybe supportERE_GPU_METRICSto allow the user to customize-lmsto set the frequency atmslevel if that's useful, but not sure.All points above are thinking out loud.