You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/model_api/adapters/ovms_adapter.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ See [model server configuration parameters](https://github.com/openvinotoolkit/m
34
34
### Example OVMS startup command
35
35
36
36
```bash
37
-
docker run -d --rm -v /home/user/models:/models -p 9000:9000 openvino/model_server:latest --model_path /models/model1 --model_name model1 --port 9000 --shape auto --nireq 32 --target_device CPU --plugin_config "{\"CPU_THROUGHPUT_STREAMS\": \"CPU_THROUGHPUT_AUTO\"}"
37
+
docker run -d --rm -v /home/user/models:/models -p 8000:8000 openvino/model_server:latest --model_path /models/model1 --model_name model1 --port 8000 --shape auto --nireq 32 --target_device CPU --plugin_config "{\"CPU_THROUGHPUT_STREAMS\": \"CPU_THROUGHPUT_AUTO\"}"
38
38
```
39
39
40
40
> **Note**: In demos, while using `--adapter ovms`, inference options like: `-nireq`, `-nstreams``-nthreads` as well as device specification with `-d` will be ignored.
@@ -49,10 +49,10 @@ To run the demo with model served in OpenVINO Model Server, you would have to pr
49
49
-`<model_name>` - name of the target model (the one specified by `model_name` parameter in the model server startup command)
50
50
-`<model_version>`_(optional)_ - version of the target model specified in the `/versions/<model_version>` path segment (default: latest)
51
51
52
-
Assuming that model server runs on the same machine as the demo, exposes gRPC service on port 9000 and serves model called `model1`, the value of `-m` parameter would be:
52
+
Assuming that model server runs on the same machine as the demo, exposes service on port 8000 and serves model called `model1`, the value of `-m` parameter would be:
53
53
54
-
-`localhost:9000/v2/models/model1` - requesting latest model version
55
-
-`localhost:9000/v2/models/model1/versions/2` - requesting model version number 2 (an optional trailing slash, e.g. `/versions/2/`, is also accepted)
54
+
-`localhost:8000/v2/models/model1` - requesting latest model version
55
+
-`localhost:8000/v2/models/model1/versions/2` - requesting model version number 2 (an optional trailing slash, e.g. `/versions/2/`, is also accepted)
0 commit comments