Skip to content
Open
Show file tree
Hide file tree
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: 4 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,10 @@ RUN if [ $INSTALL_BITSANDBYTES = "True" ]; then \
COPY scripts/setup_uccl_ep.sh /opt/setup_uccl_ep.sh
ARG INSTALL_UCCL_EP=False
RUN if [ "$INSTALL_UCCL_EP" = "True" ]; then \
bash /opt/setup_uccl_ep.sh --no-efa && \
apt-get update -qq && \
apt-get install -y --no-install-recommends libibverbs-dev librdmacm-dev && \
rm -rf /var/lib/apt/lists/* && \
bash /opt/setup_uccl_ep.sh --no-efa --skip-apt && \
rm -f /opt/setup_uccl_ep.sh; \
fi

Expand Down
2 changes: 1 addition & 1 deletion scripts/setup_uccl_ep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ if [[ "$NO_EFA" -eq 1 ]]; then
fi

# Install into the active Python environment.
${BUILD_EXTRA_ARGS:+env $BUILD_EXTRA_ARGS} python setup.py install
TORCH_CUDA_ARCH_LIST="9.0 10.0 12.0" ${BUILD_EXTRA_ARGS:+env $BUILD_EXTRA_ARGS} python setup.py install

popd > /dev/null

Expand Down
Loading