MeloTTS-ES: Optimized for Qualcomm Devices
MeloTTS is a high-quality multi-lingual text-to-speech library for English, Chinese and Spanish language.
This is based on the implementation of MeloTTS-ES found here. This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the Qualcomm® AI Hub Models library to export with custom configurations. More details on model performance across various devices, can be found here.
Qualcomm AI Hub Models uses Qualcomm AI Hub Workbench to compile, profile, and evaluate this model. Sign up to run these models on a hosted Qualcomm® device.
Deploying MeloTTS-ES on-device
This model is compatible with the Qualcomm Voice AI SDK. Download the SDK from the Qualcomm Package Manager to deploy this model on-device.
Getting Started
There are two ways to deploy this model on your device:
Option 1: Download Pre-Exported Models
Below are pre-exported model assets ready for deployment.
| Runtime | Precision | Chipset | SDK Versions | Download |
|---|---|---|---|---|
| VOICE_AI | mixed_with_float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | QAIRT 2.50 | Download |
| VOICE_AI | mixed_with_float | Snapdragon® 8 Elite For Galaxy Mobile | QAIRT 2.50 | Download |
| VOICE_AI | mixed_with_float | Snapdragon® X2 Elite | QAIRT 2.50 | Download |
| VOICE_AI | mixed_with_float | Snapdragon® X Elite | QAIRT 2.50 | Download |
| VOICE_AI | mixed_with_float | Snapdragon® 8 Gen 3 Mobile | QAIRT 2.50 | Download |
| VOICE_AI | mixed_with_float | Qualcomm® Dragonwing™ IQ-8275 | QAIRT 2.50 | Download |
| VOICE_AI | mixed_with_float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | QAIRT 2.50 | Download |
| VOICE_AI | mixed_with_float | Qualcomm® SA8775P | QAIRT 2.50 | Download |
| VOICE_AI | mixed_with_float | Qualcomm® Dragonwing™ IQ-9075 | QAIRT 2.50 | Download |
| VOICE_AI | mixed_with_float | Qualcomm® SA7255P | QAIRT 2.50 | Download |
For more device-specific assets and performance metrics, visit MeloTTS-ES on Qualcomm® AI Hub.
Option 2: Export with Custom Configurations
Use the Qualcomm® AI Hub Models Python library to compile and export the model with your own:
- Custom weights (e.g., fine-tuned checkpoints)
- Custom input shapes
- Target device and runtime configurations
This option is ideal if you need to customize the model beyond the default configuration provided here.
See our repository for MeloTTS-ES on GitHub for usage instructions.
Model Details
Model Type: Model_use_case.audio_generation
Model Stats:
- Max decoded sequence length: 512 tokens
- Model checkpoint: myshell-ai/MeloTTS-Spanish
- Model size (decoder) (float): 55.5 MB
- Model size (encoder) (float): 32.0 MB
- Model size (flow) (float): 76.9 MB
- Model size (t5_decoder) (float): 21.8 MB
- Model size (t5_encoder) (float): 57.5 MB
- Number of parameters (decoder): 14.5M
- Number of parameters (encoder): 8.36M
- Number of parameters (flow): 20.1M
- Number of parameters (t5_decoder): 5.72M
- Number of parameters (t5_encoder): 15.1M
Performance Summary
| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit |
|---|---|---|---|---|---|---|
| decoder | VOICE_AI | mixed_with_float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 36.763 ms | 0 - 9 MB | NPU |
| decoder | VOICE_AI | mixed_with_float | Snapdragon® 8 Elite For Galaxy Mobile | 42.803 ms | 0 - 8 MB | NPU |
| decoder | VOICE_AI | mixed_with_float | Snapdragon® X2 Elite | 36.244 ms | 1 - 1 MB | NPU |
| decoder | VOICE_AI | mixed_with_float | Snapdragon® X Elite | 72.533 ms | 1 - 1 MB | NPU |
| decoder | VOICE_AI | mixed_with_float | Snapdragon® 8 Gen 3 Mobile | 51.466 ms | 0 - 8 MB | NPU |
| decoder | VOICE_AI | mixed_with_float | Qualcomm® Dragonwing™ IQ-8275 | 64.3 ms | 0 - 3 MB | NPU |
| decoder | VOICE_AI | mixed_with_float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 72.392 ms | 1 - 2 MB | NPU |
| decoder | VOICE_AI | mixed_with_float | Qualcomm® SA8775P | 72.014 ms | 0 - 9 MB | NPU |
| decoder | VOICE_AI | mixed_with_float | Qualcomm® SA8650P | 72.014 ms | 0 - 9 MB | NPU |
| decoder | VOICE_AI | mixed_with_float | Qualcomm® SA8255P | 72.014 ms | 0 - 9 MB | NPU |
| decoder | VOICE_AI | mixed_with_float | Qualcomm® Dragonwing™ IQ-9075 | 71.305 ms | 0 - 2 MB | NPU |
| decoder | VOICE_AI | mixed_with_float | Qualcomm® Dragonwing™ IQ-X7181 | 72.533 ms | 1 - 1 MB | NPU |
| decoder | VOICE_AI | mixed_with_float | Qualcomm® Dragonwing™ Q-8750 | 42.803 ms | 0 - 8 MB | NPU |
| encoder | VOICE_AI | mixed_with_float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 15.461 ms | 2 - 10 MB | NPU |
| encoder | VOICE_AI | mixed_with_float | Snapdragon® 8 Elite For Galaxy Mobile | 16.545 ms | 2 - 10 MB | NPU |
| encoder | VOICE_AI | mixed_with_float | Snapdragon® X2 Elite | 15.182 ms | 4 - 4 MB | NPU |
| encoder | VOICE_AI | mixed_with_float | Snapdragon® X Elite | 26.15 ms | 4 - 4 MB | NPU |
| encoder | VOICE_AI | mixed_with_float | Snapdragon® 8 Gen 3 Mobile | 18.577 ms | 4 - 11 MB | NPU |
| encoder | VOICE_AI | mixed_with_float | Qualcomm® Dragonwing™ IQ-8275 | 27.33 ms | 4 - 11 MB | NPU |
| encoder | VOICE_AI | mixed_with_float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 26.002 ms | 4 - 5 MB | NPU |
| encoder | VOICE_AI | mixed_with_float | Qualcomm® SA8775P | 27.488 ms | 2 - 11 MB | NPU |
| encoder | VOICE_AI | mixed_with_float | Qualcomm® SA8650P | 27.488 ms | 2 - 11 MB | NPU |
| encoder | VOICE_AI | mixed_with_float | Qualcomm® SA8255P | 27.488 ms | 2 - 11 MB | NPU |
| encoder | VOICE_AI | mixed_with_float | Qualcomm® Dragonwing™ IQ-9075 | 27.395 ms | 4 - 10 MB | NPU |
| encoder | VOICE_AI | mixed_with_float | Qualcomm® Dragonwing™ IQ-X7181 | 26.15 ms | 4 - 4 MB | NPU |
| encoder | VOICE_AI | mixed_with_float | Qualcomm® Dragonwing™ Q-8750 | 16.545 ms | 2 - 10 MB | NPU |
| flow | VOICE_AI | mixed_with_float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 31.87 ms | 2 - 9 MB | NPU |
| flow | VOICE_AI | mixed_with_float | Snapdragon® 8 Elite For Galaxy Mobile | 42.043 ms | 2 - 10 MB | NPU |
| flow | VOICE_AI | mixed_with_float | Snapdragon® X2 Elite | 31.725 ms | 2 - 2 MB | NPU |
| flow | VOICE_AI | mixed_with_float | Snapdragon® X Elite | 74.706 ms | 2 - 2 MB | NPU |
| flow | VOICE_AI | mixed_with_float | Snapdragon® 8 Gen 3 Mobile | 51.792 ms | 2 - 10 MB | NPU |
| flow | VOICE_AI | mixed_with_float | Qualcomm® Dragonwing™ IQ-8275 | 69.073 ms | 2 - 7 MB | NPU |
| flow | VOICE_AI | mixed_with_float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 73.582 ms | 2 - 6 MB | NPU |
| flow | VOICE_AI | mixed_with_float | Qualcomm® SA8775P | 73.066 ms | 2 - 11 MB | NPU |
| flow | VOICE_AI | mixed_with_float | Qualcomm® SA8650P | 73.066 ms | 2 - 11 MB | NPU |
| flow | VOICE_AI | mixed_with_float | Qualcomm® SA8255P | 73.066 ms | 2 - 11 MB | NPU |
| flow | VOICE_AI | mixed_with_float | Qualcomm® Dragonwing™ IQ-9075 | 72.866 ms | 1 - 6 MB | NPU |
| flow | VOICE_AI | mixed_with_float | Qualcomm® Dragonwing™ IQ-X7181 | 74.706 ms | 2 - 2 MB | NPU |
| flow | VOICE_AI | mixed_with_float | Qualcomm® Dragonwing™ Q-8750 | 42.043 ms | 2 - 10 MB | NPU |
| t5_decoder | VOICE_AI | mixed_with_float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 0.272 ms | 0 - 9 MB | NPU |
| t5_decoder | VOICE_AI | mixed_with_float | Snapdragon® 8 Elite For Galaxy Mobile | 0.277 ms | 0 - 8 MB | NPU |
| t5_decoder | VOICE_AI | mixed_with_float | Snapdragon® X2 Elite | 0.362 ms | 1 - 1 MB | NPU |
| t5_decoder | VOICE_AI | mixed_with_float | Snapdragon® X Elite | 0.429 ms | 1 - 1 MB | NPU |
| t5_decoder | VOICE_AI | mixed_with_float | Snapdragon® 8 Gen 3 Mobile | 0.317 ms | 0 - 7 MB | NPU |
| t5_decoder | VOICE_AI | mixed_with_float | Qualcomm® Dragonwing™ IQ-8275 | 0.571 ms | 1 - 4 MB | NPU |
| t5_decoder | VOICE_AI | mixed_with_float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 0.406 ms | 1 - 3 MB | NPU |
| t5_decoder | VOICE_AI | mixed_with_float | Qualcomm® SA8775P | 0.668 ms | 0 - 9 MB | NPU |
| t5_decoder | VOICE_AI | mixed_with_float | Qualcomm® SA8650P | 0.668 ms | 0 - 9 MB | NPU |
| t5_decoder | VOICE_AI | mixed_with_float | Qualcomm® SA8255P | 0.668 ms | 0 - 9 MB | NPU |
| t5_decoder | VOICE_AI | mixed_with_float | Qualcomm® Dragonwing™ IQ-9075 | 0.54 ms | 3 - 5 MB | NPU |
| t5_decoder | VOICE_AI | mixed_with_float | Qualcomm® Dragonwing™ IQ-X7181 | 0.429 ms | 1 - 1 MB | NPU |
| t5_decoder | VOICE_AI | mixed_with_float | Qualcomm® Dragonwing™ Q-8750 | 0.277 ms | 0 - 8 MB | NPU |
| t5_encoder | VOICE_AI | mixed_with_float | Snapdragon® 8 Elite Gen 5 For Galaxy Mobile | 0.491 ms | 0 - 9 MB | NPU |
| t5_encoder | VOICE_AI | mixed_with_float | Snapdragon® 8 Elite For Galaxy Mobile | 0.522 ms | 0 - 8 MB | NPU |
| t5_encoder | VOICE_AI | mixed_with_float | Snapdragon® X2 Elite | 0.627 ms | 0 - 0 MB | NPU |
| t5_encoder | VOICE_AI | mixed_with_float | Snapdragon® X Elite | 1.04 ms | 0 - 0 MB | NPU |
| t5_encoder | VOICE_AI | mixed_with_float | Snapdragon® 8 Gen 3 Mobile | 0.628 ms | 0 - 7 MB | NPU |
| t5_encoder | VOICE_AI | mixed_with_float | Qualcomm® Dragonwing™ IQ-8275 | 1.079 ms | 0 - 3 MB | NPU |
| t5_encoder | VOICE_AI | mixed_with_float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 0.886 ms | 0 - 2 MB | NPU |
| t5_encoder | VOICE_AI | mixed_with_float | Qualcomm® SA8775P | 1.227 ms | 0 - 9 MB | NPU |
| t5_encoder | VOICE_AI | mixed_with_float | Qualcomm® SA8650P | 1.227 ms | 0 - 9 MB | NPU |
| t5_encoder | VOICE_AI | mixed_with_float | Qualcomm® SA8255P | 1.227 ms | 0 - 9 MB | NPU |
| t5_encoder | VOICE_AI | mixed_with_float | Qualcomm® Dragonwing™ IQ-9075 | 1.122 ms | 0 - 2 MB | NPU |
| t5_encoder | VOICE_AI | mixed_with_float | Qualcomm® Dragonwing™ IQ-X7181 | 1.04 ms | 0 - 0 MB | NPU |
| t5_encoder | VOICE_AI | mixed_with_float | Qualcomm® Dragonwing™ Q-8750 | 0.522 ms | 0 - 8 MB | NPU |
License
- The license for the original implementation of MeloTTS-ES can be found here.
References
Community
- Join our AI Hub Slack community to collaborate, post questions and learn more about on-device AI.
- For questions or feedback please reach out to us.
