Skip to content

Commit

Permalink
feat: upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lsorber authored Apr 3, 2024
1 parent c4cb4c2 commit e6a37b1
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 23 deletions.
15 changes: 4 additions & 11 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,7 @@ updates:
prefix: "ci"
prefix-development: "ci"
include: "scope"
- package-ecosystem: pip
directory: /
schedule:
interval: monthly
commit-message:
prefix: "build"
prefix-development: "build"
include: "scope"
versioning-strategy: lockfile-only
allow:
- dependency-type: "all"
groups:
ci-dependencies:
patterns:
- "*"
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}

- name: Build and push Docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
build-args: |
"PYTHON_VERSION=${{ matrix.python-version }}"
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4docker/setup-buildx-action@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}

- name: Build Docker image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
build-args: |
"PYTHON_VERSION=${{ matrix.python-version }}"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN MICROMAMBA_ARCH=$([ "$TARGETARCH" = "arm64" ] && echo "aarch64" || echo "64"

# Install CUDA and cuDNN.
ARG CUDA_VERSION=11.8
ARG CUDNN_VERSION=8.8
ARG CUDNN_VERSION=8.9
RUN micromamba create --prefix /opt/cuda/ --channel conda-forge --yes cudatoolkit="$CUDA_VERSION" cudnn="$CUDNN_VERSION" && \
micromamba clean --all --force-pkgs-dirs --yes
ENV LD_LIBRARY_PATH=/opt/cuda/lib:$LD_LIBRARY_PATH
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A minimal CUDA and cuDNN install on top of the official `python:3.x-slim` base i

- ✅ Starts from the official `python:3.x-slim` base image
- 🐍 Adds a single `micromamba` executable to install CUDA and cuDNN
- 🧬 Matrix build for Python {3.8, 3.9, 3.10, 3.11} and CUDA {11.8}
- 🧬 Matrix build for Python {3.8, 3.9, 3.10, 3.11}, CUDA {11.8}, and cuDNN {8.9}
- 📦 Multi-platform build for `linux/amd64` and `linux/arm64`
- 🐭 Image size is only 1.8GB

Expand Down

0 comments on commit e6a37b1

Please sign in to comment.