CH·02CLI reference

gpu workspaces create

Create and start a workspace

Create and start a workspace

Synopsis

Creates a workspace named NAME (lowercase letters, digits, and hyphens) and starts it. The first start installs the template into the workspace, which takes a few minutes; later starts restore it. You are the owner: only you can open it.

gpu workspaces create NAME --gpu GPU_TYPE [flags]

Examples

gpu workspaces create dev --gpu rtx_a6000
gpu workspaces create tune --gpu a100_80gb --template fine-tuning --idle-timeout 3600

Options

      --gpu string         GPU type, such as rtx_a6000; see gpu gpu-types
      --gpu-count int      GPUs (default 1)
  -h, --help               help for create
      --idle-timeout int   Seconds without use before it saves and stops (at least 120) (default 1800)
      --max-price float    Highest hourly GPU price, in USD
      --offering string    Place it on this offering id
      --template string    Starting environment (default pytorch); see gpu workspaces templates

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 workspaces - Cloud IDE workspaces: a browser editor, terminal and Jupyter on a GPU

← The gpu CLI