Views
No views yet
1pip install torch==2.8.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/cu126
2pip install vllm==0.10.2
3pip install -r requirements.txt1python api_server.py \
2 --model_dir /path/to/IndexTTS-1.5-vLLM \
3 --host 0.0.0.0 \
4 --port 6006 \
5 --gpu_memory_utilization 0.751import requests
2
3url = "http://localhost:6006/tts_url"
4data = {
5 "text": "Hello, this is IndexTTS speaking!",
6 "audio_paths": ["reference_audio.wav"]
7}
8
9response = requests.post(url, json=data)
10with open("output.wav", "wb") as f:
11 f.write(response.content)1@misc{indextts-vllm,
2 title={IndexTTS-1.5 with vLLM Acceleration},
3 author={Original: IndexTeam, vLLM conversion: Community},
4 year={2024},
5 howpublished={\url{https://huggingface.co/Hariprasath28/IndexTTS-1.5-vLLM}}
6}| Concurrent | Throughput | RTF | Speedup |
|---|---|---|---|
| 16 | 8.18 req/s | 0.225 | 50.2x |
| 32 | 8.23 req/s | 0.382 | 50.5x |
| 64 | 8.39 req/s | 0.683 | 51.5x |
| 96 | 8.49 req/s | 0.979 | 52.1x |
| 128 | 8.45 req/s | 1.298 | 51.8x |