GPUAlert: A Zero-Instrumentation Process-Boundary Monitor for Diagnosing GPU Training-Job Failures

๐Ÿ“… 2026-07-01
๐Ÿ“ˆ Citations: 0
โœจ Influential: 0
๐Ÿ“„ PDF
๐Ÿค– AI Summary
This work addresses the frequent failure of GPU training tasks due to hardware faults, exacerbated by delayed operational responses and the absence of automated diagnostics. The authors propose a non-intrusive command-line wrapper that monitors job execution at process boundaries without modifying training scripts, automatically dispatching structured email notifications containing categorized failure reasons, persisted logs, and output artifacts. The core contributions are three reliability primitives: pre-launch log assurance, notifier isolation, and non-silent artifact budgeting, which collectively guarantee log durability, accurate exit codes, and controlled attachment sizes. Evaluation across 12 reproducible hardware fault types demonstrates a macro F1 score of 0.997โ€”significantly outperforming keyword matching (0.830) and exit-code inspection (0.133)โ€”with only ~3 ms overhead per task and robust exit-code reporting even when SMTP is unreachable.
๐Ÿ“ Abstract
GPU training jobs fail often, roughly two in five on large production clusters, yet the operator typically learns of a failure only by reconnecting hours later. Experiment trackers require editing the training script and maintaining a cloud connection; the scheduler's mail hook delivers a single status line with no cause and no logs. GPUAlert is a command-line wrapper that monitors any training command at the process boundary, and with no change to that command, emails a structured notification on completion carrying a classified failure cause, durable logs, and output artifacts. The tool is organized around three reliability primitives: a pre-launch log guarantee that establishes the durable destination before the child process can crash, notifier isolation that makes the wrapper's exit code a pure function of the child's status regardless of whether the email succeeds, and a non-silent artifact budget that bounds attachment size without ever dropping output silently. We release a labelled corpus of 474 GPU training logs across 15 failure classes and a reproducible evaluation harness. On the twelve hardware-reproduced classes, the ordered-rule classifier reaches 0.997 macro-F1, against 0.830 for unordered keyword matching and 0.133 for exit-code inspection. Wrapper overhead is a constant approximately 3ms per job; the pre-launch guarantee preserves a log where a shell redirect yields nothing; and across all 15 failure modes the wrapper returns the child's exit code unchanged even when the SMTP relay is unreachable.
Problem

Research questions and friction points this paper is trying to address.

GPU training failures
failure diagnosis
process monitoring
log preservation
job reliability
Innovation

Methods, ideas, or system contributions that make the work stand out.

zero-instrumentation
process-boundary monitoring
failure diagnosis
reliability primitives
GPU training