TheDocumentation Index
Fetch the complete documentation index at: https://docs.baseten.co/llms.txt
Use this file to discover all available pages before exploring further.
truss loops command provides subcommands for the Loops deployment lifecycle: pushing a deployment for a base model, viewing runs and samplers, and listing or deploying checkpoints from a run.
| Command | Description |
|---|---|
push | Provision a session, run, and sampler for a base model. |
deactivate | Shut down the active deployment for a base model. |
view | List active Loops deployments. |
runs view | List Loops runs. |
samplers view | List Loops samplers. |
checkpoints view | List checkpoints for a Loops run. |
checkpoints deploy | Deploy checkpoints from a Loops run. |
push
Provision a Loops session, run, and paired sampler for a base model. If the project already has an active Loops deployment for the base model, the command fails with a validation error.
Arguments
Hugging Face model ID for the base model (for example,
Qwen/Qwen3-8B).Options
}Training project ID to associate the deployment with.
Name of the remote in
.trussrc to deploy to.Logging verbosity.
humanfriendly (default) is pretty-printed; INFO, DEBUG, WARNING produce structured logs.--non-interactive
Disable interactive prompts. Use in CI/automated contexts where stdin isn’t a TTY.
deactivate
Shut down the active Loops deployment for a base model. Saved checkpoints remain accessible after deactivation.
Arguments
Hugging Face model ID of the deployment to shut down.
Options
}Name of the remote in
.trussrc.-y, --yes
Skip the confirmation prompt.
Logging verbosity.
humanfriendly (default) is pretty-printed; INFO, DEBUG, WARNING produce structured logs.--non-interactive
Disable interactive prompts. Use in CI/automated contexts where stdin isn’t a TTY.
view
List the caller’s active Loops deployments. Deployments whose latest status is STOPPED are filtered out server-side.
Options
}Name of the remote in
.trussrc.Logging verbosity.
humanfriendly (default) is pretty-printed; INFO, DEBUG, WARNING produce structured logs.--non-interactive
Disable interactive prompts. Use in CI/automated contexts where stdin isn’t a TTY.
runs view
List Loops runs visible to the caller. Both filters are optional and can be combined; omit both to list every run.
Options
}Filter to a specific run ID.
Filter runs by base model name.
-r, --reverse
Reverse the default order (oldest first) so the most recent run is shown first.
Name of the remote in
.trussrc.Logging verbosity.
humanfriendly (default) is pretty-printed; INFO, DEBUG, WARNING produce structured logs.--non-interactive
Disable interactive prompts. Use in CI/automated contexts where stdin isn’t a TTY.
samplers view
List Loops samplers visible to the caller.
Options
}-r, --reverse
Reverse the default order (oldest first) so the most recent sampler is shown first.
Name of the remote in
.trussrc.Logging verbosity.
humanfriendly (default) is pretty-printed; INFO, DEBUG, WARNING produce structured logs.--non-interactive
Disable interactive prompts. Use in CI/automated contexts where stdin isn’t a TTY.
checkpoints view
List checkpoints for a Loops run. Identify the run with --run-id, or pass --base-model to pick the most recent run for that base model. The two filters are mutually exclusive.
Options
}Loops run ID to list checkpoints for. Mutually exclusive with
--base-model.Base model name. Resolves to the most recent Loops run for that model. Mutually exclusive with
--run-id.Sort checkpoints by checkpoint ID, creation time, size, or type.
Sort order.
Output format.
Name of the remote in
.trussrc.Logging verbosity.
humanfriendly (default) is pretty-printed; INFO, DEBUG, WARNING produce structured logs.--non-interactive
Disable interactive prompts. Use in CI/automated contexts where stdin isn’t a TTY.
checkpoints deploy
Deploy checkpoints from a Loops run as a vLLM-backed inference deployment. You must pass one of --run-id, --checkpoint-ids, or --config.
Options
}Loops run ID. Opens an interactive picker so you can choose checkpoints from the run. Cannot be combined with
--checkpoint-ids.Comma-separated Loops checkpoint IDs (for example,
vL3pQrS8,wK4tUvW9). Bypasses the interactive picker. Use truss loops checkpoints view to find IDs. Cannot be combined with --run-id or --config.Path to a Python file that defines a
DeployCheckpointsConfig. The config must populate checkpoint_details.loops_checkpoint_ids. Cannot be combined with --checkpoint-ids.--dry-run
Render the generated truss config to stdout without deploying.
Name of the remote in
.trussrc.Logging verbosity.
humanfriendly (default) is pretty-printed; INFO, DEBUG, WARNING produce structured logs.--non-interactive
Disable interactive prompts. Use in CI/automated contexts where stdin isn’t a TTY.
Related
- Loops concepts: How sessions, runs, samplers, and checkpoints fit together.
- Loops supported models: Base models you can pass to
truss loops push. - Training SDK reference:
CheckpointListandDeployCheckpointsConfigPython types used with--config.