Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
175c1762
"vscode:/vscode.git/clone" did not exist on "72088ee36263dacc5c2ad872386f512262a4a0a8"
Commit
175c1762
authored
Mar 11, 2025
by
Tanmay Verma
Committed by
GitHub
Mar 11, 2025
Browse files
build: Changes to support building trtllm image in CI (#108)
parent
7db61a43
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
11 deletions
+12
-11
container/Dockerfile.tensorrt_llm
container/Dockerfile.tensorrt_llm
+12
-9
container/build.sh
container/build.sh
+0
-2
No files found.
container/Dockerfile.tensorrt_llm
View file @
175c1762
...
...
@@ -78,21 +78,24 @@ RUN cd lib/runtime && \
# Build OpenAI HTTP Service binaries
COPY lib/llm /workspace/lib/llm
COPY
examples/rust /workspace/examples/rust
RUN cd
examples/rust
&& \
COPY
components /workspace/components
RUN cd
components
&& \
cargo build --release && \
cp target/release/http /usr/local/bin/ && \
cp target/release/http /usr/local/bin/
# Build Dynamo Run binaries
COPY launch /workspace/launch
# TODO: Tanmay Add LLMAPI-based feature flag once the engine is ready.
RUN cd launch && \
cargo build --release --features python && \
cp target/release/dynamo-run /usr/local/bin/ && \
cp target/release/llmctl /usr/local/bin/
# TODO: Build dynamo-run
# COPY applications/...
COPY deploy/dynamo/sdk /workspace/deploy/dynamo/sdk
# Generate C bindings
. Note that this is required for TRTLLM backend re-build
# Generate C bindings
for kv cache routing.
COPY lib/bindings /workspace/lib/bindings
RUN cd lib/bindings/c
/
&& \
RUN cd lib/bindings/c && \
cargo build --release --locked && cargo doc --no-deps
# Install uv, create virtualenv for general use, and build dynamo wheel
...
...
container/build.sh
View file @
175c1762
...
...
@@ -331,8 +331,6 @@ fi
if
[[
$FRAMEWORK
==
"TENSORRTLLM"
]]
;
then
if
[
!
-z
${
TENSORRTLLM_PIP_WHEEL_PATH
}
]
;
then
BUILD_ARGS+
=
" --build-arg TENSORRTLLM_PIP_WHEEL_PATH=
${
TENSORRTLLM_PIP_WHEEL_PATH
}
"
else
error
"ERROR: --tensorrtllm-pip-wheel-path is not provided"
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