Skip to content

Commit

Permalink
Fix Apex Build (#298)
Browse files Browse the repository at this point in the history
As discussed in NVIDIA/apex#1594, it appears
the only solution to make apex build on a recent release is to ignore
the build dependencies during packaging... Otherwise, we get the error
that the `packaging` package is missing, although we explicitly install
it.
  • Loading branch information
MaxiBoether committed Sep 19, 2023
1 parent dd38c82 commit 91b586e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Trainer_Server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM modyndependencies:latest as apex-image
# TODO(#104): Make this easily configurable here
# RUN mamba run -n modyn pip install packaging
# RUN git clone https://github.com/NVIDIA/apex ./apex
# RUN mamba run -v -n modyn pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./apex
# RUN mamba run -v -n modyn pip install -v --no-build-isolation --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" ./apex

FROM modynbase:latest AS trainerserver-image

Expand Down

0 comments on commit 91b586e

Please sign in to comment.