This commit is contained in:
Jintao Huang
2025-04-07 22:11:52 +08:00
parent f65434d465
commit 1d73af01c1

View File

@@ -53,7 +53,7 @@ else \
pip cache purge; \
fi
if [ "$INSTALL_MEGATRON_DEPS" = "True" ]; then \
RUN if [ "$INSTALL_MEGATRON_DEPS" = "True" ]; then \
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