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
587addb9
Commit
587addb9
authored
Jan 14, 2025
by
Neelay Shah
Committed by
GitHub
Jan 14, 2025
Browse files
build: adding framework as environment variable. Can use to select tests.
parent
f1f29171
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
container/Dockerfile
container/Dockerfile
+1
-0
No files found.
container/Dockerfile
View file @
587addb9
...
@@ -48,6 +48,7 @@ RUN pip install "git+https://github.com/triton-inference-server/perf_analyzer.gi
...
@@ -48,6 +48,7 @@ RUN pip install "git+https://github.com/triton-inference-server/perf_analyzer.gi
# Backend & Framework Specific Installation
# Backend & Framework Specific Installation
ARG
FRAMEWORK="STANDARD"
ARG
FRAMEWORK="STANDARD"
ARG
TENSORRTLLM_BACKEND_COMMIT=
ARG
TENSORRTLLM_BACKEND_COMMIT=
ENV
FRAMEWORK=${FRAMEWORK}
RUN
--mount
=
type
=
bind
,source
=
./container/deps/requirements.tensorrtllm.txt,target
=
/tmp/requirements.txt
\
RUN
--mount
=
type
=
bind
,source
=
./container/deps/requirements.tensorrtllm.txt,target
=
/tmp/requirements.txt
\
--mount
=
type
=
bind
,source
=
./container/deps/clone_tensorrtllm.sh,target
=
/tmp/clone_tensorrtllm.sh
\
--mount
=
type
=
bind
,source
=
./container/deps/clone_tensorrtllm.sh,target
=
/tmp/clone_tensorrtllm.sh
\
if
[[
"
$FRAMEWORK
"
==
"TENSORRTLLM"
]]
;
then
pip
install
--timeout
=
2000
-r
/tmp/requirements.txt
;
/tmp/clone_tensorrtllm.sh
--tensorrtllm-backend-commit
${
TENSORRTLLM_BACKEND_COMMIT
}
;
fi
if
[[
"
$FRAMEWORK
"
==
"TENSORRTLLM"
]]
;
then
pip
install
--timeout
=
2000
-r
/tmp/requirements.txt
;
/tmp/clone_tensorrtllm.sh
--tensorrtllm-backend-commit
${
TENSORRTLLM_BACKEND_COMMIT
}
;
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