52
52
"2024.1" , # OpenVINO short version
53
53
"2024.1.0.15008.f4afc983258" , # OpenVINO version with build number
54
54
),
55
+ "2024.4.0" : (
56
+ "2024.4" , # OpenVINO short version
57
+ "2024.4.0.16579.c3152d32c9c" , # OpenVINO version with build number
58
+ ),
55
59
}
56
60
57
61
@@ -152,6 +156,8 @@ def dockerfile_for_linux(output_file):
152
156
&& apt-get install -y --no-install-recommends cmake=3.28.* cmake-data=3.28.* \\
153
157
&& cmake --version
154
158
159
+ RUN python3 -m pip install --break-system-packages psutil
160
+
155
161
"""
156
162
if FLAGS .enable_gpu :
157
163
df += """
@@ -181,10 +187,10 @@ def dockerfile_for_linux(output_file):
181
187
df += """
182
188
# Step 1: Download and install core components
183
189
# Ref: https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-archive-linux.html#step-1-download-and-install-the-openvino-core-components
184
- RUN curl -L https://storage.openvinotoolkit.org/repositories/openvino/packages/${OPENVINO_SHORT_VERSION}/linux/l_openvino_toolkit_ubuntu22_ ${OPENVINO_VERSION_WITH_BUILD_NUMBER}_x86_64.tgz --output openvino_${ONNXRUNTIME_OPENVINO_VERSION}.tgz && \
190
+ RUN curl -L https://storage.openvinotoolkit.org/repositories/openvino/packages/${OPENVINO_SHORT_VERSION}/linux/l_openvino_toolkit_ubuntu24_ ${OPENVINO_VERSION_WITH_BUILD_NUMBER}_x86_64.tgz --output openvino_${ONNXRUNTIME_OPENVINO_VERSION}.tgz && \
185
191
tar -xf openvino_${ONNXRUNTIME_OPENVINO_VERSION}.tgz && \
186
192
mkdir -p ${INTEL_OPENVINO_DIR} && \
187
- mv l_openvino_toolkit_ubuntu22_ ${OPENVINO_VERSION_WITH_BUILD_NUMBER}_x86_64/* ${INTEL_OPENVINO_DIR} && \
193
+ mv l_openvino_toolkit_ubuntu24_ ${OPENVINO_VERSION_WITH_BUILD_NUMBER}_x86_64/* ${INTEL_OPENVINO_DIR} && \
188
194
rm openvino_${ONNXRUNTIME_OPENVINO_VERSION}.tgz && \
189
195
(cd ${INTEL_OPENVINO_DIR}/install_dependencies && \
190
196
./install_openvino_dependencies.sh -y) && \
@@ -193,9 +199,9 @@ def dockerfile_for_linux(output_file):
193
199
# Step 2: Configure the environment
194
200
# Ref: https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-archive-linux.html#step-2-configure-the-environment
195
201
ENV OpenVINO_DIR=$INTEL_OPENVINO_DIR/runtime/cmake
196
- ENV LD_LIBRARY_PATH $INTEL_OPENVINO_DIR/runtime/lib/intel64:$LD_LIBRARY_PATH
202
+ ENV LD_LIBRARY_PATH= $INTEL_OPENVINO_DIR/runtime/lib/intel64:$LD_LIBRARY_PATH
197
203
ENV PKG_CONFIG_PATH=$INTEL_OPENVINO_DIR/runtime/lib/intel64/pkgconfig
198
- ENV PYTHONPATH $INTEL_OPENVINO_DIR/python/python3.10:$INTEL_OPENVINO_DIR/python/python3:$PYTHONPATH
204
+ ENV PYTHONPATH= $INTEL_OPENVINO_DIR/python/python3.10:$INTEL_OPENVINO_DIR/python/python3:$PYTHONPATH
199
205
"""
200
206
201
207
## TEMPORARY: Using the tensorrt-8.0 branch until ORT 1.9 release to enable ORT backend with TRT 8.0 support.
0 commit comments