From 9f9cd41a13bc7e10ba87e25989be824525e0bca5 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Fri, 12 Jun 2026 09:20:11 +0000 Subject: [PATCH] docker: add wget to the runtime image Notebooks fetch sample assets with !wget; without the binary the shell prints not-found to stderr, the cell still exits zero from Jupyter's perspective, and the next cell crashes confusingly on the missing file. The Whisper notebook died exactly this way in the validation matrix. --- docker/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index eb46177cfc..b0157e22e7 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -408,8 +408,11 @@ ENV DEBIAN_FRONTEND=noninteractive \ # ffmpeg: torchcodec (datasets' audio decode path, pip-installed by the # TTS/STT notebooks) dlopens the system FFmpeg libraries; the wheel does not # bundle them, so without ffmpeg every audio notebook dies at load_dataset. +# wget: notebooks fetch sample assets with `!wget URL`; without it the cell +# "succeeds" with sh's not-found on stderr and the next cell crashes on the +# missing file (the Whisper notebook died exactly this way). RUN apt-get update && apt-get install -y --no-install-recommends \ - software-properties-common ca-certificates curl git libgomp1 \ + software-properties-common ca-certificates curl wget git libgomp1 \ gcc g++ zstd ffmpeg \ && add-apt-repository -y ppa:deadsnakes/ppa \ && apt-get update && apt-get install -y --no-install-recommends \