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
7e4eec26
Unverified
Commit
7e4eec26
authored
Aug 12, 2025
by
Ryan McCormick
Committed by
GitHub
Aug 12, 2025
Browse files
fix(build): Pin cuda-python>=12,<13 to avoid trtllm breakage (#2379) (#2396)
parent
18bb779e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
container/Dockerfile.tensorrt_llm
container/Dockerfile.tensorrt_llm
+6
-2
No files found.
container/Dockerfile.tensorrt_llm
View file @
7e4eec26
...
@@ -481,8 +481,12 @@ COPY --from=dev /workspace/target/release/metrics /usr/local/bin/metrics
...
@@ -481,8 +481,12 @@ COPY --from=dev /workspace/target/release/metrics /usr/local/bin/metrics
# NOTE: If a package (tensorrt_llm) exists on both --index-url and --extra-index-url,
# 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
# 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.
# is also specified. So set the configurable index as a --extra-index-url for prioritization.
# locking triton version to 3.3.1 as 3.4.0 breaks tensorrt-llm 1.0.0rc4
# NOTE: locking triton version to 3.3.1 as 3.4.0 breaks tensorrt-llm 1.0.0rc4
RUN uv pip install --extra-index-url "${TENSORRTLLM_INDEX_URL}" "${TENSORRTLLM_PIP_WHEEL}" && \
# NOTE: locking cuda-python version to <13 to avoid breaks with tensorrt-llm 1.0.0rc4. This
# can be removed after https://github.com/NVIDIA/TensorRT-LLM/pull/6703 is merged
# we upgrade to a published pip wheel containing this change.
RUN uv pip install "cuda-python>=12,<13" && \
uv pip install --extra-index-url "${TENSORRTLLM_INDEX_URL}" "${TENSORRTLLM_PIP_WHEEL}" && \
if [ "$ARCH" = "amd64" ]; then \
if [ "$ARCH" = "amd64" ]; then \
pip install "triton==3.3.1"; \
pip install "triton==3.3.1"; \
fi; \
fi; \
...
...
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