English · 简体中文
A GPU task recovery layer for AI agents, powered by SkyPilot.
A long experiment should outlive the machine running it. GPU Resume connects application checkpoints, persistent storage, and resource rescheduling: when a GPU is reclaimed, the job waits for available resources and resumes from saved progress.
For LLM fine-tuning, model evaluation, and batch inference on Spot GPUs and temporary GPU capacity.
SkyPilot handles resource scheduling and Managed Jobs recovery. The application tracks how far it has progressed. GPU Resume connects application state with compute orchestration. Agents inspect the code, adapt its recovery path, verify interruption behavior, and submit the job.
| Workload | Recovery path |
|---|---|
| LLM fine-tuning / model training | Restore model, optimizer, RNG, and data position |
| Model evaluation / batch inference | Commit independent shards; skip completed work on retry |
| Experiment batches | Keep separate state for each job and continue on available resources |
State lives beyond the machine. Recovery belongs to the workload. Checkpoints live outside the GPU host; the save interval determines the amount of work that may need repeating after an interruption.
Recovery contracts and operating instructions are delivered as a Markdown skill; operations use the gpu-resume CLI. Neither interface is tied to a particular agent.
Agents that can read instructions and execute terminal commands can load SKILL.md. Custom agents can expose the CLI through tool calling.
The installer provides entries in ~/.agents/skills and ~/.claude/skills; other runtimes can use their own skill-loading mechanism.
Or install just the skill:
# Claude Code
/plugin marketplace add Protocol-zero-0/gpu-resume-skill
/plugin install gpu-resume@gpu-resume-skill
# Codex, Cursor, Gemini CLI and other agents
npx skills add Protocol-zero-0/gpu-resume-skillGive your agent the code and a recovery requirement:
Prepare this evaluation as a resumable GPU job with gpu-resume. Skip completed shards and allow up to two minutes of lost progress. Adapt and verify recovery first, then generate the SkyPilot configuration.
Requires Git, Python 3.12+, and uv.
git clone https://github.com/Protocol-zero-0/gpu-resume-skill.git ~/work/gpu-resume-skill
cd ~/work/gpu-resume-skill
python3 scripts/install.py
gpu-resume self-testThe self-test terminates a local example process, restores its checkpoint, and verifies the completed computation.
Keep the checkout in place, add ~/.local/bin to PATH, and load the skills in a new agent session.
To submit a workload, configure a remote SkyPilot service, GPU resources, and independent persistent storage:
gpu-resume connect https://YOUR_API_SERVER
gpu-resume doctor
gpu-resume submit path/to/task.yaml
gpu-resume queue
gpu-resume logs JOB_ID --tail 100 --no-followSubmitted jobs run under the remote service beyond the lifetime of the agent session. Without a connected service, doctor reports setup_required.
- Recovery contract and verification scope: checkpoints, idempotent commits, and first-deployment validation.
- Spot GPU template · SSH pool template: replace resource and storage settings before use.
- SkyPilot · Official agent skill: upstream resource orchestration.
The client and upstream skill are version-pinned. Weekly checks report new releases; upgrades follow validation. Run gpu-resume check-updates for a manual check.
- compound-memory — Cross-session, cross-machine long-term memory for Claude Code and Codex (local-first, zero dependencies).
- evolution-kernel — Open-source AlphaEvolve / FunSearch-style self-improving code loop, sandboxed and ledgered.
- link-rot-scanner — Zero-false-positive dead link auditor for large awesome lists.

