Skip to content

Commit

Permalink
Auto-generated API code
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticmachine committed Nov 16, 2023
1 parent a6cae9f commit bacf31f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/reference.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6491,6 +6491,7 @@ client.ml.startTrainedModelDeployment({ model_id })
** *`cache_size` (Optional, number | string)*: The inference cache size (in memory outside the JVM heap) per node for the model.
The default value is the same size as the `model_size_bytes`. To disable the cache,
`0b` can be provided.
** *`deployment_id` (Optional, string)*: A unique identifier for the deployment of the model.
** *`number_of_allocations` (Optional, number)*: The number of model allocations on each node where the model is deployed.
All allocations on a node share the same copy of the model in memory but use
a separate set of threads to evaluate the model.
Expand Down
1 change: 1 addition & 0 deletions src/api/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14107,6 +14107,7 @@ export interface MlStartDatafeedResponse {
export interface MlStartTrainedModelDeploymentRequest extends RequestBase {
model_id: Id
cache_size?: ByteSize
deployment_id?: string
number_of_allocations?: integer
priority?: MlTrainingPriority
queue_capacity?: integer
Expand Down
1 change: 1 addition & 0 deletions src/api/typesWithBodyKey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14376,6 +14376,7 @@ export interface MlStartDatafeedResponse {
export interface MlStartTrainedModelDeploymentRequest extends RequestBase {
model_id: Id
cache_size?: ByteSize
deployment_id?: string
number_of_allocations?: integer
priority?: MlTrainingPriority
queue_capacity?: integer
Expand Down

0 comments on commit bacf31f

Please sign in to comment.