Skip to content

Commit 70d7733

Browse files
committed
update versions for u24
1 parent ec8ff3f commit 70d7733

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

tools/gen_ort_dockerfile.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@
5252
"2024.1", # OpenVINO short version
5353
"2024.1.0.15008.f4afc983258", # OpenVINO version with build number
5454
),
55+
"2024.4.0": (
56+
"2024.4", # OpenVINO short version
57+
"2024.4.0.16579.c3152d32c9c", # OpenVINO version with build number
58+
),
5559
}
5660

5761

@@ -152,6 +156,8 @@ def dockerfile_for_linux(output_file):
152156
&& apt-get install -y --no-install-recommends cmake=3.28.* cmake-data=3.28.* \\
153157
&& cmake --version
154158
159+
RUN python3 -m pip install --break-system-packages psutil
160+
155161
"""
156162
if FLAGS.enable_gpu:
157163
df += """
@@ -181,10 +187,10 @@ def dockerfile_for_linux(output_file):
181187
df += """
182188
# Step 1: Download and install core components
183189
# 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 && \
185191
tar -xf openvino_${ONNXRUNTIME_OPENVINO_VERSION}.tgz && \
186192
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} && \
188194
rm openvino_${ONNXRUNTIME_OPENVINO_VERSION}.tgz && \
189195
(cd ${INTEL_OPENVINO_DIR}/install_dependencies && \
190196
./install_openvino_dependencies.sh -y) && \
@@ -193,9 +199,9 @@ def dockerfile_for_linux(output_file):
193199
# Step 2: Configure the environment
194200
# Ref: https://docs.openvino.ai/2024/get-started/install-openvino/install-openvino-archive-linux.html#step-2-configure-the-environment
195201
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
197203
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
199205
"""
200206

201207
## TEMPORARY: Using the tensorrt-8.0 branch until ORT 1.9 release to enable ORT backend with TRT 8.0 support.

0 commit comments

Comments
 (0)