Files
elasticsearch-js/docs/reference/api/MlUpdateTrainedModelDeploymentRequest.md
2025-05-28 10:02:30 -05:00

1.5 KiB
Raw Blame History

MlUpdateTrainedModelDeploymentRequest [interface-MlUpdateTrainedModelDeploymentRequest]

Name Type Description
adaptive_allocations MlAdaptiveAllocationsSettings Adaptive allocations configuration. When enabled, the number of allocations is set based on the current load. If adaptive_allocations is enabled, do not set the number of allocations manually.
body string ({ [key: string]: any; } & { model_id?: never; number_of_allocations?: never; adaptive_allocations?: never; })
model_id Id The unique identifier of the trained model. Currently, only PyTorch models are supported.
number_of_allocations integer 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. Increasing this value generally increases the throughput. If this setting is greater than the number of hardware threads it will automatically be changed to a value less than the number of hardware threads. If adaptive_allocations is enabled, do not set this value, because it’s automatically set.
querystring { [key: string]: any; } & { model_id?: never; number_of_allocations?: never; adaptive_allocations?: never; } All values in querystring will be added to the request querystring.