Skip to content

Commit

Permalink
ci: use rich base image for integrations (#2239)
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda authored Nov 24, 2023
1 parent dbf6b0f commit 9dd199a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 58 deletions.
2 changes: 1 addition & 1 deletion .azure/gpu-integrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
matrix:
"torch | 1.x":
docker-image: "pytorchlightning/pytorch:1.13.1-cuda11.6-cudnn8-runtime"
docker-image: "pytorchlightning/torchmetrics:ubuntu22.04-cuda11.8.0-py3.9-torch1.13"
torch-ver: "1.13.1"
requires: "oldest"
"torch | 2.x":
Expand Down
29 changes: 0 additions & 29 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,32 +94,3 @@ jobs:
push: ${{ env.PUSH_DOCKERHUB }}
tags: "pytorchlightning/torchmetrics:ubuntu${{ matrix.ubuntu }}-cuda${{ matrix.cuda }}-py${{ matrix.python }}-torch${{ matrix.pytorch }}"
timeout-minutes: 55

pytorch-cuda:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tag:
- "1.13.1-cuda11.6-cudnn8-runtime"
- "2.1.1-cuda12.1-cudnn8-runtime"
steps:
- uses: actions/checkout@v4

- name: Login to DockerHub
uses: docker/login-action@v3
if: env.PUSH_DOCKERHUB == 'true' && github.repository_owner == 'Lightning-AI'
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build (and Push) runner
uses: docker/build-push-action@v5
with:
build-args: |
DOCKER_TAG=${{ matrix.tag }}
file: dockers/pytorch-cuda/Dockerfile
push: ${{ env.PUSH_DOCKERHUB }}
tags: "pytorchlightning/pytorch:${{ matrix.tag }}"
timeout-minutes: 35
28 changes: 0 additions & 28 deletions dockers/pytorch-cuda/Dockerfile

This file was deleted.

0 comments on commit 9dd199a

Please sign in to comment.