Skip to content

Commit 0d691cc

Browse files
authored
add base docker image with pytorch 2.7.0 and variant for cuda 12.8 (axolotl-ai-cloud#2551)
* add base docker image with pytorch 2.7.0 and variant for cuda 12.8 * my bash is terrible
1 parent c405348 commit 0d691cc

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

.github/workflows/base.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,18 @@ jobs:
4646
python_version: "3.11"
4747
pytorch: 2.6.0
4848
torch_cuda_arch_list: "7.0 7.5 8.0 8.6 8.7 8.9 9.0+PTX"
49+
- cuda: "126"
50+
cuda_version: 12.6.3
51+
cudnn_version: ""
52+
python_version: "3.11"
53+
pytorch: 2.7.0
54+
torch_cuda_arch_list: "7.0 7.5 8.0 8.6 8.7 8.9 9.0+PTX"
55+
- cuda: "128"
56+
cuda_version: 12.6.3
57+
cudnn_version: ""
58+
python_version: "3.11"
59+
pytorch: 2.7.0
60+
torch_cuda_arch_list: "7.0 7.5 8.0 8.6 8.7 8.9 9.0+PTX"
4961
- cuda: "128"
5062
cuda_version: 12.8.1
5163
cudnn_version: ""

docker/Dockerfile-base

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,7 @@ RUN git lfs install --skip-repo && \
3737
pip3 install awscli && \
3838
# The base image ships with `pydantic==1.8.2` which is not working
3939
pip3 install -U --no-cache-dir pydantic==1.10.10
40+
41+
RUN if [ "$PYTORCH_VERSION" = "2.7.0" ] ; then \
42+
pip3 install flash-attn==2.7.4.post1; \
43+
fi

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ datasets==3.5.0
1919
deepspeed>=0.15.4
2020
trl==0.16.1
2121
hf_xet==1.0.0
22+
hqq==0.2.5
2223

2324
optimum==1.16.2
2425
hf_transfer

0 commit comments

Comments
 (0)