runyard
/runyard
Start, watch and judge model training runs tracked by a runyard server. Use when a task involves a training run (diffusion, LoRA, LLM fine-tuning, pretraining) whose metrics, logs or samples live in runyard, or when asked how a run is going, why it failed, or which run is best.
Assessment and security
- Files in this package
- 13
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 3
No signals detected. Repository changed on 10.11.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
What it does and when to use it
Start, watch and judge model training runs tracked by a runyard server. Use when a task involves a training run (diffusion, LoRA, LLM fine-tuning, pretraining) whose metrics, logs or samples live in runyard, or when asked how a run is going, why it failed, or which run is best.
Original author description
Start, watch and judge model training runs tracked by a runyard server. Use when a task involves a training run (diffusion, LoRA, LLM fine-tuning, pretraining) whose metrics, logs or samples live in runyard, or when asked how a run is going, why it failed, or which run is best.
How it works
- Start a run
- Watch and judge
- Report as you go
SKILL.md preview
---
name: runyard
description: Start, watch and judge model training runs tracked by a runyard server. Use when a task involves a training run (diffusion, LoRA, LLM fine-tuning, pretraining) whose metrics, logs or samples live in runyard, or when asked how a run is going, why it failed, or which run is best.
---
# runyard
runyard records each training run's status, metrics, output and sample images. Read it through the MCP server
(`/mcp` on the runyard server) or the `runyard` CLI; both work without an API key unless the server runs with
`RUNYARD_AUTH`, in which case they need it too. Writing (notes, tags) always needs the key.
Setup once:
```sh
claude mcp add --transport http runyard https://<runyard-host>/mcp --header "Authorization: Bearer $RUNYARD_API_KEY"
pip install runyard # the CLI and the Python library
export RUNYARD_SERVER=https://<runyard-host> RUNYARD_API_KEY=ry_...
```
## Start a run
In a script you can change, three lines:
```python
import runyard as ry
run = ry.init(project="my-project", name="lr3e-4", config=vars(args))
run.log({"loss": loss.item(), "lr": sched.get_last_lr()[0]}, step=step) # every N steps
run.image("samples", grid, step=step) # PIL image, numpy array, torch tensor or path
run.alert("loss is NaN", level="error") # also pings the phone
run.artifact(ckpt_dir, kind="checkpoint", step=step) # where the checkpoint is; upload=True sends a copy
```
`run.finish()` is optional: a clean exit marks the run finished, an exception or non-zero exit marks it failed, and a
run that stops sending heartbeats for 5 minutes is marked crashed. The library never stops training: when the server is
down it queues, and `runyard sync` sends what was saved at exit.
Without touching the code:
- Hugging Face `Trainer` / TRL: `callbacks=[runyard.integrations.hf.RunyardCallback()]`, or `report_to="wandb"` with the bridge below.
- Accelerate: `Accelerator(log_with=[runyard.integrations.accelerate.RunyardTracker()])`.
- Lightning, Keras, XGBoost, LightGBM, scikit-learn, torchtune: one line each from `runyard.integrations` (see the README).
- Anything that supports Weights & Biases (ai-toolkit, diffusers examples): install runyard beside it: with no `wandb` package `import wandb` writes to runyard (`RUNYARD_WANDB=1` when wandb is installed too).
- Anything that writes TensorBoard event files (kohya, DeepSpeed): `runyard watch ./logs`.
- Anything that speaks MLflow: `MLFLOW_TRACKING_URI=https://<runyard-host> MLFLOW_TRACKING_TOKEN=$RUNYARD_API_KEY`.
## Watch and judge
1. `list_runs` (MCP) or `runyard runs ls`: what is running, what failed.
2. `get_run`: config, how long it ran, and last/min/max of every metric. Is the loss still going down?
3. `get_metrics` for the curve when the shape matters (plateau, divergence, spikes).
4. `get_samples`: look at the images yourself; numbers alone do not say whether a diffusion model is good.
5. `tail_logs` when a run failed or went silent: the traceback is in the last lines (stderr lines start with `!`).
`list_alerts` shows what the server caught on its own: a NaN loss, a crossed threshold, or "No progress", which
means heartbeats still arrive but the training loop has stopped logging (a hang, not a crash).
6. `compare_runs` to pick between runs: it shows only the config keys that differ.
7. `list_machines` before starting a run, or when one is slow: which GPU is free, and who else is on it.
8. `list_artifacts` (or `runyard artifacts RUN`) for the run's checkpoints and models: which step, where they are,
and a download URL when a copy was uploaded (`runyard artifacts RUN --get NAME`).
Report what you saw, not just the numbers: "loss flat since step 30k, samples sharp but repetitive". Record a verdict
with `add_note`, and mark the keeper with `add_tags` (for example `best`).
## Report as you go
Runs you start land on your agent card, which people watch on a TV (`/#/kiosk`). After each run, call `report`
with what you tried, what came out (the numbers) and what you will try next, and pass the run as `run` (Claude Code
needs it to know which session you are). Tag the runs worth keeping `keep`. If the project has no main metric yet,
set the one you are optimizing with `set_metric` (for example `eval/acc`, `max`); the card's score comes from it,
not from your report. `list_agents` shows what the other agents are doing.
If something is wrong mid-run (NaN loss, exploding grad norm, samples collapsed to noise), say so plainly and
suggest stopping it; do not kill a run yourself unless asked.
Files in this package (13)
- .dockerignore 1 KB
- .gitignore 1 KB
- AUDIT.md 23 KB
- DESIGN.md 7 KB
- Dockerfile 1 KB
- LICENSE 11 KB
- Makefile 1 KB
- README.md 8 KB
- RELEASING.md 3 KB
- SKILL.md 4 KB
- docker-compose.yml 2 KB
- mkdocs.yml 1 KB
- plan.md 18 KB
Versions
The database has no other skills named runyard.
Database snapshot: 13.11.2026 · package version 677965f55423 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 98fine-tuning-expert
Use when fine-tuning LLMs, training custom models, or adapting foundation models for specific tasks. Invoke for configuring LoRA/QLoRA adapters, preparing JSONL training datasets, setting hyperparameters for fine-tuning runs, adapter training, transfer learning, finetuning with… - 100fine-tuning
Use when considering fine-tuning a model. Covers when fine-tuning beats prompting or RAG, dataset construction, LoRA and full fine-tuning, evaluation, and the failure modes that waste the effort. Trigger on "should we fine-tune or just prompt", "fine-tune a small model to… - 100peft-fine-tuning
Parameter-efficient fine-tuning for LLMs using LoRA, QLoRA, and 25+ methods. Use when a user asks to fine-tune a language model, train a custom LLM, adapt a model to their data, use LoRA or QLoRA, fine-tune Llama or Mistral, or train a model on consumer GPUs. Covers PEFT methods… - 100lora-qlora-recipes
Configure LoRA and QLoRA supervised fine-tuning with current best-practice hyperparameters. Use when writing or reviewing a LoRA/QLoRA training configuration, choosing rank/alpha/target modules, or deciding between LoRA, QLoRA, and full fine-tuning. - 100training-hub-guide
Guides users through LLM post-training with Training Hub, including installation, algorithm selection (SFT, OSFT, LoRA), hyperparameter tuning, troubleshooting OOM errors, interpreting loss curves, and leveraging backend-specific features. Use when the user is working with… - 95distributed-llm-pretraining-torchtitan
Provides PyTorch-native distributed LLM pretraining using torchtitan with 4D parallelism (FSDP2, TP, PP, CP). Use when pretraining Llama 3.1, DeepSeek V3, or custom models at scale from 8 to 512+ GPUs with Float8, torch.compile, and distributed checkpointing.