Skip to content

Commit 462b3a5

Browse files
mc-nvyinggeh
andauthored
Include commit to support respective TRT version (#306)
* Include missed commit * Adding required changes to the build. * Update tools/gen_ort_dockerfile.py Co-authored-by: Yingge He <[email protected]> --------- Co-authored-by: Yingge He <[email protected]>
1 parent cf4cd89 commit 462b3a5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tools/gen_ort_dockerfile.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,10 @@ def dockerfile_for_linux(output_file):
275275
ARG ONNXRUNTIME_REPO
276276
ARG ONNXRUNTIME_BUILD_CONFIG
277277
278-
RUN git clone -b rel-${ONNXRUNTIME_VERSION} --recursive ${ONNXRUNTIME_REPO} onnxruntime && \
279-
(cd onnxruntime && git submodule update --init --recursive)
278+
# Cherry-pick commit: https://github.com/microsoft/onnxruntime/commit/9dad9af9f9b48c05814d0c2d067d0565e8da6ce8
279+
RUN git clone -b rel-${ONNXRUNTIME_VERSION} --recursive ${ONNXRUNTIME_REPO} onnxruntime \\
280+
&& cd onnxruntime \\
281+
&& git cherry-pick -n 9dad9af9f9b48c05814d0c2d067d0565e8da6ce8
280282
"""
281283

282284
if FLAGS.onnx_tensorrt_tag != "":

0 commit comments

Comments
 (0)