diff --git a/Dockerfile b/Dockerfile index 50e201f..6d84633 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN apt-get update && \ RUN mkdir -p /app/voices WORKDIR /app COPY *.txt /app/ -RUN pip install --no-cache -r requirements.txt +RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements.txt COPY *.sh *.py *.yaml *.md LICENSE config /app/ RUN apt-get clean && rm -rf /var/lib/apt/lists/* diff --git a/README.md b/README.md index a564842..96f7274 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,10 @@ If you find a better voice match for `tts-1` or `tts-1-hd`, please let me know s ## Recent Changes +Version: 0.10.1, 2024-05-05 + +* Remove `runtime: nvidia` from docker-compose.yml, this assumes nvidia/cuda compatible runtime is available by default. thanks @jmtatsch + Version: 0.10.0, 2024-04-27 * Pre-built & tested docker images, smaller docker images (8GB or 860MB) diff --git a/docker-compose.yml b/docker-compose.yml index 935ec56..8dc70d5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,8 +13,8 @@ services: - ./config:/app/config # install as a service, run with docker compose up -d #restart: unless-stopped - # Below can be removed if not using GPU - runtime: nvidia + # Set nvidia runtime if it's not the default or not using GPU + #runtime: nvidia deploy: resources: reservations: diff --git a/requirements.txt b/requirements.txt index b925f15..66e9d2b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,5 +5,7 @@ piper-tts==1.2.0 onnxruntime-gpu # xtts TTS +# XXX, 3.8+ has some issue for now +spacy==3.7.4 # parler-tts git+https://github.com/huggingface/parler-tts.git