CH·02CLI reference
gpu workspaces
Cloud IDE workspaces: a browser editor, terminal and Jupyter on a GPU
Cloud IDE workspaces: a browser editor, terminal and Jupyter on a GPU
Synopsis
A workspace is a VS Code compatible editor with a terminal, and JupyterLab, on a GPU machine, opened in your browser with your GPU.ai login. No SSH needed.
The folder /workspace, including Python packages you install into it, is saved when the workspace stops and restored when it starts, on any GPU type. A workspace stops by itself after --idle-timeout seconds without use. You pay for GPU time while it runs and for the saved folder's storage.
Workspaces are off by default. On a deployment that does not offer them, these commands fail with this server has no such endpoint. See the workspaces guide.
Options
-h, --help help for workspaces
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 - GPU.ai command-line interface
- gpu workspaces create - Create and start a workspace
- gpu workspaces delete - Delete a workspace and its saved files
- gpu workspaces get - Show a workspace: status, saved files, machines, and cost
- gpu workspaces gpu-types - List the GPUs workspaces can start on now
- gpu workspaces list - List workspaces
- gpu workspaces open - Print a one-time link into the workspace or one of its apps
- gpu workspaces start - Start a stopped workspace, optionally on another GPU
- gpu workspaces stop - Save the folder and stop the workspace (stops GPU billing)
- gpu workspaces templates - List the starting environments
- gpu workspaces update - Change a workspace's idle period or max price