Cluster Validation Suite (CVS) command-line interface (CLI) reference#
2026-09-24
5 min read time
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 (cluster.json).
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#
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 (cluster.json).
cvs run#
Positional arguments: test [function ...] — suite name and optional test function names.
Required options:
Option |
Description |
|---|---|
|
Cluster JSON (nodes, SSH credentials, backend). |
|
Suite-specific test configuration JSON. |
Optional options:
Option |
Description |
|---|---|
|
Shared-filesystem root; run dir is |
|
Pytest HTML report output path. |
|
Embed CSS and images in the HTML report. |
|
Text log file (parent directories created automatically). |
|
|
|
|
All other pytest flags pass through. Run pytest --help for the full list.
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
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#
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 via SSH.
cvs scp#
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.