-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Expand file tree
/
Copy pathpyproject.toml
More file actions
130 lines (120 loc) · 2.7 KB
/
Copy pathpyproject.toml
File metadata and controls
130 lines (120 loc) · 2.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
[project]
name = "fish-speech"
version = "2.0.0"
authors = [
{name = "Fish Audio", email = "oss@fish.audio"},
]
description = "Fish Speech"
readme = "README.md"
requires-python = ">=3.10"
keywords = ["TTS", "Speech"]
license = {text = "Fish Audio Research License"}
classifiers = [
"Programming Language :: Python :: 3",
]
dependencies = [
"numpy",
"torch==2.8.0",
"torchaudio==2.8.0",
"transformers<=4.57.3",
"datasets==2.18.0",
"lightning>=2.1.0",
"hydra-core>=1.3.2",
"tensorboard>=2.14.1",
"natsort>=8.4.0",
"einops>=0.7.0",
"librosa>=0.10.1",
"rich>=13.5.3",
"gradio>5.0.0",
"wandb>=0.19.0",
"grpcio>=1.58.0",
"kui>=1.6.0",
"uvicorn>=0.30.0",
"loguru>=0.6.0",
"loralib>=0.1.2",
"pyrootutils>=1.0.4",
"resampy>=0.4.3",
"einx[torch]==0.2.2",
"zstandard>=0.22.0",
"pydub",
"pyaudio",
"modelscope==1.17.1",
"opencc-python-reimplemented==0.1.7",
"silero-vad",
"ormsgpack",
"tiktoken>=0.8.0",
"pydantic==2.9.2",
"cachetools",
"descript-audio-codec",
"safetensors"
]
[project.optional-dependencies]
stable = [
"torch==2.8.0",
"torchaudio",
]
cpu = [
"torch==2.8.0",
"torchaudio",
]
cu126 = [
"torch==2.8.0",
"torchaudio",
]
cu128 = [
"torch==2.8.0",
"torchaudio",
]
cu129 = [
"torch==2.8.0",
"torchaudio",
]
[tool.uv]
override-dependencies = [
# descript-audiotools (transitive via descript-audio-codec) pins protobuf<3.20,
# but fish-speech's generated proto code requires >=3.20; cap at <6 for API stability
"protobuf>=3.20.0,<6.0.0",
]
conflicts = [
[
{ extra = "cpu" },
{ extra = "cu126" },
{ extra = "cu128" },
{ extra = "cu129" },
],
]
[tool.uv.sources]
torch = [
{ index = "pytorch-cpu", extra = "cpu" },
{ index = "pytorch-cu126", extra = "cu126" },
{ index = "pytorch-cu128", extra = "cu128" },
{ index = "pytorch-cu129", extra = "cu129" },
]
torchaudio = [
{ index = "pytorch-cpu", extra = "cpu" },
{ index = "pytorch-cu126", extra = "cu126" },
{ index = "pytorch-cu128", extra = "cu128" },
{ index = "pytorch-cu129", extra = "cu129" },
]
[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
[[tool.uv.index]]
name = "pytorch-cu126"
url = "https://download.pytorch.org/whl/cu126"
explicit = true
[[tool.uv.index]]
name = "pytorch-cu128"
url = "https://download.pytorch.org/whl/cu128"
explicit = true
[[tool.uv.index]]
name = "pytorch-cu129"
url = "https://download.pytorch.org/whl/cu129"
explicit = true
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["fish_speech", "tools"]
[tool.setuptools_scm]