Skip to main content
Update an existing endpoint group

Usage

vastai update endpoint ID [OPTIONS]

Arguments

id
integer
required
id of endpoint group to update

Options

--min_load
number
minimum floor load in perf units/s (token/s for LLms)
--min_cold_load
number
minimum floor load in perf units/s (token/s for LLms), but allow handling with cold workers
--endpoint_state
string
active, suspended, or stopped
--target_util
number
target capacity utilization (fraction, max 1.0, default 0.9)
--cold_mult
number
cold/stopped instance capacity target as multiple of hot capacity target (default 2.5)
--cold_workers
integer
min number of workers to keep ‘cold’ when you have no load (default 5)
--max_workers
integer
max number of workers your endpoint group can have (default 20)
--endpoint_name
string
deployment endpoint name (allows multiple workergroups to share same deployment endpoint)

Description

Example: vastai update endpoint 4242 —min_load 100 —target_util 0.9 —cold_mult 2.0 —endpoint_name “LLama”

Global Options

The following options are available for all commands:
OptionDescription
--url URLServer REST API URL
--retry NRetry limit
--rawOutput machine-readable JSON
--explainVerbose explanation of API calls
--api-key KEYAPI key (defaults to ~/.config/vastai/vast_api_key)