stack es ml update-trained-model-deployment cli command
Auth required
elastic stack es ml update-trained-model-deployment \
--model-id <model-id> \
[options]
Update a trained model deployment.
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--model-idstringrequired- The unique identifier of the trained model. Currently, only PyTorch models are supported.
--number-of-allocationsstring- 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.
--adaptive-allocationsstring- 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.
--input-filestring- path to a JSON file to use as command input
--[no-]dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json-
output as JSON