Skip to content

Commit 371bdc7

Browse files
committed
pre-commit
1 parent 272273a commit 371bdc7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tools/gen_ort_dockerfile.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
"2025.0", # OpenVINO short version
6565
"2025.0.0.17942.1f68be9f594", # OpenVINO version with build number
6666
),
67-
6867
}
6968

7069

@@ -183,12 +182,14 @@ def dockerfile_for_linux(output_file):
183182
OPENVINO_VERSION_MAP[FLAGS.ort_openvino][1],
184183
)
185184

186-
# Openvino changed the filename of the toolkit in 2025.0.0 so we need to detect this for
185+
# Openvino changed the filename of the toolkit in 2025.0.0 so we need to detect this for
187186
# the release we want to install
188187
openvino_folder_name = "UNKNOWN_FOLDER_NAME"
189188
openvino_toolkit_filename = "UNKNOWN_FILENAME"
190189
if OPENVINO_VERSION_MAP[FLAGS.ort_openvino][0].split(".")[0] >= "2025":
191-
openvino_folder_name = "openvino_toolkit_ubuntu24_${OPENVINO_VERSION_WITH_BUILD_NUMBER}_x86_64"
190+
openvino_folder_name = (
191+
"openvino_toolkit_ubuntu24_${OPENVINO_VERSION_WITH_BUILD_NUMBER}_x86_64"
192+
)
192193
openvino_toolkit_filename = openvino_folder_name + ".tgz"
193194
else:
194195
openvino_folder_name = "l_openvino_toolkit_ubuntu24_${OPENVINO_VERSION_WITH_BUILD_NUMBER}_x86_64"
@@ -213,8 +214,7 @@ def dockerfile_for_linux(output_file):
213214
ENV PKG_CONFIG_PATH=$INTEL_OPENVINO_DIR/runtime/lib/intel64/pkgconfig
214215
ENV PYTHONPATH=$INTEL_OPENVINO_DIR/python/python3.12:$INTEL_OPENVINO_DIR/python/python3:$PYTHONPATH
215216
""".format(
216-
openvino_toolkit_filename,
217-
openvino_folder_name
217+
openvino_toolkit_filename, openvino_folder_name
218218
)
219219

220220
## 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)