Skip to content

Commit 88dcf00

Browse files
authored
Merge pull request #390 from garciadias/master
2 parents bbb6ab6 + e0f0130 commit 88dcf00

File tree

2 files changed

+13
-22
lines changed

2 files changed

+13
-22
lines changed

docker/gpu/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM nvidia/cuda:12.8.1-base-ubuntu24.04
1+
FROM --platform=$BUILDPLATFORM nvcr.io/nvidia/cuda:12.9.1-cudnn-devel-ubuntu24.04
22

33
# Install Python and other dependencies
44
RUN apt-get update -y && \
@@ -12,7 +12,7 @@ RUN apt-get update -y && \
1212
useradd -m -u 1001 appuser && \
1313
mkdir -p /app/api/src/models/v1_0 && \
1414
chown -R appuser:appuser /app
15-
15+
1616
USER appuser
1717
WORKDIR /app
1818

@@ -40,7 +40,7 @@ ENV PATH="/app/.venv/bin:$PATH" \
4040
PHONEMIZER_ESPEAK_DATA=/usr/share/espeak-ng-data \
4141
ESPEAK_DATA_PATH=/usr/share/espeak-ng-data \
4242
DEVICE="gpu"
43-
43+
4444
ENV DOWNLOAD_MODEL=true
4545
# Download model if enabled
4646
RUN if [ "$DOWNLOAD_MODEL" = "true" ]; then \

pyproject.toml

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ dependencies = [
3232
"mutagen>=1.47.0",
3333
"psutil>=6.1.1",
3434
"espeakng-loader==0.2.4",
35-
"kokoro==0.9.2",
36-
"misaki[en,ja,ko,zh]==0.9.3",
35+
"kokoro==0.9.4",
36+
"misaki[en,ja,ko,zh]==0.9.4",
3737
"spacy==3.8.5",
3838
"en-core-web-sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl",
3939
"inflect>=7.5.0",
@@ -43,28 +43,19 @@ dependencies = [
4343
]
4444

4545
[project.optional-dependencies]
46-
gpu = [
47-
"torch==2.7.1+cu128",
48-
]
49-
cpu = [
50-
"torch==2.7.1",
51-
]
46+
gpu = ["torch==2.8.0+cu129"]
47+
cpu = ["torch==2.8.0"]
5248
test = [
5349
"pytest==8.3.5",
5450
"pytest-cov==6.0.0",
5551
"httpx==0.26.0",
5652
"pytest-asyncio==0.25.3",
5753
"tomli>=2.0.1",
58-
"jinja2>=3.1.6"
54+
"jinja2>=3.1.6",
5955
]
6056

6157
[tool.uv]
62-
conflicts = [
63-
[
64-
{ extra = "cpu" },
65-
{ extra = "gpu" },
66-
],
67-
]
58+
conflicts = [[{ extra = "cpu" }, { extra = "gpu" }]]
6859

6960
[tool.uv.sources]
7061
torch = [
@@ -79,19 +70,19 @@ explicit = true
7970

8071
[[tool.uv.index]]
8172
name = "pytorch-cuda"
82-
url = "https://download.pytorch.org/whl/cu128"
73+
url = "https://download.pytorch.org/whl/cu129"
8374
explicit = true
8475

8576
[build-system]
8677
requires = ["setuptools>=61.0"]
8778
build-backend = "setuptools.build_meta"
8879

8980
[tool.setuptools]
90-
package-dir = {"" = "api/src"}
91-
packages.find = {where = ["api/src"], namespaces = true}
81+
package-dir = { "" = "api/src" }
82+
packages.find = { where = ["api/src"], namespaces = true }
9283

9384
[tool.pytest.ini_options]
9485
testpaths = ["api/tests", "ui/tests"]
9586
python_files = ["test_*.py"]
96-
addopts = "--cov=api --cov=ui --cov-report=term-missing --cov-config=.coveragerc --full-trace"
87+
addopts = "--cov=api --cov=ui --cov-report=term-missing --cov-config=.coveragerc --full-trace"
9788
asyncio_mode = "auto"

0 commit comments

Comments
 (0)