Skip to content

Commit 598e96a

Browse files
Add endpoint-id to workergroup params
1 parent 0e7501e commit 598e96a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

documentation/serverless/create-endpoints-and-workergroups.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ curl --location 'https://console.vast.ai/api/v0/endptjobs/' \
106106

107107
- `api_key`(string): The Vast API key associated with the account that controls the Endpoint. The key can also be placed in the header as an Authorization: Bearer.
108108
- `endpoint_name`(string): The name of the Endpoint that the Workergroup will be created under.
109-
109+
OR
110+
- 'endpoint_id' (integer): The id of the Endpoint that the Workergroup will be created under.
110111
AND one of the following:
111112

112113
- `template_hash` (string): The hexadecimal string that identifies a particular template. 
@@ -123,7 +124,6 @@ OR
123124
- `launch_args` (string): A command-line style string containing additional parameters for instance creation that will be parsed and applied when the autoscaler creates new workers. This allows you to customize instance configuration beyond what's specified in templates.
124125

125126

126-
127127
**Optional** (Default values will be assigned if not specified):
128128

129129
- `gpu_ram` (integer): The amount of GPU memory (VRAM) in gigabytes that your model or workload requires to run. This parameter tells the serverless engine how much GPU memory your model needs. Default value is 24.

0 commit comments

Comments
 (0)