Skip to content

Include commit to support respective TRT version #306

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 11, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions tools/gen_ort_dockerfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,10 @@ def dockerfile_for_linux(output_file):
ARG ONNXRUNTIME_REPO
ARG ONNXRUNTIME_BUILD_CONFIG

RUN git clone -b rel-${ONNXRUNTIME_VERSION} --recursive ${ONNXRUNTIME_REPO} onnxruntime && \
(cd onnxruntime && git submodule update --init --recursive)
# Cherry-pick commit: https://github.com/microsoft/onnxruntime/commit/9dad9af9f9b48c05814d0c2d067d0565e8da6ce8
RUN git clone -b rel-${ONNXRUNTIME_VERSION} --recursive ${ONNXRUNTIME_REPO} onnxruntime \\
&& cd onnxruntime \\
&& git cherry-pick -n 9dad9af9f9b48c05814d0c2d067d0565e8da6ce8

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mc-nv can you add a comment why we need to do cherry-pick and what conditions need to be met so we can remove this in future?

Copy link
Contributor Author

@mc-nv mc-nv Jun 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you chance to review the commit we cherry picking?
microsoft/onnxruntime@9dad9af

"""

if FLAGS.onnx_tensorrt_tag != "":
Expand Down
Loading