Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install genai-pa into SDK container #6942

Merged
merged 5 commits into from
Mar 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Dockerfile.sdk
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then \
--jar-install-path /workspace/install/java-api-bindings; \
fi

RUN pip3 install hatch build \
&& cd /workspace/client/src/c++/perf_analyzer/genai-perf \
&& hatch version $(cat /workspace/TRITON_VERSION) \
&& python3 -m build --wheel --outdir /workspace/install/python
############################################################################
## Create sdk container
############################################################################
Expand Down Expand Up @@ -211,6 +215,8 @@ RUN pip3 install --upgrade numpy pillow attrdict && \
"tritonclient-*linux*.whl" | xargs printf -- '%s[all]' | \
xargs pip3 install --upgrade

RUN pip3 install install/python/genai_perf-*.whl

# Install DCGM
RUN if [ "$TRITON_ENABLE_GPU" = "ON" ]; then \
[ "$(uname -m)" != "x86_64" ] && arch="sbsa" || arch="x86_64" && \
Expand Down
Loading