Containerfile for portable deployment #5

Closed
opened 2026-09-01 20:37:56 +00:00 by Mark · 0 comments
Owner

Rootless Podman + NVIDIA GPU passthrough. Should run identically on any host with an NVIDIA GPU.

Stack:

  • Base: docker.io/nvidia/cuda:12.8.0-runtime-ubuntu24.04 (matches torch 2.8+cu128)
  • System deps: ffmpeg, git, python3, pip
  • Python deps: whisperx (matches what's known to work on blackhole), yt-dlp
  • WORKDIR: /app
  • Volume mounts: /mnt/audio (input), /mnt/output (transcripts), ~/.cache/huggingface (model cache, share with host)
  • GPU passthrough via CDI: --device nvidia.com/gpu=all works in rootless Podman with CDI configured

Smoke test: build, run on Jobs Stanford speech, verify identical output to host run.

Rootless Podman + NVIDIA GPU passthrough. Should run identically on any host with an NVIDIA GPU. **Stack:** - Base: `docker.io/nvidia/cuda:12.8.0-runtime-ubuntu24.04` (matches torch 2.8+cu128) - System deps: ffmpeg, git, python3, pip - Python deps: whisperx (matches what's known to work on blackhole), yt-dlp - WORKDIR: `/app` - Volume mounts: `/mnt/audio` (input), `/mnt/output` (transcripts), `~/.cache/huggingface` (model cache, share with host) - GPU passthrough via CDI: `--device nvidia.com/gpu=all` works in rootless Podman with CDI configured **Smoke test:** build, run on Jobs Stanford speech, verify identical output to host run.
Mark closed this issue 2026-09-05 17:35:59 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Mark/whisper-transcribe#5
No description provided.