From 530809fd7405f2abb1b88ab8d6d3cb78e5e765bb Mon Sep 17 00:00:00 2001 From: Wing Lian Date: Wed, 28 Jun 2023 22:36:28 -0400 Subject: [PATCH] update pip install command for apex --- docker/Dockerfile-base | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile-base b/docker/Dockerfile-base index 2728f3a72..20bd80f70 100644 --- a/docker/Dockerfile-base +++ b/docker/Dockerfile-base @@ -77,7 +77,7 @@ FROM base-builder RUN python3 -m pip uninstall -y apex RUN git clone https://github.com/NVIDIA/apex # `MAX_JOBS=1` disables parallel building to avoid cpu memory OOM when building image on GitHub Action (standard) runners -RUN cd apex && MAX_JOBS=1 python3 -m pip install --global-option="--cpp_ext" --global-option="--cuda_ext" --no-cache -v --disable-pip-version-check . +RUN cd apex && MAX_JOBS=1 python3 -m pip install -v --disable-pip-version-check --no-cache-dir --no-build-isolation --config-settings "--build-option=--cpp_ext" --config-settings "--build-option=--cuda_ext" ./ RUN mkdir -p /workspace/builds COPY --from=bnb-builder /workspace/bitsandbytes /workspace/builds/bitsandbytes