File tree Expand file tree Collapse file tree 3 files changed +24
-4
lines changed Expand file tree Collapse file tree 3 files changed +24
-4
lines changed Original file line number Diff line number Diff line change 8989FROM nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04 AS dist
9090
9191ENV PYTHONUNBUFFERED=1
92- ENV PATH="/bin:$PATH"
92+ ENV LD_LIBRARY_PATH="/app/lib:/usr/local/cuda-11.8/targets/x86_64-linux/lib:${LD_LIBRARY_PATH}"
93+ ENV PATH="/app/bin:${PATH}"
9394
9495RUN \
9596 mkdir -p /data /app &&\
Original file line number Diff line number Diff line change 1+ services :
2+ wyoming-piper :
3+ image : slackr31337/wyoming-piper-gpu:latest
4+ container_name : wyoming-piper
5+ environment :
6+ - PIPER_VOICE="en_US-lessac-medium"
7+ ports :
8+ - 10300:10300
9+ volumes :
10+ - /path/to/persistent/data:/data
11+ restart : unless-stopped
12+ runtime : nvidia
13+ deploy :
14+ resources :
15+ reservations :
16+ devices :
17+ - driver : nvidia
18+ count : 1
19+ capabilities :
20+ - gpu
21+ - utility
22+ - compute
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- export LD_LIBRARY_PATH=/app/lib/:/usr/local/cuda-11.8/targets/x86_64-linux/lib:$LD_LIBRARY_PATH
4-
53# Run wyoming-piper server
6- source /app/bin/activate
74/app/bin/python3 -m wyoming_piper \
85 --piper ' /app/piper/piper' \
96 --uri ' tcp://0.0.0.0:10200' \
You can’t perform that action at this time.
0 commit comments