Skip to main content
Kick off and manage model training runs from the command line. Discover recipes and trainable base models, queue new runs (with override flags for the trickier trainingConfig knobs), cancel in-flight jobs, and zoom in on errors without scrolling through raw logs. Alias: inf train The full training loop is paste-able from the terminal:

inf training models

Discover the base models you can fine-tune and (with --judge) the judge models that can score checkpoints.

Options

The table shows each model’s canonical alias, full name, and ID prefix. Pair with --json when scripting to preserve full IDs — those full IDs are what you pass to --base-model / --judge-model on inf training create.

Examples

inf training recipes

Recipes bundle a base model + judge model + GPU plan + full trainingConfig. inf training recipes lists everything visible to the active project (public recipes + the project’s own recipes).

Options

Only super-admins can fork a public recipe into a project recipe. If you need to customize a recipe’s trainingConfig, use the override flags on inf training create rather than trying to clone the recipe.

inf training recipes get

Inspect a specific recipe, including its full trainingConfig. Useful for spotting knobs you may want to override at queue time.

Arguments

Examples

inf training create

Queue a new training run. You can either specify a recipe (recommended — it pre-fills base model, judge, GPU plan, and trainingConfig) or pass individual flags. Override flags let you tweak specific trainingConfig fields without forking the recipe.
Alias: inf training queue

Options

GPU hardware selection is managed server-side and is not configurable from the CLI. When --rubric-version-id is omitted, the CLI fetches the latest version of --rubric before queueing — pin a version if you need reproducibility across re-runs. Prints the new training job ID along with an inf training poll <id> follow-up command. The run status starts as queued while datasets are prepared, then moves to running.

Escape hatches for recipe-pinned configs

The public recipes are opinionated: sample_packing is often true, and num_epochs / max_steps are tuned for the typical dataset size. When your dataset is small or shaped differently, those defaults can cause torchrun to crash (for example, with args.max_steps must be set to a positive value if dataloader does not have a length, was -1 — which is what happens when sample packing collapses a tiny dataset into fewer batches than the FSDP shard count). The --sample-packing, --num-epochs, --max-steps, and --learning-rate flags give you override knobs without needing to fork the recipe (only super-admins can). Pair them with --dry-run to sanity-check the resulting payload before burning a job slot.

Examples

inf training list

Display a table of training runs in the active project.
Alias: inf training ls

Options

The table shows the run ID (8-char prefix), name, status (color-coded), base model, progress (currentStep/totalSteps), current loss, and creation date.

Examples

inf training get

View detailed information about a specific training run. Without --error, prints the full detail view. With --error, dumps only the fields that matter when a run crashed — ideal for triaging failed jobs from CI or a script.

Arguments

Options

Output

The default detail view includes every field on the training job: With --error, the output collapses to just status, statusDetail, and errorMessage.

Examples

inf training cancel

Cancel a queued or running training job. Completed and already-cancelled jobs will reject the call.

Arguments

Options

In an interactive terminal, the CLI asks for confirmation unless -y is passed. In non-TTY environments (CI, scripts) the command refuses to run without -y.

Examples

inf training logs

Stream or view log entries for a training run. Logs are color-coded by level, and each line is prefixed with the training phase it came from (torchrun_init, training, inference_export, …) so you can tell setup crashes apart from training crashes at a glance.

Arguments

Options

Log entries are timestamped and color-coded: errors in red, warnings in yellow, info in blue. In follow mode, the CLI polls for new logs every 3 seconds until you press Ctrl+C.

Examples

inf training poll

Wait for a training run to complete, printing status updates as the status changes.

Arguments

Options

The CLI prints a status line each time the status changes, showing the status, progress, and current loss. It exits automatically when the run reaches completed, failed, cancelled, or timed_out. On a failed exit, the CLI points you at inf training get <id> --error for the full error payload.

Examples