-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update python demo and name of binding
Signed-off-by: Brian McGinn <brian.mcginn@intel.com>
- Loading branch information
1 parent
8059e1d
commit 1d2ba0b
Showing
10 changed files
with
52 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# FROM openvino/model_server:2024.1-gpu | ||
FROM openvino/model_server-build:latest AS builder | ||
|
||
USER root | ||
|
||
WORKDIR / | ||
RUN git clone https://github.com/openvinotoolkit/model_server | ||
|
||
WORKDIR /model_server | ||
|
||
COPY capi-python/ /model_server/src/capi-python | ||
|
||
RUN bazel build --jobs=8 //src/capi-python:ovmspybind.so | ||
|
||
RUN mkdir -p /output && find / -name "ovmspybind.so" -exec cp "{}" /output/ovmspybind.so \; | ||
|
||
FROM scratch as bin | ||
COPY --from=builder /output/ovmspybind.so / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"model_config_list": [ | ||
{ | ||
"config": { | ||
"name": "yolov5s", | ||
"base_path": "models/yolov5s/FP16-INT8", | ||
"layout": "NHWC:NCHW", | ||
"shape": "(1,416,416,3)", | ||
"nireq": 1, | ||
"batch_size": "1", | ||
"plugin_config": { | ||
"PERFORMANCE_HINT": "LATENCY" | ||
}, | ||
"target_device": "CPU" | ||
} | ||
} | ||
] | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.