Skip to content
Repo

training-gym run

Inspect and manage runs.

Usage:

training-gym run [OPTIONS] COMMAND [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

Show a run’s status and top-level metadata.

Usage:

training-gym run get [OPTIONS] RUN_ID

Options:

  • --verbose: Include reward-over-time and rollout data.
  • -j, --json: Output machine-readable JSON.
  • --help: Show this message and exit.

Examples:

training-gym run get brave-falcon-3fa8
training-gym run get brave-falcon-3fa8 --verbose

Show a run’s framework training recipe.

Usage:

training-gym run params [OPTIONS] RUN_ID

Options:

  • -j, --json: Output machine-readable JSON.
  • --help: Show this message and exit.

Examples:

training-gym run params brave-falcon-3fa8
training-gym run params brave-falcon-3fa8 --json

Show logs for a training run.

Usage:

training-gym run logs [OPTIONS] RUN_ID

Options:

  • -f, --follow: Keep streaming new logs until interrupted or the run stops.
  • --since START: Show logs since a timestamp or relative time, such as 30m or 2h.
  • --until END: Show logs up to a timestamp or relative time, such as 30m or 2h.
  • -n, --tail N: Show at most N recent logs in the requested window. Default 100; range 1 to 20000.
  • --search TEXT: Filter by search text.
  • -j, --json: Output machine-readable JSON.
  • --help: Show this message and exit.

Examples:

training-gym run logs brave-falcon-3fa8 --follow
training-gym run logs brave-falcon-3fa8 --since 30m -j

Download agent traces for a run.

Usage:

training-gym run trace [OPTIONS] RUN_ID

Options:

  • --out DIR: Output directory. Required.
  • --step STEP: Select steps by list or end-exclusive range, or omit to select all steps.
  • --dry-run: Report step/sample count and approximate size without downloading.
  • -y, --yes, --force: Run without pausing for confirmation.
  • -j, --json: Output machine-readable JSON.
  • --help: Show this message and exit.

Examples:

training-gym run trace brave-falcon-3fa8 --out ./traces --step 4-100:2
training-gym run trace brave-falcon-3fa8 --out ./traces --step 1,4,9 --dry-run
training-gym run trace brave-falcon-3fa8 --out ./traces --yes

List training runs and top-level metadata.

Results are sorted by most recently updated.

Usage:

training-gym run list [OPTIONS]

Options:

  • --status STATUS: Filter by status.
  • --model MODEL: Filter by model.
  • --dataset DATASET: Filter by dataset.
  • --recipe RECIPE: Filter by recipe.
  • --group GROUP: Filter by group.
  • --since TIME: Include runs created or updated since this timestamp or relative time.
  • --limit N: Maximum number of runs to return. Default 50; minimum 1.
  • -j, --json: Output machine-readable JSON.
  • --help: Show this message and exit.

Examples:

training-gym run list --status failed --since 24h
training-gym run list --status completed --group nightly-tau-bench -j