CH·02CLI reference
gpu functions cancel
Cancel a run
Cancel a run
Synopsis
Cancels a run. A queued run is cancelled at once. A running one is stopped on its machine within a few seconds, and stops adding to the run's cost. The machine stays warm for the function's idle timeout, as after any call.
Cancelling a run that has already finished changes nothing, so the command is safe to repeat. There is no confirmation prompt.
gpu functions cancel <function> <run-id> [flags]
Examples
gpu functions cancel embed 7b2e4d1c-0a9f-4e3b-8c6d-5f4a3b2c1d0e
Options
-h, --help help for cancel
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)