Skip to main content
These commands prepare an account before the first run. Conventions covers addresses, shared flags, and exit codes.

monte login

Open a browser to sign in with Google, and store a token on this machine. The same account signs in to the Console.
In CI, where no browser opens, set MONTE_TOKEN instead. Create the token in the Console under Team → Credentials. Every command then runs as that token’s team.

monte logout

Remove the sign-in token from this machine. Running jobs and inference API keys do not change.

monte config

Print the resolved configuration: the account, the data root, the artifact bucket, the connected clouds, and the recipes.
MONTE_RECIPES adds a directory of recipes. MONTE_ENV_ROOTS sets where monte env create writes and where monte env add reads.

monte —version

Print the installed version.

monte cloud connect

Connect a cloud account for BYOC: jobs, artifact storage, and deployments then run in it. The command creates the resources that Connect a Cloud lists, and installs the Monte operator. The operator’s Kubernetes role covers only its namespace. Its cloud identity covers only artifact storage, the registry, and the secret store. It uses the signed-in gcloud, az, or aws session. That account needs Owner, or Editor and Project IAM Admin, on the GCP project; Owner, or Contributor and User Access Administrator, on the Azure subscription; or AdministratorAccess on the AWS account. The operator keeps none of these rights.
In an existing cluster:

monte cloud list

List the connected clouds of the team.

monte cloud show

Show one connected cloud: each resource, its region, the GPU types of each node pool, and the scopes of the operator.

monte cloud upgrade

Upgrade the operator in a connected cloud to the newest signed release. The operator never upgrades on its own. Running jobs finish on the old operator.

monte cloud disconnect

Remove the operator and its identity. Running training and eval jobs in the cloud stop, and no new jobs start. The resources and the data stay in the team’s account. The command refuses while a deployment runs in the cloud.

monte secret set

Store a secret for the team. Every job in that cloud reads it as an environment variable with the same name. A grader reads the API key of a judge model this way. The value comes from a hidden prompt, or from stdin. No flag takes the value, so it never goes into shell history. A second set of the same name replaces the value.

monte secret list

List the secret names of the team, with the store and the time of the last change. Values never print.

monte secret delete

Remove a secret. Jobs that start after the delete do not get the variable. Running jobs keep the value.

monte instance up

Start a GPU instance that stays up across several jobs. --remote starts an instance on its own when none is free. The 24-hour maximum lifetime applies only to instances that monte instance up starts. A --remote job runs until it finishes.

monte instance status

List the GPU instances of the account, with the age, the job, and the time to shutdown.

monte instance down

Stop one GPU instance. A job on it stops, and its run reads as abandoned.

Conventions

Address a Run or a Checkpoint

  • Run IDs count up separately for each kind: train-NN and eval-NN.
  • A run is <experiment>/<run>, for example support-triage/train-07. The run half is the run ID or an alias: eval@N or train@N, the succeeded run at absolute step N.
  • In a command that already names the experiment, a checkpoint is <run>/<step>: monte eval --checkpoint train-07/200 and monte train --parent train-07/200. <step> is absolute, counted from the base model. Aliases do not resolve here.
  • In a command that names no experiment, a checkpoint is <experiment>/<run>/<step>, for example support-triage/train-07/200. The short form <experiment>/<run> names the checkpoint that the run saved at its last step.
  • An environment or a dataset is <name> or <name>@<version>, for example support-escalation@2. A bare name means the newest version.
  • Two baselines share the alias eval@0. monte compare takes the one on the same eval as the other run. Other commands refuse the alias and list the IDs.

Shared Flags

--confirm <experiment> replaces --yes on experiment delete. Its value is the experiment name, typed out.

Exit Codes

Every refusal or failure prints CODE: cause (fix) on stderr. Codes 3 to 20 are refusals or failures. Codes 4 and 17 are reserved.