This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Vast.ai CLI

Pinned upstream command-line client for Vast.ai GPU cloud resources

    Runs the unmodified upstream vastai CLI, pinned to 1.10.0 in pyproject.toml. The existing Python dependency workflow defines the update mechanism: bazel run //tools/vastai:uv_lock.update. The component-local lock isolates upstream’s exact dependency pins from the shared Python environment.

    bazel run //tools/vastai -- --help
    bazel run //tools/vastai -- search offers --help
    

    This target does not install software on the host or supply credentials. Commands that contact Vast.ai require network access; resource operations can incur charges. Configure authentication through upstream’s supported credential mechanism before making authenticated requests. Keep API keys out of source, command arguments, and captured output.