Skip to content

Commit

Permalink
Do not use build isolation in test images
Browse files Browse the repository at this point in the history
Signed-off-by: Enrico Minack <[email protected]>
  • Loading branch information
EnricoMi committed Jan 10, 2024
1 parent edfd990 commit 7c6a96a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.test.cpu
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ RUN if [[ ${MPI_KIND} == "ONECCL" ]]; then \
fi; \
cd /horovod && \
python setup.py sdist && \
bash -c "${HOROVOD_BUILD_FLAGS} HOROVOD_WITH_TENSORFLOW=${TENSORFLOW_PACKAGE} HOROVOD_WITH_PYTORCH=${PYTORCH_PACKAGE} HOROVOD_WITH_MXNET=${MXNET_PACKAGE} pip install --no-cache-dir --use-pep517 -v $(ls /horovod/dist/horovod-*.tar.gz)[spark,ray]"
bash -c "${HOROVOD_BUILD_FLAGS} HOROVOD_WITH_TENSORFLOW=1 HOROVOD_WITH_PYTORCH=1 HOROVOD_WITH_MXNET=1 pip install --no-cache-dir --use-pep517 --no-build-isolation -v $(ls /horovod/dist/horovod-*.tar.gz)[spark,ray]"

# Show the effective python package version to easily spot version differences
RUN pip freeze | sort
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.test.gpu
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ RUN if [[ ${MXNET_PACKAGE} == "mxnet-nightly-cu"* ]]; then \
RUN cd /horovod && \
python setup.py sdist && \
ldconfig /usr/local/cuda/targets/x86_64-linux/lib/stubs && \
bash -c "${HOROVOD_BUILD_FLAGS} HOROVOD_WITH_TENSORFLOW=${TENSORFLOW_PACKAGE} HOROVOD_WITH_PYTORCH=${PYTORCH_PACKAGE} HOROVOD_WITH_MXNET=${MXNET_PACKAGE} pip install --no-cache-dir --use-pep517 -v $(ls /horovod/dist/horovod-*.tar.gz)[spark,ray]" && \
bash -c "${HOROVOD_BUILD_FLAGS} HOROVOD_WITH_TENSORFLOW=1 HOROVOD_WITH_PYTORCH=1 HOROVOD_WITH_MXNET=1 pip install --no-cache-dir --use-pep517 --no-build-isolation -v $(ls /horovod/dist/horovod-*.tar.gz)[spark,ray]" && \
ldconfig

# Show the effective python package version to easily spot version differences
Expand Down

0 comments on commit 7c6a96a

Please sign in to comment.