Skip to content

Commit 9dd199a

Browse files
authored
ci: use rich base image for integrations (#2239)
1 parent dbf6b0f commit 9dd199a

File tree

3 files changed

+1
-58
lines changed

3 files changed

+1
-58
lines changed

.azure/gpu-integrations.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
matrix:
2020
"torch | 1.x":
21-
docker-image: "pytorchlightning/pytorch:1.13.1-cuda11.6-cudnn8-runtime"
21+
docker-image: "pytorchlightning/torchmetrics:ubuntu22.04-cuda11.8.0-py3.9-torch1.13"
2222
torch-ver: "1.13.1"
2323
requires: "oldest"
2424
"torch | 2.x":

.github/workflows/docker-build.yml

-29
Original file line numberDiff line numberDiff line change
@@ -94,32 +94,3 @@ jobs:
9494
push: ${{ env.PUSH_DOCKERHUB }}
9595
tags: "pytorchlightning/torchmetrics:ubuntu${{ matrix.ubuntu }}-cuda${{ matrix.cuda }}-py${{ matrix.python }}-torch${{ matrix.pytorch }}"
9696
timeout-minutes: 55
97-
98-
pytorch-cuda:
99-
if: github.event.pull_request.draft == false
100-
runs-on: ubuntu-latest
101-
strategy:
102-
fail-fast: false
103-
matrix:
104-
tag:
105-
- "1.13.1-cuda11.6-cudnn8-runtime"
106-
- "2.1.1-cuda12.1-cudnn8-runtime"
107-
steps:
108-
- uses: actions/checkout@v4
109-
110-
- name: Login to DockerHub
111-
uses: docker/login-action@v3
112-
if: env.PUSH_DOCKERHUB == 'true' && github.repository_owner == 'Lightning-AI'
113-
with:
114-
username: ${{ secrets.DOCKER_USERNAME }}
115-
password: ${{ secrets.DOCKER_PASSWORD }}
116-
117-
- name: Build (and Push) runner
118-
uses: docker/build-push-action@v5
119-
with:
120-
build-args: |
121-
DOCKER_TAG=${{ matrix.tag }}
122-
file: dockers/pytorch-cuda/Dockerfile
123-
push: ${{ env.PUSH_DOCKERHUB }}
124-
tags: "pytorchlightning/pytorch:${{ matrix.tag }}"
125-
timeout-minutes: 35

dockers/pytorch-cuda/Dockerfile

-28
This file was deleted.

0 commit comments

Comments
 (0)