CH·02CLI reference

gpu functions delete

Delete a function, releasing its machines

Delete a function, releasing its machines

Synopsis

Deletes a function. Its machines are released, so billing for them stops, and its queued runs are cancelled. Runs that have already finished are not affected.

The delete happens immediately. There is no confirmation prompt, matching gpu keys delete and gpu webhooks delete. Calling the function again from Python creates it again under the same name.

gpu functions delete <function> [flags]

Examples

gpu functions delete embed

Options

  -h, --help   help for delete

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 functions - Inspect and manage your functions (Python functions that run on a GPU.ai GPU)

← The gpu CLI