Update a trained model deployment

  • POST /_ml/trained_models/{model_id}/deployment/_update
  • Cluster privileges: manage_ml

Path Parameters

model_id string Id required

The unique identifier of the trained model. Currently, only PyTorch models are supported.

Query Parameters

number_of_allocations number · default: 1

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.

Response