Skip to main content
Update an existing autoscale worker group.

Signature

Parameters

int
required
ID of the worker group to update.
Optional[float]
Minimum load (requests/sec) below which idle workers are scaled down.
Optional[float]
Target worker utilization ratio (0.0-1.0).
Optional[float]
Multiplier applied to warm worker count for pre-warming cold workers.
Optional[int]
Number of pre-warmed (cold) workers to keep ready.
Optional[int]
Number of test workers to spin up during scaling evaluation.
Optional[float]
Minimum GPU RAM in GiB required per worker.
Optional[str]
Hash of the instance template to use for workers.
Optional[int]
ID of the instance template to use for workers.
Optional[str]
Query string for filtering available GPU offers.
bool
default:"False"
Disable the default search query filters when finding offers.
Optional[str]
Additional CLI arguments passed when launching worker instances.
Optional[str]
Human-readable name for the endpoint.
Optional[int]
ID of the endpoint this worker group belongs to.

Returns

str, Result from the API call.

Example