feat: first commit

This commit is contained in:
Simon Guigui
2023-11-25 18:22:45 +01:00
commit c0948a60c3
13 changed files with 1618 additions and 0 deletions

29
README.md Normal file
View File

@@ -0,0 +1,29 @@
# rocm-wyoming-whisper
A docker image and a few lines of python to use OpenAI whisper with Rhasspy and/or Home Assistant on AMD GPUs with ROCm.
## Run with docker-compose
```shell
docker-compose up -d
```
## Run with Docker
Build docker image:
```shell
docker build -t wyoming-whisper .
```
Run docker image:
```shell
docker run --entrypoint '' -v $(pwd)/data:/data -v $(pwd)/src:/src -it --device=/dev/kfd --device=/dev/dri --security-opt seccomp=unconfined --group-add video -p 10300:10300 wyoming-whisper bash
```
Run script:
```shell
python -m wyoming_whisper --download-dir /data --model medium --debug
```