Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
67 lines (61 loc) · 2 KB
/
Copy pathpyproject.toml
File metadata and controls
67 lines (61 loc) · 2 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
[build-system]
requires = ["setuptools>=45", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "kittenml"
version = "0.9.7"
description = "Text-to-speech with voice cloning and expression control, plus ultra-lightweight models that run on CPU"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "Apache 2.0"}
authors = [
{name = "KittenML"}
]
keywords = ["text-to-speech", "tts", "speech-synthesis", "voice-cloning", "neural-networks", "onnx"]
classifiers = [
"Topic :: Multimedia :: Sound/Audio :: Speech",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"torch>=2.6",
"torchaudio>=2.6",
"transformers>=4.55",
"safetensors",
"numpy",
"scipy",
"soundfile",
"librosa",
"huggingface_hub",
# huggingface_hub downloads over httpx, which offers Brotli to the Hub
# whenever a Brotli package is importable. Its fallback backend,
# brotlicffi, errors mid-stream on some CDN responses ("decoder process
# called with data when 'can_accept_more_data()' is False"), failing the
# download. httpx prefers these C bindings over brotlicffi, so having
# them installed keeps that path out of reach.
"brotli",
"einops",
"diffusers",
"omegaconf",
"hydra-core",
"s3tokenizer",
"resemble-perth",
"pyloudnorm",
"kitten-text-processing>=0.1.0",
"espeakng_loader",
"phonemizer",
"onnxruntime",
]
[project.urls]
Homepage = "https://github.com/KittenML/KittenTTS"
Repository = "https://github.com/KittenML/KittenTTS"
Issues = "https://github.com/KittenML/KittenTTS/issues"
[project.optional-dependencies]
vllm = ["vllm==0.31.0; sys_platform == 'linux'"]
mlx = ["mlx>=0.29.0; sys_platform == 'darwin' and platform_machine == 'arm64'"]
[project.entry-points."vllm.general_plugins"]
kittenml = "kittenml.kittentts2.vllm.loader:register"
[tool.setuptools.packages.find]
where = ["."]
include = ["kittenml*"]
[tool.setuptools.package-data]
kittenml = ["*.json", "*.txt", "*.onnx"]