4949          - { python_version: "3.11", pytorch_version: "2.4", cuda_version: "12.1.1" } 
5050          - { python_version: "3.12", pytorch_version: "2.5", cuda_version: "12.1.1" } 
5151          - { python_version: "3.12", pytorch_version: "2.6", cuda_version: "12.4.1" } 
52-           - { python_version: "3.12", pytorch_version: "2.7", cuda_version: "12.6.3", latest: "true" } 
52+           - { python_version: "3.12", pytorch_version: "2.7", cuda_version: "12.6.3" } 
53+           - { python_version: "3.12", pytorch_version: "2.8", cuda_version: "12.6.3", latest: "true" } 
5354    steps :
5455      - uses : actions/checkout@v4 
5556        with :
9798        #  adding some more images as Thunder mainly using python 3.10,
9899        #  and we need to support integrations as for example LitGPT
99100        python_version : ["3.10"] 
100-         pytorch_version : ["2.6.0 ", "2.7.1 "] 
101+         pytorch_version : ["2.7.1 ", "2.8.0 "] 
101102        cuda_version : ["12.6.3"] 
102103        include :
103104          #  These are the base images for PL release docker images.
@@ -109,6 +110,7 @@ jobs:
109110          - { python_version: "3.12", pytorch_version: "2.5.1", cuda_version: "12.1.1" } 
110111          - { python_version: "3.12", pytorch_version: "2.6.0", cuda_version: "12.4.1" } 
111112          - { python_version: "3.12", pytorch_version: "2.7.1", cuda_version: "12.6.3" } 
113+           - { python_version: "3.12", pytorch_version: "2.8.0", cuda_version: "12.6.3" } 
112114    steps :
113115      - uses : actions/checkout@v4 
114116      - uses : docker/setup-buildx-action@v3 
@@ -129,6 +131,7 @@ jobs:
129131            PYTHON_VERSION=${{ matrix.python_version }} 
130132            PYTORCH_VERSION=${{ matrix.pytorch_version }} 
131133            CUDA_VERSION=${{ matrix.cuda_version }} 
134+             MAKE_FLAGS="-j2" 
132135file : dockers/base-cuda/Dockerfile 
133136          push : ${{ env.PUSH_NIGHTLY }} 
134137          tags : " pytorchlightning/pytorch_lightning:base-cuda-py${{ matrix.python_version }}-torch${{ env.PT_VERSION }}-cuda${{ matrix.cuda_version }}" 
@@ -157,6 +160,8 @@ jobs:
157160        continue-on-error : true 
158161        uses : docker/build-push-action@v6 
159162        with :
163+           build-args : | 
164+             PYTORCH_VERSION="25.04" 
160165file : dockers/nvidia/Dockerfile 
161166          push : false 
162167        timeout-minutes : 55 
0 commit comments