Skip to content

Commit 6b73207

Browse files
authored
[DOCS] Updates example output for start trained model deployment API (#86824)
1 parent adb391b commit 6b73207

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

docs/reference/ml/trained-models/apis/start-trained-model-deployment.asciidoc

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,14 @@ Increasing this value generally increases the throughput.
4747
If this setting is greater than the number of hardware threads
4848
it will automatically be changed to a value less than the number of hardware threads.
4949
Defaults to 1.
50-
50+
+
51+
--
5152
[NOTE]
5253
=============================================
53-
If the sum of `threads_per_allocation` and `number_of_allocations` is greater than the number of
54-
hardware threads then the number of `inference_threads` will be reduced.
54+
If the sum of `threads_per_allocation` and `number_of_allocations` is greater
55+
than the number of hardware threads, the `threads_per_allocation` value is reduced.
5556
=============================================
57+
--
5658

5759
`queue_capacity`::
5860
(Optional, integer)
@@ -103,7 +105,10 @@ The API returns the following results:
103105
"assignment": {
104106
"task_parameters": {
105107
"model_id": "elastic__distilbert-base-uncased-finetuned-conll03-english",
106-
"model_bytes": 265632637
108+
"model_bytes": 265632637,
109+
"threads_per_allocation" : 1,
110+
"number_of_allocations" : 1,
111+
"queue_capacity" : 1024
107112
},
108113
"routing_table": {
109114
"uckeG3R8TLe2MMNBQ6AGrw": {
@@ -112,7 +117,7 @@ The API returns the following results:
112117
}
113118
},
114119
"assignment_state": "started",
115-
"start_time": "2021-11-02T11:50:34.766591Z"
120+
"start_time": "2022-11-02T11:50:34.766591Z"
116121
}
117122
}
118123
----

0 commit comments

Comments
 (0)