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

fix habanalabs-thunk build error with prior version of synapseai GS-295 #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
5 changes: 3 additions & 2 deletions dockerfiles/triton/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ ENV PYTHONPATH=/root:/usr/lib/habanalabs/
RUN echo "deb https://${ARTIFACTORY_URL}/artifactory/debian jammy main" | tee -a /etc/apt/sources.list && \
wget "https://${ARTIFACTORY_URL}/artifactory/api/gpg/key/public" && \
apt-key add public && rm public && apt-get update && \
apt-get install -y habanalabs-thunk="$VERSION"-"$REVISION" \
apt-get install -y habanalabs-rdma-core="$VERSION"-"$REVISION" \
habanalabs-thunk="$VERSION"-"$REVISION" \
habanalabs-firmware-tools="$VERSION"-"$REVISION" \
habanalabs-graph="$VERSION"-"$REVISION" && \
apt-get autoremove --yes && apt-get clean && rm -rf /var/lib/apt/lists/* && \
Expand Down Expand Up @@ -68,4 +69,4 @@ RUN ln -s /usr/bin/python3.10 /usr/bin/python && wget --no-verbose "${PT_ARTIFAC
rm -rf /root/habanalabs pytorch_modules-v"${PT_VERSION}"_"${VERSION}"_"${REVISION}".tgz /tmp/*

ENV LD_PRELOAD=/lib/x86_64-linux-gnu/libtcmalloc.so.4
ENV TCMALLOC_LARGE_ALLOC_REPORT_THRESHOLD=7516192768
ENV TCMALLOC_LARGE_ALLOC_REPORT_THRESHOLD=7516192768