From 7b10f4caabaadab71b96019392938636518fae7c Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Mon, 29 Jun 2026 18:47:59 -0400 Subject: [PATCH] fix(agent): cuDNN base image so onnxruntime-gpu loads (#114) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit onnxruntime-gpu needs cuDNN 9; the plain cuda:12.4.1-runtime image lacks it (libcudnn.so.9 missing → CUDAExecutionProvider falls back to CPU). Switch to the -cudnn-runtime variant which bundles cuDNN 9. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01Ttrj5P7upUTueSfoJcxEqa --- agent/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/agent/Dockerfile b/agent/Dockerfile index 2e3ca9f..f0a1e24 100644 --- a/agent/Dockerfile +++ b/agent/Dockerfile @@ -1,6 +1,8 @@ # FabledCurator GPU agent — runs on the desktop with the GPU. -# CUDA runtime so onnxruntime-gpu can use the card; ffmpeg for video frames. -FROM nvidia/cuda:12.4.1-runtime-ubuntu22.04 +# CUDA + cuDNN runtime so onnxruntime-gpu can use the card (it needs cuDNN 9 — +# the plain -runtime image lacks it: "libcudnn.so.9: cannot open shared object +# file"); ffmpeg for video frames. +FROM nvidia/cuda:12.4.1-cudnn-runtime-ubuntu22.04 ENV DEBIAN_FRONTEND=noninteractive PYTHONUNBUFFERED=1 RUN apt-get update \