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
c2a9636c
Commit
c2a9636c
authored
Feb 12, 2025
by
Tanmay Verma
Committed by
GitHub
Feb 12, 2025
Browse files
fix: Fix TRTLLM Backend rebuild
parent
42dfe524
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
container/deps/clone_tensorrtllm.sh
container/deps/clone_tensorrtllm.sh
+5
-2
No files found.
container/deps/clone_tensorrtllm.sh
View file @
c2a9636c
...
@@ -117,12 +117,12 @@ show_options
...
@@ -117,12 +117,12 @@ show_options
git clone
${
GIT_REPO
}
git clone
${
GIT_REPO
}
cd
tensorrtllm_backend
cd
tensorrtllm_backend
git checkout
-b
${
TENSORRTLLM_BACKEND_REPO_TAG
}
git checkout
${
TENSORRTLLM_BACKEND_REPO_TAG
}
git submodule update
--init
--recursive
git submodule update
--init
--recursive
git lfs
install
git lfs
install
git lfs pull
git lfs pull
if
[
-z
${
TENSORRTLLM_BACKEND_REBUILD
}
]
;
then
if
[
!
-z
${
TENSORRTLLM_BACKEND_REBUILD
}
]
;
then
# Install cmake
# Install cmake
apt update
-q
=
2
\
apt update
-q
=
2
\
&&
apt
install
-y
gpg wget
\
&&
apt
install
-y
gpg wget
\
...
@@ -133,6 +133,9 @@ if [ -z ${TENSORRTLLM_BACKEND_REBUILD} ]; then
...
@@ -133,6 +133,9 @@ if [ -z ${TENSORRTLLM_BACKEND_REBUILD} ]; then
&&
apt-get
install
-y
--no-install-recommends
cmake
=
3.28.3
*
cmake-data
=
3.28.3
*
\
&&
apt-get
install
-y
--no-install-recommends
cmake
=
3.28.3
*
cmake-data
=
3.28.3
*
\
&&
cmake
--version
&&
cmake
--version
# Install rapidjson
apt
install
-y
rapidjson-dev
# Build the backend
# Build the backend
(
cd
inflight_batcher_llm/src
\
(
cd
inflight_batcher_llm/src
\
&&
cmake
-DCMAKE_INSTALL_PREFIX
:PATH
=
`
pwd
`
/install
-DUSE_CXX11_ABI
=
1 ..
\
&&
cmake
-DCMAKE_INSTALL_PREFIX
:PATH
=
`
pwd
`
/install
-DUSE_CXX11_ABI
=
1 ..
\
...
...
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