mirror of
https://github.com/slackr31337/wyoming-whisper-gpu.git
synced 2026-10-22 06:19:11 +02:00
First commit
This commit is contained in:
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"ms-azuretools.vscode-docker"
|
||||
]
|
||||
}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
FROM nvidia/cuda:11.7.1-base-ubuntu22.04
|
||||
|
||||
# Install Whisper
|
||||
WORKDIR /usr/src
|
||||
ARG WHISPER_VERSION='1.0.1'
|
||||
|
||||
RUN \
|
||||
apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
build-essential \
|
||||
python3 \
|
||||
python3-dev \
|
||||
python3-pip \
|
||||
\
|
||||
&& pip3 install --no-cache-dir -U \
|
||||
setuptools \
|
||||
wheel \
|
||||
&& pip3 install --no-cache-dir torch \
|
||||
&& pip3 install --no-cache-dir \
|
||||
"wyoming-faster-whisper==${WHISPER_VERSION}" \
|
||||
\
|
||||
&& apt-get purge -y --auto-remove \
|
||||
build-essential \
|
||||
python3-dev \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /
|
||||
COPY run.sh ./
|
||||
|
||||
EXPOSE 10300
|
||||
|
||||
ENTRYPOINT ["bash", "/run.sh"]
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker build --network=host --tag=wyoming-whisper-gpu .
|
||||
Reference in New Issue
Block a user