Skip to content

Commit

Permalink
Add initial GPU support
Browse files Browse the repository at this point in the history
  • Loading branch information
edurenye committed Oct 6, 2023
1 parent 3e58039 commit 760312c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion openwakeword/Dockerfile
@@ -1,4 +1,4 @@
FROM debian:bullseye-slim
FROM nvidia/cuda:12.1.1-cudnn8-runtime-ubuntu22.04
ARG TARGETARCH
ARG TARGETVARIANT

Expand Down
3 changes: 2 additions & 1 deletion piper/Dockerfile
@@ -1,4 +1,4 @@
FROM debian:bullseye-slim
FROM nvidia/cuda:12.1.1-cudnn8-runtime-ubuntu22.04
ARG TARGETARCH
ARG TARGETVARIANT

Expand All @@ -17,6 +17,7 @@ RUN \
&& pip3 install --no-cache-dir -U \
setuptools \
wheel \
onnxruntime-gpu \
&& pip3 install --no-cache-dir \
"wyoming-piper==${PIPER_LIB_VERSION}" \
\
Expand Down
1 change: 1 addition & 0 deletions piper/run.sh
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
python3 -m wyoming_piper \
--piper '/usr/share/piper/piper' \
--cuda \
--uri 'tcp://0.0.0.0:10200' \
--data-dir /data \
--download-dir /data "$@"
2 changes: 1 addition & 1 deletion whisper/Dockerfile
@@ -1,4 +1,4 @@
FROM debian:bullseye-slim
FROM nvidia/cuda:11.2.2-cudnn8-runtime-ubuntu20.04

# Install Whisper
WORKDIR /usr/src
Expand Down

0 comments on commit 760312c

Please sign in to comment.