training-chain

Aggregate SLURM job IDs, logs, and sacct data into a deterministic ASCII training chain.

1|Updated Apr 23, 2026
One-click install
npx skills add https://github.com/KangOxford/auto-quant-research --skill training-chain
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: training-chain
Source: https://github.com/KangOxford/auto-quant-research/tree/main/execution-layer/skills/training-chain
Command: npx skills add https://github.com/KangOxford/auto-quant-research --skill training-chain

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Training Chain Visualizer renders the full ancestry of SLURM training jobs, turning scattered logs and squeue outputs into a single, easy-to-read chain from the root smoke test to the current running job, with step numbers, W&B slugs, exit states, and transition reasons.

Core Features & Use Cases

  • Visualizes the end-to-end training chain for long HPC experiments to simplify debugging and auditability.
  • Tracks statuses, transitions, and checkpoint events across multiple jobs to reveal bottlenecks and restarts.
  • Use Case: verify that a resumed chain correctly connects from the initial root job to the latest checkpoint, including any auto-resume transitions.

Quick Start

Run the training-chain skill with a target SLURM job ID to render the full execution ancestry from root to current.

Frequently Asked Questions about training-chain

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I visualize SLURM job ancestry for long-running trainings?

You can visualize SLURM job ancestry by aggregating job IDs, logs, and sacct data into a deterministic ASCII chain. This renders the full execution sequence from the root smoke test to the current running job, including step numbers and exit states.

Can I trace auto-resume transitions and checkpoint events across multiple SLURM jobs?

Yes, tracing auto-resume transitions across multiple SLURM jobs is done by resolving inputs from squeue, sacct, and logs. The visualization reveals checkpoint events and transition reasons to simplify debugging bottlenecks and restarts.

What is the best way to audit walltime interruptions in HPC experiments?

Auditing walltime interruptions is best done by rendering a complete training chain visualization from root to current. It aggregates scattered logs and squeue outputs into a fixed-format sequence showing exit states and W&B slugs.

Does this visualization tool require any specific dependencies to render SLURM job history?

Rendering SLURM job history requires no specific external dependencies. It directly resolves job data from standard HPC tools like squeue, sacct, and existing log files to produce the fixed-format ASCII chain.

Why does my resumed training chain not correctly connect to the latest checkpoint?

A resumed training chain fails to connect correctly when auto-resume transitions or checkpoint events are not properly traced. Visualizing the complete ancestry from root to current verifies the connection and reveals transition reasons.

When do I need to generate a training chain visualization for my HPC experiments?

You need to generate a training chain visualization when auditing long HPC experiments or diagnosing walltime interruptions. It turns scattered logs and squeue outputs into a single, easy-to-read sequence tracking statuses and restarts.