Cluster Validation Suite (CVS) command-line interface (CLI) reference#
2026-10-26
7 min read time
Complete option reference for all cvs commands. For step-by-step usage,
see the how-to guides linked at the end of each section.
Top-level commands#
CVS provides the following top-level commands.
Command |
Description |
|---|---|
|
Generate configuration files or templates. |
|
Browse and copy bundled configuration templates. |
|
Run a test suite (wrapper over pytest). |
|
List available tests. |
|
Cluster health monitoring. |
|
Execute a command on all cluster nodes. |
|
Copy files to cluster nodes in parallel. |
cvs generate#
Run cvs generate with no arguments to list available generators.
Subcommands: cluster_json, heatmap.
cluster_json#
Generate a cluster JSON file from a host list.
Required options (one host source plus credentials):
Option |
Description |
|---|---|
|
Host list: file with one IP/hostname per line, or comma-separated list. Supports ranges such as |
|
Output cluster JSON path. |
|
SSH username for cluster nodes. |
|
SSH private key file. |
Optional:
Option |
Description |
|---|---|
|
Head node IP (defaults to the first host) |
See Configure the Cluster Validation Suite (CVS) cluster file.
heatmap#
Generate an RCCL performance heatmap HTML report from actual vs reference JSON.
Required options:
Option |
Description |
|---|---|
|
Actual results JSON (RCCL graph format). |
|
Golden reference JSON. |
Optional options:
Option |
Description |
|---|---|
|
Output HTML path (default: |
|
Chart title (default: |
|
Include metadata table (actual JSON must have a |
|
Omit the data table from the HTML report. |
cvs config#
Browse and copy bundled configuration templates for test suites and cluster
files. Subcommands: list-dirs, list, copy.
list-dirs [path]#
List config directories grouped by category (config_file_dirs:, cluster_file_dirs:, env_file_dirs:). Optional path scopes to a subtree (for example training).
list [path]#
List template files grouped by parent directory. Optional path scopes to a subdirectory or file prefix (for example platform, rccl).
copy [path] --output PATH#
Copy bundled templates into your workspace.
Option |
Description |
|---|---|
|
Destination file or directory (required). |
|
Copy all templates, preserving directory structure. |
|
Overwrite existing destination files. |
Positional path is optional: omit for bulk operations with --all; specify a template path for a single-file copy (for example platform/host_config.json).
See Configure Cluster Validation Suite (CVS) test suite configuration files and Configure the Cluster Validation Suite (CVS) cluster file.
cvs run#
Positional arguments: test [function ...] — suite name and optional test function names.
Required options:
Option |
Description |
|---|---|
|
Suite-specific test configuration JSON. |
Conditionally required options:
Option |
Description |
|---|---|
|
Cluster JSON: nodes, SSH credentials, and the |
Optional options:
Option |
Description |
|---|---|
|
Shared-filesystem root; run dir is |
|
Pytest HTML report path. Defaults to |
|
Do not pass |
|
Embed CSS and images in the HTML report. Implied when the HTML path is auto-derived. |
|
Text log file. Defaults to |
|
Do not write a pytest log file. |
|
|
|
|
Omit --html and --log-file to use the run-directory defaults. Pass either flag with a path to override. --no-html and --no-log-file suppress generation.
All other pytest flags pass through. Run pytest --help for the full list.
CVS_SCHEDULER overrides scheduler detection with spur, slurm or
bare_metal. CVS_WORKSPACE supplies the workspace when --workspace
is omitted. See Run Cluster Validation Suite (CVS) on managed compute for managed runs.
See Run Cluster Validation Suite (CVS) test suites on AMD Instinct GPU clusters.
cvs list#
Positional argument: [test] — optional suite name.
Optional options:
Option |
Description |
|---|---|
|
Cluster file for parameterized test collection. |
|
Config file for parameterized test collection. |
With no arguments, lists all suites (same catalog as cvs run with no arguments). With a suite name, lists test functions in that suite.
See Run Cluster Validation Suite (CVS) test suites on AMD Instinct GPU clusters.
cvs monitor#
Run cvs monitor with no arguments to list available monitors.
Subcommand: check_cluster_health
check_cluster_health accepts the following options.
Option |
Description |
|---|---|
|
Cluster JSON (recommended; takes precedence over |
|
Number of check iterations. |
|
Sleep between iterations. |
|
Output HTML report path (default: |
Deprecated (use --cluster_file instead): --hosts_file, --username, --password, --key_file.
See Health reports and Live dashboards.
cvs exec#
Run a shell command on all cluster nodes (or a selected subset) in parallel over SSH and print the output grouped by node.
Required options:
Option |
Description |
|---|---|
|
Shell command to run on selected nodes. |
Optional options:
Option |
Description |
|---|---|
|
Cluster JSON (or set |
|
|
|
Per-node command output timeout (default: |
|
Per-node SSH connect timeout (default: |
|
Emit structured JSON on stdout. |
|
Show SSH connection diagnostics. |
See Run ad-hoc commands across all Cluster Validation Suite (CVS) cluster nodes over SSH.
cvs scp#
Copy a local file or directory to the same path on every cluster node in parallel.
Required options:
Option |
Description |
|---|---|
|
Local file or directory to copy. |
Optional options:
Option |
Description |
|---|---|
|
Remote destination (defaults to the same path as the source). |
|
Copy directories recursively. |
|
Cluster JSON (or set |
|
Parallel SCP operations (default: |
See Copy files to all cluster nodes using Cluster Validation Suite (CVS) parallel SCP for more information.