Skip to content

Commit

Permalink
Add initial GPU support
Browse files Browse the repository at this point in the history
  • Loading branch information
edurenye authored Aug 24, 2023
1 parent 5546464 commit 1a7f3e8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion openwakeword/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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 1a7f3e8

Please sign in to comment.