| [project] |
| name = "indextts" |
| version = "2.0.0" |
| description = "IndexTTS2: A Breakthrough in Emotionally Expressive and Duration-Controlled Auto-Regressive Zero-Shot Text-to-Speech" |
| authors = [{ name = "Bilibili IndexTTS Team" }] |
| license = "LicenseRef-Bilibili-IndexTTS" |
| license-files = ["LICEN[CS]E*", "INDEX_MODEL_LICENSE*"] |
| readme = "README.md" |
| classifiers = [ |
| "Development Status :: 5 - Production/Stable", |
|
|
| "Intended Audience :: Science/Research", |
| "Intended Audience :: Developers", |
|
|
| "Topic :: Scientific/Engineering", |
| "Topic :: Scientific/Engineering :: Artificial Intelligence", |
|
|
| "Natural Language :: English", |
| "Natural Language :: Chinese (Simplified)", |
|
|
| "Programming Language :: Python :: 3", |
|
|
| "Operating System :: OS Independent", |
| ] |
| requires-python = ">=3.10" |
| dependencies = [ |
| |
| |
| |
| |
| "accelerate==1.8.1", |
| "cn2an==0.5.22", |
| "cython==3.0.7", |
| "descript-audiotools==0.7.2", |
| "einops>=0.8.1", |
| "ffmpeg-python==0.2.0", |
| "flash-attn", |
| "g2p-en==2.1.0", |
| "gradio>=5.45.0", |
| "jieba==0.42.1", |
| "json5==0.10.0", |
| "keras==2.9.0", |
| "librosa==0.10.2.post1", |
| "matplotlib==3.8.2", |
| "modelscope==1.27.0", |
| "munch==4.0.0", |
| "numba==0.58.1", |
| "numpy==1.26.2", |
| "omegaconf>=2.3.0", |
| "opencv-python==4.9.0.80", |
| "pandas==2.3.2", |
| "pypdf2>=3.0.1", |
| "safetensors==0.5.2", |
| "sentencepiece>=0.2.1", |
| "tensorboard==2.9.1", |
| "textstat>=0.7.10", |
| "tokenizers==0.21.0", |
| "torch==2.8.*", |
| "torchaudio==2.8.*", |
| "tqdm>=4.67.1", |
| "transformers==4.52.1", |
| |
| "triton-windows<3.5", |
| "wetext>=0.0.9; sys_platform != 'linux'", |
| "WeTextProcessing; sys_platform == 'linux'", |
| ] |
|
|
| [project.optional-dependencies] |
| |
| webui = [ |
| "gradio==5.45.0", |
| ] |
| |
| deepspeed = [ |
| "deepspeed==0.17.1", |
| ] |
| cu128 = [ |
| "torch>=2.7.1", |
| "torchvision>=0.22.1", |
| "torchaudio>=2.7.1" |
| ] |
|
|
|
|
| [project.urls] |
| Homepage = "https://github.com/index-tts/index-tts" |
| Repository = "https://github.com/index-tts/index-tts.git" |
|
|
|
|
| [project.scripts] |
| |
| indextts = "indextts.cli:main" |
|
|
| [build-system] |
| |
| |
| requires = ["hatchling >= 1.27.0"] |
| build-backend = "hatchling.build" |
|
|
| [tool.uv] |
| |
| |
| |
| |
| |
| no-build-isolation-package = ["deepspeed"] |
|
|
| [tool.uv.sources] |
| |
| |
| |
| torch = [ |
| { index = "pytorch-cuda", marker = "sys_platform == 'linux' or sys_platform == 'win32'", extra = "cu128"}, |
| ] |
| torchaudio = [ |
| { index = "pytorch-cuda", marker = "sys_platform == 'linux' or sys_platform == 'win32'", extra = "cu128" }, |
| ] |
| torchvision = [ |
| { index = "pytorch-cuda", marker = "sys_platform == 'linux' or sys_platform == 'win32'", extra = "cu128" }, |
| ] |
| flash-attn = { path = "flash_attn-2.8.3+cu128torch2.8.0cxx11abiFALSE-cp310-cp310-win_amd64.whl" } |
|
|
|
|
| [[tool.uv.index]] |
| name = "pytorch-cuda" |
| |
| |
| url = "https://download.pytorch.org/whl/cu128" |
| |
| explicit = true |
|
|