Skip to content

Commit b46f0aa

Browse files
committed
Add WAR for CUDA 12.5 build issue (#257)
1 parent d992c5b commit b46f0aa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tools/gen_ort_dockerfile.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,11 @@ def dockerfile_for_linux(output_file):
205205
ARG ONNXRUNTIME_REPO
206206
ARG ONNXRUNTIME_BUILD_CONFIG
207207
208+
# [FIXME: DLIS-6856] WAR to cherry pick fix to build with CUDA 12.5, should be
209+
# removed once we advance to an ORT release that contains the fix.
208210
RUN git clone -b rel-${ONNXRUNTIME_VERSION} --recursive ${ONNXRUNTIME_REPO} onnxruntime && \
209-
(cd onnxruntime && git submodule update --init --recursive)
211+
(cd onnxruntime && git submodule update --init --recursive && \
212+
git cherry-pick -n 362a62390545234d28661307c7a203f2546280ae)
210213
"""
211214

212215
if FLAGS.onnx_tensorrt_tag != "":

0 commit comments

Comments
 (0)