CH·02CLI reference
gpu clusters create
Create a cluster
Create a cluster
Synopsis
Creates a cluster named NAME (lowercase letters, digits, and hyphens). GPU.ai rents --min-nodes machines right away; the cluster is ready in about 10 to 20 minutes.
--placement spread puts machines on different suppliers where it can. Links between suppliers are slower than inside one data center, so spread clusters suit parallel work such as batch inference, not training that splits one model across machines.
gpu clusters create NAME --gpu GPU_TYPE [flags]
Examples
gpu clusters gpu-types
gpu clusters create train --gpu h100_sxm --gpus-per-node 8 --min-nodes 2 --max-nodes 4
gpu clusters create batch --gpu rtx_a6000 --min-nodes 2 --placement spread --idle-timeout 900
Options
--gpu string GPU type of every machine, such as rtx_a6000; see gpu clusters gpu-types
--gpus-per-node int GPUs per machine (default 1)
-h, --help help for create
--idle-timeout int Seconds a machine may run no GPU work before it is removed (at least 60) (default 600)
--max-nodes int Most machines under load (default: --min-nodes)
--max-price float Highest hourly price per machine, in USD
--min-nodes int Machines kept at all times (default 2)
--placement string cheapest (default) or spread (different suppliers where possible)
--region strings Region to place machines in (repeatable); default: the cheapest anywhere
Options inherited from parent commands
--api-base string API base URL (override with GPUAI_API_BASE env) (default "https://api.gpu.ai/v1")
--debug Enable debug logging to stderr
-o, --output string Output format: table|json (default table on TTY, json otherwise)
SEE ALSO
- gpu clusters - GPU clusters: machines joined as one Kubernetes cluster with Ray