🚀[Feature Request]: check-pantheon, an active GPU stress check that also works on AMD
A clear and concise description of what you want to happen.
check-dcgmi diag needs DCGM, so a node without it (and any AMD node) has no active GPU check. I'd like to add check-pantheon, which runs a short Pantheon suite (pip install pantheon-gpu) on CUDA or ROCm and maps the result to the usual exit codes: HEALTHY is OK, a fault is CRITICAL, and a missing binary or a timeout is WARN. It would be a new checks/check_pantheon.py that follows check_dcgmi.py, a HealthCheckName entry, the killswitch feature, a README line and a unit test in the style of test_check_dcgmi.py.
A clear and concise description of any alternative solutions or features you've considered, if any.
Leaving it to users to wrap pantheon in a script and feed the exit code into their own alerting. That works, but it skips your sinks and telemetry.
Additional context
I wrote Pantheon, so I'm biased, and I'm asking before writing code because a check touches about eight files. Facts I checked today on 1.2.4: pantheon --test quick --duration 1 --gpu 0 exits 0 on a healthy GPU and 1 when a fault is detected (I used --platform mock and --inject_error to see both; I have not run it on your CI hardware). It needs nvcc or hipcc on the node, since the workloads compile on first use. A pass is evidence, not a guarantee.
If you'd want this, I'll send the PR. If it doesn't fit the project, a no is fine.