Skip to main content
[Host] Perform a self-test on the specified machine

Usage

vastai self-test machine <machine_id> [--debugging] [--ignore-requirements] [--test-image IMAGE]

Arguments

machine_id
string
required
Machine ID

Options

--debugging
boolean
Enable debugging output
--ignore-requirements
boolean
Ignore the minimum system requirements and run the self test regardless
--test-image
string
Use a custom self-test image for testing custom self-test images. Overrides VAST_SELF_TEST_IMAGE and CUDA mapping.
--support-bundle-dir
string
Directory for failure diagnostic bundles (default: /tmp)
--no-support-bundle
boolean
Do not create a diagnostic tarball when the self-test fails

Description

This command tests if a machine meets specific requirements and runs a series of tests to ensure it’s functioning correctly.

Examples

vast self-test machine 12345
 vast self-test machine 12345 --debugging

Global Options

The following options are available for all commands:
OptionDescription
--url URLServer REST API URL
--retry NRetry limit
--rawOutput machine-readable JSON
--explainVerbose explanation of API calls
--api-key KEYAPI key (defaults to ~/.config/vastai/vast_api_key)