From d304ab2769a35c25ff6638d945053fc63bd46e57 Mon Sep 17 00:00:00 2001 From: Enno Hermann Date: Wed, 3 Jul 2024 19:28:47 +0200 Subject: [PATCH 1/3] build: update gruut version for numpy2 support --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a8c52fc176..570dd1a4b9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -65,7 +65,7 @@ dependencies = [ "coqui-tts-trainer>=0.1.4", "coqpit>=0.0.16", # Gruut + supported languages - "gruut[de,es,fr]==2.2.3", + "gruut[de,es,fr]>=2.4.0", # Tortoise "einops>=0.6.0", "transformers>=4.42.0", From b1558b06d75bb73b4e02518ef8d6a5841eeba5bb Mon Sep 17 00:00:00 2001 From: Enno Hermann Date: Wed, 3 Jul 2024 19:41:56 +0200 Subject: [PATCH 2/3] build: require numpy<2 because spacy/thinc lack support --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 570dd1a4b9..539556902d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,7 +44,7 @@ classifiers = [ ] dependencies = [ # Core - "numpy>=1.24.3", + "numpy>=1.24.3,<2.0.0", # TODO: remove upper bound after spacy/thinc release "cython>=0.29.30", "scipy>=1.11.2", "torch>=2.1", From 7014782ad4fedea1d5097bb3010fe77c3a386267 Mon Sep 17 00:00:00 2001 From: Enno Hermann Date: Mon, 5 Aug 2024 10:28:03 +0200 Subject: [PATCH 3/3] build: add upper bound for transformers 4.43.* broke XTTS streaming again --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 539556902d..94ed3a2c36 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -68,7 +68,7 @@ dependencies = [ "gruut[de,es,fr]>=2.4.0", # Tortoise "einops>=0.6.0", - "transformers>=4.42.0", + "transformers>=4.42.0,<4.43.0", # Bark "encodec>=0.1.1", # XTTS