This commit is contained in:
Jintao Huang
2026-07-13 11:21:14 +08:00
parent 4648455f52
commit 01d07f84a4

View File

@@ -83,7 +83,7 @@ RUN if [ "$IMAGE_TYPE" = "gpu" ]; then \
cd /tmp && GIT_LFS_SKIP_SMUDGE=1 git clone https://github.com/NVIDIA/apex && \
cd apex && 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" ./ && \
cd / && rm -fr /tmp/apex && pip cache purge; \
pip install --no-cache-dir "megatron-core==0.17.*" -U; \
pip install --no-cache-dir "megatron-core==0.18.*" -U; \
elif [ "$IMAGE_TYPE" = "cpu" ]; then \
pip install --no-cache-dir huggingface-hub "transformers<5.9" peft diffusers -U; \
else \