forked from OpenMOSS/MOSS-TTS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (79 loc) · 1.76 KB
/
pyproject.toml
File metadata and controls
86 lines (79 loc) · 1.76 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "moss-tts"
version = "0.1.0"
description = "MOSS-TTS dependencies and utilities"
readme = "README.md"
requires-python = ">=3.10"
license = { file = "LICENSE" }
authors = [{ name = "OpenMOSS Team" }]
dependencies = [
"safetensors==0.6.2",
"numpy==2.1.0",
"orjson==3.11.4",
"tqdm==4.67.1",
"PyYAML==6.0.3",
"einops==0.8.1",
"scipy==1.16.2",
"librosa==0.11.0",
"tiktoken==0.12.0",
"psutil",
"packaging",
"ninja",
"setuptools",
"wheel",
"gradio"
]
[project.optional-dependencies]
flash-attn = ["flash-attn"]
finetune = [
"accelerate>=1.10.1",
]
finetune-deepspeed = [
"accelerate>=1.10.1",
"deepspeed>=0.16.0",
]
# Default PyTorch runtime stack for the original pipeline.
torch-runtime = [
"torch==2.9.1+cu128",
"torchaudio==2.9.1+cu128",
"torchcodec===0.8.1",
"transformers==5.0.0",
]
# llama.cpp backend — torch-free core
llama-cpp = [
"numpy>=2.0",
"pyyaml>=6.0",
"tokenizers>=0.20",
"soundfile>=0.12",
]
# llama.cpp + ONNX Runtime audio tokenizer
llama-cpp-onnx = [
"numpy>=2.0",
"pyyaml>=6.0",
"tokenizers>=0.20",
"soundfile>=0.12",
"onnxruntime-gpu>=1.19",
]
# llama.cpp + TensorRT audio tokenizer
llama-cpp-trt = [
"numpy>=2.0",
"pyyaml>=6.0",
"tokenizers>=0.20",
"soundfile>=0.12",
"tensorrt>=10.0",
"cuda-python>=12.0",
]
# torch-accelerated LM heads (optional, auto-detected)
llama-cpp-torch = [
"torch>=2.4",
]
[project.scripts]
moss-tts-llama-cpp = "moss_tts_delay.llama_cpp.pipeline:main"
[project.urls]
Homepage = "https://github.com/OpenMOSS-Team/MOSS-TTS"
Repository = "https://github.com/OpenMOSS-Team/MOSS-TTS"
[tool.setuptools]
py-modules = []