Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
79337c7d
Unverified
Commit
79337c7d
authored
Jul 21, 2025
by
Ryan McCormick
Committed by
GitHub
Jul 21, 2025
Browse files
build: support custom TRTLLM build for commits not on main branch (#2021)
parent
95dd9426
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
container/Dockerfile.tensorrt_llm
container/Dockerfile.tensorrt_llm
+5
-4
container/build_trtllm_wheel.sh
container/build_trtllm_wheel.sh
+2
-2
No files found.
container/Dockerfile.tensorrt_llm
View file @
79337c7d
...
...
@@ -151,8 +151,7 @@ RUN [ -f /etc/pip/constraint.txt ] && : > /etc/pip/constraint.txt || true && \
fi; \
else \
# Install TensorRT-LLM wheel from the provided index URL, allow dependencies from PyPI
pip install --index-url "${TENSORRTLLM_INDEX_URL}" \
--extra-index-url https://pypi.org/simple \
pip install --extra-index-url "${TENSORRTLLM_INDEX_URL}" \
"${TENSORRTLLM_PIP_WHEEL}" ; \
fi
...
...
@@ -466,8 +465,10 @@ ARG TENSORRTLLM_INDEX_URL="https://pypi.python.org/simple"
COPY --from=dev /workspace/wheels/nixl/*.whl wheelhouse/
COPY --from=wheel_builder /workspace/dist/*.whl wheelhouse/
RUN uv pip install --index-url "${TENSORRTLLM_INDEX_URL}" \
--extra-index-url https://pypi.org/simple \
# NOTE: If a package (tensorrt_llm) exists on both --index-url and --extra-index-url,
# uv will prioritize the --extra-index-url, unless --index-strategy unsafe-best-match
# is also specified. So set the configurable index as a --extra-index-url for prioritization.
RUN uv pip install --extra-index-url "${TENSORRTLLM_INDEX_URL}" \
"${TENSORRTLLM_PIP_WHEEL}" && \
uv pip install ai-dynamo nixl --find-links wheelhouse
...
...
container/build_trtllm_wheel.sh
View file @
79337c7d
...
...
@@ -44,7 +44,7 @@ MAIN_DIR=$(dirname "$(readlink -f "$0")")
(
cd
/tmp
&&
\
# Clone the TensorRT-LLM repository.
if
[
!
-d
"TensorRT-LLM"
]
;
then
git clone
--single-branch
--branch
main
https://github.com/NVIDIA/TensorRT-LLM.git
git clone https://github.com/NVIDIA/TensorRT-LLM.git
fi
cd
TensorRT-LLM
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment