feat(media): run Storyteller whisper on the P100 (CUDA 12.9 image)

Switch storyteller to the amd64-cuda-12.9.0 image with the P100 via CDI.
Tested on a 2-min clip: 3.9 s on GPU vs 25 s on the CPU build. The whisper
build lacks sm_60 kernels, so persist the PTX JIT cache under /data.
CUDA images are SHA-tagged only, so pin the tag and exclude from Watchtower.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ginnoirandClaude Opus 5.5 committed 2026-10-18 19:39:31 -05:00
1 parent f51cc9c7e8
commit 17743dfdcf
2 files changed
+15 -11

No files matched your search

+14 -10
View File
@@ -289,26 +289,30 @@ services:
storyteller:
container_name: storyteller
image: registry.gitlab.com/storyteller-platform/storyteller:latest
# CUDA 12.9 build so whisper runs on the P100 (~6x the CPU build). CUDA 13.x
# images drop Pascal. Upstream publishes CUDA images only as commit-SHA tags
# (no :latest), so this is pinned and out of Watchtower; bump the tag by hand
# from the registry's amd64-cuda-12.9.0 repository.
image: registry.gitlab.com/storyteller-platform/storyteller/amd64-cuda-12.9.0:67260c54
restart: unless-stopped
labels:
- "com.centurylabs.watchtower.enable=false"
networks: [media, edge]
env_file:
- stack.env # STORYTELLER_SECRET_KEY lives here
devices:
- nvidia.com/gpu=0
environment:
# The whisper build has no sm_60 kernels, so the P100 JIT-compiles PTX on
# first use (~60 s). Persist the JIT cache so that only happens once.
- CUDA_CACHE_PATH=/data/.nv-compute-cache
- CUDA_CACHE_MAXSIZE=4294967296
volumes:
- /storage1/labdata/storyteller:/data
- /storage1/Media/Books:/libraries/books:ro
- /storage1/Media/Audiobooks:/libraries/audiobooks:ro
ports:
- "8001:8001"
# Whisper runs on CPU until the P100s land. Then add (and check upstream's
# GPU Acceleration docs for the CUDA image tag):
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: 1
# capabilities: [gpu]
networks:
media: