What problem does it solve?
Running tests, evaluations, and benchmarks on a Slurm cluster repeatedly wastes time on queue waits, container imports, and environment installs for every single job. This Skill manages Slurm job submission and monitoring with a persistent allocation mode that allocates nodes once and reuses them across runs.
Core Features & Use Cases
- Persistent Allocation Mode: Allocates nodes once via nohup salloc, imports the container once, installs dependencies once, and reuses the allocation across runs by exporting SLURM environment variables.
- One-Shot sbatch Mode: Submits a fully generated Slurm script via sbatch, polls job status, and reads logs on completion.
- Hang Detection and Failure Diagnosis: Monitors logs for hang indicators, cancels stuck steps without killing the allocation, and maps failures (TIMEOUT, OUT_OF_MEMORY, HANG_DETECTED) to actionable causes.
- Use Case: An engineer running repeated pytest suites for TensorRT-LLM on an H100 cluster uses this Skill to keep a warm allocation alive, so each test run starts immediately without re-importing the container or reinstalling packages.
Quick Start
Submit my generated llama_auto_test.slurm script to the local Slurm cluster in persistent mode and report the pytest results when it finishes.