Skip to content
This repository was archived by the owner on Aug 28, 2023. It is now read-only.

Commit ff2b9e9

Browse files
authored
[76862] Bump OV package to 22.3, update sample (#138)
1 parent a13b965 commit ff2b9e9

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

docker/dockerfiles/Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ RUN apt update && \
9999
build-essential \
100100
# for sample application notebook
101101
cmake \
102+
# OV dependency
103+
libpugixml-dev \
102104
# for running packages from git commits \
103105
git && \
104106
apt clean && \

docker/dockerfiles/Dockerfile_opensource_image.template

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ ENV DEPENDENCIES " \
6868
unzip \
6969
dpkg-dev \
7070
cmake \
71+
libpugixml-dev \
7172
"
7273

7374
RUN mkdir -p ${INTEL_OPENVINO_DIR}

tutorials/sample_application/main.cpp

+1-5
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,7 @@ int main(int argc, char *argv[]) {
3838
// Set the maximum amount of execution streams for the device, indicating how many inference requests can be run simultaneously
3939
// By default the maximum number is 1, meaning each inference request uses all the execution resources,
4040
// several inference requests are run one after the other
41-
if (device == "CPU") {
42-
core.set_property(device, {{CONFIG_KEY(CPU_THROUGHPUT_STREAMS), std::to_string(num_streams)}});
43-
} else if (device == "GPU") {
44-
core.set_property(device, {{CONFIG_KEY(GPU_THROUGHPUT_STREAMS), std::to_string(num_streams)}});
45-
}
41+
core.set_property(device, {{"NUM_STREAMS", std::to_string(num_streams)}});
4642

4743
// Read model
4844
std::cout << "READING MODEL...";

tutorials/sample_application/tutorial_sample_application.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
"%%bash\n",
158158
"\n",
159159
"# Download and unpack the OpenVINO package\n",
160-
"PACKAGE_LINK=\"https://storage.openvinotoolkit.org/repositories/openvino/packages/2022.2/linux/l_openvino_toolkit_ubuntu20_2022.2.0.7713.af16ea1d79a_x86_64.tgz\"\n",
160+
"PACKAGE_LINK=\"https://storage.openvinotoolkit.org/repositories/openvino/packages/2022.3/linux/l_openvino_toolkit_ubuntu20_2022.3.0.9052.9752fafe8eb_x86_64.tgz\"\n",
161161
"PACKAGE_DIR=\"/tmp/openvino_package\"\n",
162162
"\n",
163163
"rm -rf ${PACKAGE_DIR}\n",

0 commit comments

Comments
 (0)