xrun: a Rust CLI for launching GPU training runs across six platforms, built for agents

The author, who trains 3D computer vision and classical models, built xrun to automate the repetitive chores of renting GPUs, uploading data, monitoring training, and retrieving checkpoints. It is a Rust command-line tool with a Python Textual terminal interface, driven by a single YAML manifest that defines the platform, data, command, and artifacts to return. The tool supports vast.ai, Kaggle, Lightning AI, Google Colab, SSH servers, and the local machine, and it can destroy instances early on idle time or metric plateaus to control costs. Workflows often start with a cheap smoke test on a free Kaggle GPU before a full run on vast.ai, and every read command offers JSON output so an AI agent can inspect metrics and rerun experiments. Metrics and events are reported through a small Python hook in the training script, and a skill for Claude Code or Codex lets those agents operate the tool directly.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in