add base docker image with pytorch 2.7.0 and variant for cuda 12.8 (#2551)

* add base docker image with pytorch 2.7.0 and variant for cuda 12.8

* my bash is terrible
This commit is contained in:
Wing Lian
2025-04-23 14:59:03 -04:00
committed by GitHub
parent c4053481ff
commit 0d691cc2a7
3 changed files with 17 additions and 0 deletions

View File

@@ -37,3 +37,7 @@ RUN git lfs install --skip-repo && \
pip3 install awscli && \
# The base image ships with `pydantic==1.8.2` which is not working
pip3 install -U --no-cache-dir pydantic==1.10.10
RUN if [ "$PYTORCH_VERSION" = "2.7.0" ] ; then \
pip3 install flash-attn==2.7.4.post1; \
fi