CLI Reference
This page contains a complete reference of all CLI commands available in Oumi.
For detailed guides and examples of specific areas (training, inference, evaluation, etc.), please refer to the corresponding user guides in the documentation.
Training
For a detailed guide on training, see Training .
oumi train
oumi train
Usage: oumi train [OPTIONS]
Train a model.
╭─ Options ─────────────────────────────────────────────────────────────────── ─╮
│ * - -config -c TEXT Path to the configuration │
│ file for training. │
│ [default: None] │
│ [required] │
│ - -log -level -log [ DEBUG | INFO | WARNING | ERR The logging level for the │
│ OR | CRITICAL ] specified command. │
│ - -help Show this message and │
│ exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
Evaluation
For a detailed guide on evaluation, see Evaluation .
oumi evaluate
oumi evaluate
Usage: oumi evaluate [OPTIONS]
Evaluate a model.
╭─ Options ─────────────────────────────────────────────────────────────────── ─╮
│ * - -config -c TEXT Path to the configuration │
│ file for training. │
│ [default: None] │
│ [required] │
│ - -log -level -log [ DEBUG | INFO | WARNING | ERR The logging level for the │
│ OR | CRITICAL ] specified command. │
│ - -help Show this message and │
│ exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
Inference
For a detailed guide on inference, see Inference .
oumi infer
oumi infer
Usage: oumi infer [OPTIONS]
Run inference on a model.
╭─ Options ─────────────────────────────────────────────────────────────────── ─╮
│ - -config -c TEXT Path to the configuration │
│ file for inference. │
│ [default: None] │
│ - -interactive -i Run in an interactive │
│ session. │
│ - -image TEXT File path or URL of an │
│ input image to be used │
│ with image+text VLLMs. │
│ Only used in interactive │
│ mode. │
│ [default: None] │
│ - -log -level -log [ DEBUG | INFO | WARNING | ERRO The logging level for the │
│ R | CRITICAL ] specified command. │
│ - -help Show this message and │
│ exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
Judge
For a detailed guide on judging, see LLM Judge .
oumi judge
oumi judge
Usage: oumi judge [OPTIONS] COMMAND [ARGS]...
Judge datasets, models or conversations.
╭─ Options ─────────────────────────────────────────────────────────────────── ─╮
│ - -help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ────────────────────────────────────────────────────────────────── ─╮
│ conversations Judge a list of conversations. │
│ dataset Judge a dataset. │
│ model Judge the outputs of a model on a dataset. │
╰──────────────────────────────────────────────────────────────────────────────╯
oumi judge conversations
oumi judge conversations
Usage: oumi judge conversations [OPTIONS]
Judge a list of conversations.
╭─ Options ─────────────────────────────────────────────────────────────────── ─╮
│ * - -config -c TEXT Path to the judge │
│ config file │
│ [default: None] │
│ [required] │
│ - -input -file TEXT Path to the input file │
│ (jsonl) │
│ [default: None] │
│ - -output -file TEXT Path to the output file │
│ (jsonl) │
│ [default: None] │
│ - -log -level -log [ DEBUG | INFO | WARNING | ERR The logging level for │
│ OR | CRITICAL ] the specified command. │
│ - -help Show this message and │
│ exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
oumi judge dataset
oumi judge dataset
Usage: oumi judge dataset [OPTIONS]
Judge a dataset.
╭─ Options ─────────────────────────────────────────────────────────────────── ─╮
│ * - -config -c TEXT Path to the judge │
│ config file │
│ [default: None] │
│ [required] │
│ - -dataset -name TEXT Name of the dataset │
│ from the registry │
│ [default: None] │
│ - -dataset -subset TEXT Subset of the dataset │
│ to use, if applicable │
│ [default: None] │
│ - -dataset -split TEXT Split of the dataset │
│ to use. │
│ [default: train] │
│ - -output -file TEXT Path to the output │
│ file (jsonl) │
│ [default: None] │
│ - -log -level -log [ DEBUG | INFO | WARNING | E The logging level for │
│ RROR | CRITICAL ] the specified command. │
│ - -help Show this message and │
│ exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
oumi judge model
oumi judge model
Usage: oumi judge model [OPTIONS]
Judge the outputs of a model on a dataset.
╭─ Options ─────────────────────────────────────────────────────────────────── ─╮
│ * - -config -c TEXT Path to the judge │
│ config file │
│ [default: None] │
│ [required] │
│ * - -config -c TEXT Path to the inference │
│ config file │
│ [default: None] │
│ [required] │
│ - -input -file TEXT Path to the input file │
│ (jsonl) │
│ [default: None] │
│ - -output -file TEXT Path to the output file │
│ (jsonl) │
│ [default: None] │
│ - -log -level -log [ DEBUG | INFO | WARNING | ERR The logging level for │
│ OR | CRITICAL ] the specified command. │
│ - -help Show this message and │
│ exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
Launch
For a detailed guide on launching jobs, see Running Jobs on Clusters .
oumi launch
oumi launch
Usage: oumi launch [OPTIONS] COMMAND [ARGS]...
Launch jobs remotely.
╭─ Options ─────────────────────────────────────────────────────────────────── ─╮
│ - -help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ────────────────────────────────────────────────────────────────── ─╮
│ cancel Cancels a job. │
│ down Turns down a cluster. │
│ run Runs a job. │
│ status Prints the status of jobs launched from Oumi. │
│ stop Stops a cluster. │
│ up Launches a job. │
│ which Prints the available clouds. │
╰──────────────────────────────────────────────────────────────────────────────╯
oumi launch cancel
oumi launch cancel
Usage: oumi launch cancel [OPTIONS]
Cancels a job.
╭─ Options ─────────────────────────────────────────────────────────────────── ─╮
│ * - -cloud TEXT Filter results by this │
│ cloud. │
│ [default: None] │
│ [required] │
│ * - -cluster TEXT Filter results by │
│ clusters matching this │
│ name. │
│ [default: None] │
│ [required] │
│ * - -id TEXT Filter results by jobs │
│ matching this job ID. │
│ [default: None] │
│ [required] │
│ - -log -level -log [ DEBUG | INFO | WARNING | ERR The logging level for the │
│ OR | CRITICAL ] specified command. │
│ - -help Show this message and │
│ exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
oumi launch down
oumi launch down
Usage: oumi launch down [OPTIONS]
Turns down a cluster.
╭─ Options ─────────────────────────────────────────────────────────────────── ─╮
│ * - -cluster TEXT The cluster to turn down. │
│ [default: None] │
│ [required] │
│ - -cloud TEXT If specified, only │
│ clusters on this cloud │
│ will be affected. │
│ [default: None] │
│ - -log -level -log [ DEBUG | INFO | WARNING | ERR The logging level for the │
│ OR | CRITICAL ] specified command. │
│ - -help Show this message and │
│ exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
oumi launch run
oumi launch run
Usage: oumi launch run [OPTIONS]
Runs a job.
╭─ Options ─────────────────────────────────────────────────────────────────── ─╮
│ * - -config -c TEXT Path to the │
│ configuration file │
│ for the job. │
│ [default: None] │
│ [required] │
│ - -cluster TEXT The cluster to use │
│ for this job. If │
│ unspecified, a new │
│ cluster will be │
│ created. │
│ [default: None] │
│ - -detach - -no -detach Run the job in the │
│ background. │
│ [default: │
│ no-detach] │
│ - -log -level -log [ DEBUG | INFO | WARNIN The logging level │
│ G | ERROR | CRITICAL ] for the specified │
│ command. │
│ - -help Show this message │
│ and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
oumi launch status
oumi launch status
Usage: oumi launch status [OPTIONS]
Prints the status of jobs launched from Oumi.
╭─ Options ─────────────────────────────────────────────────────────────────── ─╮
│ - -cloud TEXT Filter results by this │
│ cloud. │
│ [default: None] │
│ - -cluster TEXT Filter results by clusters │
│ matching this name. │
│ [default: None] │
│ - -id TEXT Filter results by jobs │
│ matching this job ID. │
│ [default: None] │
│ - -log -level -log [ DEBUG | INFO | WARNING | ERROR The logging level for the │
│ | CRITICAL ] specified command. │
│ - -help Show this message and │
│ exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
oumi launch stop
oumi launch stop
Usage: oumi launch stop [OPTIONS]
Stops a cluster.
╭─ Options ─────────────────────────────────────────────────────────────────── ─╮
│ * - -cluster TEXT The cluster to stop. │
│ [default: None] │
│ [required] │
│ - -cloud TEXT If specified, only │
│ clusters on this cloud │
│ will be affected. │
│ [default: None] │
│ - -log -level -log [ DEBUG | INFO | WARNING | ERR The logging level for the │
│ OR | CRITICAL ] specified command. │
│ - -help Show this message and │
│ exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
oumi launch up
oumi launch up
Usage: oumi launch up [OPTIONS]
Launches a job.
╭─ Options ─────────────────────────────────────────────────────────────────── ─╮
│ * - -config -c TEXT Path to the │
│ configuration file │
│ for the job. │
│ [default: None] │
│ [required] │
│ - -cluster TEXT The cluster to use │
│ for this job. If │
│ unspecified, a new │
│ cluster will be │
│ created. │
│ [default: None] │
│ - -detach - -no -detach Run the job in the │
│ background. │
│ [default: │
│ no-detach] │
│ - -log -level -log [ DEBUG | INFO | WARNIN The logging level │
│ G | ERROR | CRITICAL ] for the specified │
│ command. │
│ - -help Show this message │
│ and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
oumi launch which
oumi launch which
Usage: oumi launch which [OPTIONS]
Prints the available clouds.
╭─ Options ─────────────────────────────────────────────────────────────────── ─╮
│ - -log -level -log [ DEBUG | INFO | WARNING | ERROR The logging level for the │
│ | CRITICAL ] specified command. │
│ - -help Show this message and │
│ exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
Distributed
For a detailed guide on distributed training, see Training .
oumi distributed
oumi distributed
Usage: oumi distributed [OPTIONS] COMMAND [ARGS]...
A wrapper for torchrun/accelerate with reasonable default values for
distributed training.
╭─ Options ─────────────────────────────────────────────────────────────────── ─╮
│ - -help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ────────────────────────────────────────────────────────────────── ─╮
│ accelerate Starts `accelerate` sub-process w/ automatically configured │
│ common params. │
│ torchrun Starts `torchrun` sub-process w/ automatically configured │
│ common params. │
╰──────────────────────────────────────────────────────────────────────────────╯
oumi distributed accelerate
oumi distributed accelerate
Usage: oumi distributed accelerate [OPTIONS]
Starts `accelerate` sub-process w/ automatically configured common params.
Args: ctx: The Typer context object. level: The logging level for the
specified command.
╭─ Options ─────────────────────────────────────────────────────────────────── ─╮
│ - -log -level -log [ DEBUG | INFO | WARNING | ERROR The logging level for the │
│ | CRITICAL ] specified command. │
│ - -help Show this message and │
│ exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
oumi distributed torchrun
oumi distributed torchrun
Usage: oumi distributed torchrun [OPTIONS]
Starts `torchrun` sub-process w/ automatically configured common params.
Args: ctx: The Typer context object. level: The logging level for the
specified command.
╭─ Options ─────────────────────────────────────────────────────────────────── ─╮
│ - -log -level -log [ DEBUG | INFO | WARNING | ERROR The logging level for the │
│ | CRITICAL ] specified command. │
│ - -help Show this message and │
│ exit. │
╰──────────────────────────────────────────────────────────────────────────────╯
Environment
This command is a great tool for debugging!
oumi env
will list relevant details of your environment setup, including python
version, package versions, and Oumi environment variables.
oumi env
oumi env
Usage: oumi env [OPTIONS]
Prints information about the current environment.
╭─ Options ─────────────────────────────────────────────────────────────────── ─╮
│ - -help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────╯