Skip to content

Commit

Permalink
Move libsodium install
Browse files Browse the repository at this point in the history
This moves the install up a couple lines.
  • Loading branch information
stevegrubb authored and dtrifiro committed Sep 27, 2024
1 parent ec1f663 commit d16bf47
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile.rocm.ubi
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,11 @@ ENV PATH=$VIRTUAL_ENV/bin:$PATH
RUN microdnf install -y --setopt=install_weak_deps=0 --nodocs gcc && \
microdnf clean all

# Install libsodium for Tensorizer encryption
RUN --mount=type=bind,from=libsodium-builder,src=/usr/src/libsodium,target=/usr/src/libsodium \
cd /usr/src/libsodium \
&& make install

RUN --mount=type=bind,from=build_amdsmi,src=/install,target=/install/amdsmi/ \
--mount=type=bind,from=build_flashattention,src=/install,target=/install/flashattention \
--mount=type=bind,from=build_vllm,src=/workspace/dist,target=/install/vllm/ \
Expand All @@ -200,11 +205,6 @@ RUN umask 002 && \
chmod g+rwx $HOME /usr/src /workspace && \
chmod 0664 /var/log/rocm_smi_lib

# Install libsodium for Tensorizer encryption
RUN --mount=type=bind,from=libsodium-builder,src=/usr/src/libsodium,target=/usr/src/libsodium \
cd /usr/src/libsodium \
&& make install

COPY LICENSE /licenses/vllm.md
COPY examples/*.jinja /app/data/template/

Expand Down

0 comments on commit d16bf47

Please sign in to comment.