--- language: - hi - te - as - bn - gu - mr - kn - ml - or - pa - ta base_model: - ai4bharat/IndicF5 pipeline_tag: text-to-speech --- # IndicF5-TTS TensorRT-LLM Fast Inference โ€“ Zuppppppp ๐Ÿš€ Fast inference version of IndicF5 TTS using TensorRT-LLM. Supports 11 Indian languages. --- Accelerated inference for IndicF5 TTS โ€“ made for those of you who asked for speed! We heard you loud and clear. Sharing with โค๏ธ from **Saryps Labs**. This build is based on the amazing work at [wgs/F5-TTS-Faster](https://huggingface.co/wgs/F5-TTS-Faster), which converts F5-TTS checkpoints to run with TensorRT-LLM. ### ๐Ÿ”ง How it works (a quick overview) Hereโ€™s the basic workflow used for acceleration (as shared in [wgs/F5-TTS-Faster](https://huggingface.co/wgs/F5-TTS-Faster)): - First, export **F5-TTS** to ONNX in three parts. - Then, use **TensorRT-LLM** to rewrite the relevant **Transformer** parts of the network for acceleration. - The front-end and decoder still use ONNX inference. - You can also use `CUDAExecutionProvider`, `OpenVINOExecutionProvider`, etc., depending on your setup. If you're curious about the details, dive into the [original repo](https://github.com/WGS-note/F5_TTS_Faster) or ping me โ€” happy to expand on anything. --- ### ๐Ÿš€ Quickstart To try it out yourself: 1. Clone the [F5_TTS_Faster](https://github.com/WGS-note/F5_TTS_Faster) repo. 2. Set up the environment for TensorRT-LLM models (follow the repo instructions โ€“ itโ€™s a little convoluted, but manageable). 3. Place the `ckpts` folder at the root of the project. 4. Run the sample script inside `export_trtllm/` to begin inference. Benchmarks coming soon! If you try it out and get some numbers, would be awesome if you can share back ๐Ÿซก --- ### ๐Ÿ—ฃ๏ธ Supported Languages This model supports high-quality TTS synthesis in the following Indian languages: - Hindi (`hi`) - Telugu (`te`) - Assamese (`as`) - Bengali (`bn`) - Gujarati (`gu`) - Marathi (`mr`) - Kannada (`kn`) - Malayalam (`ml`) - Odia (`or`) - Punjabi (`pa`) - Tamil (`ta`) --- ### ๐Ÿ™ Credits Massive thanks to the original authors and repositories that made this possible: - https://huggingface.co/ai4bharat/IndicF5 - https://huggingface.co/wgs/F5-TTS-Faster - https://github.com/DakeQQ/F5-TTS-ONNX - https://github.com/SWivid/F5-TTS --- ### ๐Ÿ“œ Terms of Use By using this model, you agree to only clone voices for which you have **explicit permission**. Unauthorized voice cloning is **strictly prohibited**. Any misuse of this model is the **sole responsibility of the user**. Please donโ€™t misuse this. Letโ€™s build cool stuff, not cause trouble. ---