Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
619a96b8c3 | ||
|
|
a8bdbcdd66 | ||
|
|
9e2a09cda9 | ||
|
|
a3405108c9 | ||
|
|
d563aa9e74 |
@@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.2.6] - 2026-06-12
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- **Dockerfile: `ARG TARGETARCH` re-declared in each stage**: Docker's automatic platform ARGs are only in scope for `FROM` instructions, not `RUN` commands. The `$TARGETARCH` variable in the deadsnakes PPA conditional was silently empty, so the PPA was never added and `python3.13` could not be located on the Ubuntu 22.04 CUDA base. Adding `ARG TARGETARCH` at the top of both the `build` and `runtime` stage bodies fixes the amd64 build.
|
||||||
|
|
||||||
|
## [0.2.5] - 2026-06-12
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- **CUDA base upgraded to 13.3.0**: amd64 base image bumped from `nvidia/cuda:12.9.2-cudnn-runtime-ubuntu22.04` to `nvidia/cuda:13.3.0-cudnn-runtime-ubuntu22.04`. Python packages (torch, onnxruntime-gpu) still target CUDA 12.6 via pip-installed libraries; the base image upgrade requires a host GPU driver that supports CUDA 13+.
|
||||||
|
- **`torchvision>=0.27.0` added as explicit dependency**: routed through the `pytorch-cu126` index for linux/x86_64, ensuring it resolves to `0.27.0+cu126` (paired with `torch 2.12.0+cu126`) rather than being pulled from PyPI where the older `0.21.0` wheel would downgrade torch to 2.6.0.
|
||||||
|
- **`torch>=2.12.0`** floor raised from 2.6.0 to prevent silent downgrade.
|
||||||
|
- **`nvidia-cudnn-cu12>=9.0.0`** floor kept intentionally loose — torch pins an exact cuDNN ABI version (`9.10.2.21`) and must own that constraint.
|
||||||
|
|
||||||
## [0.2.4] - 2026-06-12
|
## [0.2.4] - 2026-06-12
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|||||||
+3
-1
@@ -2,7 +2,7 @@
|
|||||||
# amd64: NVIDIA CUDA 12.6 (GPU acceleration when available, CPU fallback)
|
# amd64: NVIDIA CUDA 12.6 (GPU acceleration when available, CPU fallback)
|
||||||
# arm64: Ubuntu 26.04 (CPU-only; no CUDA on ARM)
|
# arm64: Ubuntu 26.04 (CPU-only; no CUDA on ARM)
|
||||||
|
|
||||||
FROM --platform=$BUILDPLATFORM nvidia/cuda:12.9.2-cudnn-runtime-ubuntu22.04 AS base-amd64
|
FROM --platform=$BUILDPLATFORM nvidia/cuda:13.3.0-cudnn-runtime-ubuntu22.04 AS base-amd64
|
||||||
FROM --platform=$BUILDPLATFORM ubuntu:26.04 AS base-arm64
|
FROM --platform=$BUILDPLATFORM ubuntu:26.04 AS base-arm64
|
||||||
|
|
||||||
# ── Build stage ───────────────────────────────────────────────────────────
|
# ── Build stage ───────────────────────────────────────────────────────────
|
||||||
@@ -10,6 +10,7 @@ ARG TARGETARCH
|
|||||||
|
|
||||||
FROM base-${TARGETARCH} AS build
|
FROM base-${TARGETARCH} AS build
|
||||||
|
|
||||||
|
ARG TARGETARCH
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
# amd64 (Ubuntu 22.04 CUDA base): Python 3.13 via deadsnakes PPA
|
# amd64 (Ubuntu 22.04 CUDA base): Python 3.13 via deadsnakes PPA
|
||||||
@@ -47,6 +48,7 @@ RUN chmod +x /app/entrypoint.sh
|
|||||||
|
|
||||||
FROM base-${TARGETARCH} AS runtime
|
FROM base-${TARGETARCH} AS runtime
|
||||||
|
|
||||||
|
ARG TARGETARCH
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "winnow"
|
name = "winnow"
|
||||||
version = "0.2.4"
|
version = "0.2.6"
|
||||||
description = "Immich to Frigate training sets"
|
description = "Immich to Frigate training sets"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
requires-python = ">=3.13"
|
requires-python = ">=3.13"
|
||||||
|
|||||||
Reference in New Issue
Block a user