From 27ae60f6a2df5393039552127ef8f47e021dd3cc Mon Sep 17 00:00:00 2001 From: Mihir Patel Date: Wed, 15 May 2024 14:30:06 -0400 Subject: [PATCH] add more env vars --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 81fed4b72a..5a5da8004d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ ADD https://raw.githubusercontent.com/mosaicml/llm-foundry/$BRANCH_NAME/setup.py RUN rm setup.py # Install TransformerEngine -RUN NVTE_FRAMEWORK=pytorch CMAKE_BUILD_PARALLEL_LEVEL=4 pip install --verbose git+https://github.com/NVIDIA/TransformerEngine.git@stable +RUN NVTE_FRAMEWORK=pytorch CMAKE_BUILD_PARALLEL_LEVEL=4 MAX_JOBS=1 pip install --verbose git+https://github.com/NVIDIA/TransformerEngine.git@stable # Install and uninstall foundry to cache foundry requirements RUN git clone -b $BRANCH_NAME https://github.com/mosaicml/llm-foundry.git