watch command

  1. Usage
    1. Selecting a run
    2. Filtering by operation and label
    3. Watching remote runs
    4. Watching run by PID
  2. Options

Usage

guild watch [OPTIONS] [RUN]

Watch run output.

By default, the command will watch output from the current running operation.

Selecting a run

You may specify a run using a run ID, a run ID prefix, or a one-based index corresponding to a run returned by the list command.

Filtering by operation and label

Runs may be filtered by operation using ‑‑operation. A run is only included if any part of its full operation name, including the package and model name, matches the value.

Use ‑‑label to only include runs with labels matching a specified value.

‑‑operation and ‑‑label may be used multiple times to expand the runs that are included.

Use ‑‑unlabeled to only include runs without labels. This option may not be used with ‑‑label.

Watching remote runs

Use ‑‑remote to watch a remote run.

REMOTE is the name of a configured remote. Use guild remotes to list available remotes.

For information on configuring remotes, see remotes.

Watching run by PID

You may alternatively specify the process ID of the run to watch, using ‑‑pid. PID may be a process ID or a path to a file containing a process ID.

PID may not be specified with other options.

Options

-o, --operation VAL

Include runs with operations matching VAL.

-l, --label VAL

Include runs with labels matching VAL.

-u, --unlabeled

Include only runs without labels.

-r, --remote REMOTE

Watch a remote run.

--pid PID

Watch the run associated with the specified process. PID may be a process ID or a path to a file containing a process ID.

--help Show command help and exit.
Guild AI version 0.5.1