fix docker

This commit is contained in:
Jintao Huang
2025-04-07 18:02:17 +08:00
parent 2a9d1fd8aa
commit 583607fdab

View File

@@ -355,7 +355,7 @@ class SwiftImageBuilder(LLMImageBuilder):
extra_content += """
RUN pip install --no-cache-dir deepspeed==0.14.5 --no-deps && \
pip install --no-cache-dir -U icecream soundfile pybind11 && \
SITE_PACKAGES=$(python -c "import site; print(site.getsitepackages()[0])") && \
SITE_PACKAGES=$(python -c "import site; print(site.getsitepackages()[0])") && echo $SITE_PACKAGES && \
CUDNN_PATH=$SITE_PACKAGES/nvidia/cudnn CPLUS_INCLUDE_PATH=$SITE_PACKAGES/nvidia/cudnn/include \
pip install git+https://github.com/NVIDIA/TransformerEngine.git@stable
"""