feat: upgrade dependencies (#17)

This commit is contained in:
Laurent Sorber
2024-04-03 18:06:44 +02:00
committed by GitHub
parent c4cb4c2085
commit 13f02b26d7
5 changed files with 16 additions and 23 deletions

View File

@@ -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:
- "*"

View File

@@ -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 }}"

View File

@@ -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 }}"

View File

@@ -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

View File

@@ -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