PiperTTS-EN: Optimized for Qualcomm Devices
PiperTTS is a high-quality multi-lingual text-to-speech library.
This is based on the implementation of PiperTTS-EN 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.
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 | float | Snapdragon® X2 Elite | QAIRT 2.45 | Download |
| VOICE_AI | float | Snapdragon® X Elite | QAIRT 2.45 | Download |
| VOICE_AI | float | Snapdragon® 8 Gen 3 Mobile | QAIRT 2.45 | Download |
| VOICE_AI | float | Snapdragon® 8 Gen 1 Mobile | QAIRT 2.45 | Download |
| VOICE_AI | float | Qualcomm® Dragonwing™ IQ-8275 | QAIRT 2.45 | Download |
| VOICE_AI | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | QAIRT 2.45 | Download |
| VOICE_AI | float | Qualcomm® SA8775P | QAIRT 2.45 | Download |
| VOICE_AI | float | Qualcomm® Dragonwing™ IQ-9075 | QAIRT 2.45 | Download |
| VOICE_AI | float | Qualcomm® SA7255P | QAIRT 2.45 | Download |
| VOICE_AI | float | Qualcomm® SA8295P | QAIRT 2.45 | Download |
| VOICE_AI | float | Snapdragon® 8 Elite Mobile | QAIRT 2.45 | Download |
| VOICE_AI | float | Snapdragon® 8 Elite Gen 5 Mobile | QAIRT 2.45 | Download |
For more device-specific assets and performance metrics, visit PiperTTS-EN 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 PiperTTS-EN on GitHub for usage instructions.
Model Details
Model Type: Model_use_case.audio_generation
Model Stats:
- Max decoded sequence length: 64 tokens
- Model checkpoint: rhasspy/piper-checkpoints
- Model size (decoder) (float): 6.37 MB
- Model size (encoder) (float): 28.7 MB
- Model size (flow) (float): 28.2 MB
- Model size (sdp) (float): 6.61 KB
- Model size (t5_decoder) (float): 21.8 MB
- Model size (t5_encoder) (float): 57.5 MB
- Number of parameters (decoder): 1.66M
- Number of parameters (encoder): 7.51M
- Number of parameters (flow): 7.39M
- Number of parameters (sdp): 1.04K
- 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 |
|---|---|---|---|---|---|---|
| charsiu_decoder | VOICE_AI | float | Snapdragon® X2 Elite | 0.34 ms | 1 - 1 MB | NPU |
| charsiu_decoder | VOICE_AI | float | Snapdragon® X Elite | 0.426 ms | 1 - 1 MB | NPU |
| charsiu_decoder | VOICE_AI | float | Snapdragon® 8 Gen 3 Mobile | 0.31 ms | 0 - 8 MB | NPU |
| charsiu_decoder | VOICE_AI | float | Snapdragon® 8 Gen 1 Mobile | 0.574 ms | 1 - 10 MB | NPU |
| charsiu_decoder | VOICE_AI | float | Qualcomm® Dragonwing™ IQ-8275 | 0.579 ms | 1 - 3 MB | NPU |
| charsiu_decoder | VOICE_AI | float | Qualcomm® Dragonwing™ IQ-8275 | 0.967 ms | 0 - 9 MB | NPU |
| charsiu_decoder | VOICE_AI | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 0.396 ms | 0 - 1 MB | NPU |
| charsiu_decoder | VOICE_AI | float | Qualcomm® SA8775P | 0.703 ms | 0 - 9 MB | NPU |
| charsiu_decoder | VOICE_AI | float | Qualcomm® SA8650P | 0.703 ms | 0 - 9 MB | NPU |
| charsiu_decoder | VOICE_AI | float | Qualcomm® SA8255P | 0.703 ms | 0 - 9 MB | NPU |
| charsiu_decoder | VOICE_AI | float | Qualcomm® QCS8450 | 0.574 ms | 1 - 10 MB | NPU |
| charsiu_decoder | VOICE_AI | float | Qualcomm® Dragonwing™ IQ-9075 | 0.528 ms | 1 - 3 MB | NPU |
| charsiu_decoder | VOICE_AI | float | Qualcomm® Dragonwing™ IQ-X7181 | 0.426 ms | 1 - 1 MB | NPU |
| charsiu_decoder | VOICE_AI | float | Qualcomm® Dragonwing™ Q-8750 | 0.282 ms | 0 - 9 MB | NPU |
| charsiu_decoder | VOICE_AI | float | Qualcomm® SA7255P | 0.967 ms | 0 - 9 MB | NPU |
| charsiu_decoder | VOICE_AI | float | Qualcomm® SA8295P | 0.803 ms | 0 - 6 MB | NPU |
| charsiu_decoder | VOICE_AI | float | Snapdragon® 8 Elite Mobile | 0.282 ms | 0 - 9 MB | NPU |
| charsiu_decoder | VOICE_AI | float | Snapdragon® 8 Elite Gen 5 Mobile | 0.261 ms | 0 - 10 MB | NPU |
| charsiu_encoder | VOICE_AI | float | Snapdragon® X2 Elite | 0.628 ms | 0 - 0 MB | NPU |
| charsiu_encoder | VOICE_AI | float | Snapdragon® X Elite | 1.046 ms | 0 - 0 MB | NPU |
| charsiu_encoder | VOICE_AI | float | Snapdragon® 8 Gen 3 Mobile | 0.634 ms | 0 - 7 MB | NPU |
| charsiu_encoder | VOICE_AI | float | Snapdragon® 8 Gen 1 Mobile | 1.35 ms | 0 - 10 MB | NPU |
| charsiu_encoder | VOICE_AI | float | Qualcomm® Dragonwing™ IQ-8275 | 1.083 ms | 0 - 2 MB | NPU |
| charsiu_encoder | VOICE_AI | float | Qualcomm® Dragonwing™ IQ-8275 | 2.813 ms | 0 - 9 MB | NPU |
| charsiu_encoder | VOICE_AI | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 0.894 ms | 1 - 2 MB | NPU |
| charsiu_encoder | VOICE_AI | float | Qualcomm® SA8775P | 1.263 ms | 0 - 10 MB | NPU |
| charsiu_encoder | VOICE_AI | float | Qualcomm® SA8650P | 1.263 ms | 0 - 10 MB | NPU |
| charsiu_encoder | VOICE_AI | float | Qualcomm® SA8255P | 1.263 ms | 0 - 10 MB | NPU |
| charsiu_encoder | VOICE_AI | float | Qualcomm® QCS8450 | 1.35 ms | 0 - 10 MB | NPU |
| charsiu_encoder | VOICE_AI | float | Qualcomm® Dragonwing™ IQ-9075 | 1.13 ms | 0 - 2 MB | NPU |
| charsiu_encoder | VOICE_AI | float | Qualcomm® Dragonwing™ IQ-X7181 | 1.046 ms | 0 - 0 MB | NPU |
| charsiu_encoder | VOICE_AI | float | Qualcomm® Dragonwing™ Q-8750 | 0.522 ms | 0 - 13 MB | NPU |
| charsiu_encoder | VOICE_AI | float | Qualcomm® SA7255P | 2.813 ms | 0 - 9 MB | NPU |
| charsiu_encoder | VOICE_AI | float | Qualcomm® SA8295P | 1.731 ms | 0 - 6 MB | NPU |
| charsiu_encoder | VOICE_AI | float | Snapdragon® 8 Elite Mobile | 0.522 ms | 0 - 13 MB | NPU |
| charsiu_encoder | VOICE_AI | float | Snapdragon® 8 Elite Gen 5 Mobile | 0.489 ms | 0 - 13 MB | NPU |
| decoder | VOICE_AI | float | Snapdragon® X2 Elite | 1.727 ms | 0 - 0 MB | NPU |
| decoder | VOICE_AI | float | Snapdragon® X Elite | 3.076 ms | 0 - 0 MB | NPU |
| decoder | VOICE_AI | float | Snapdragon® 8 Gen 3 Mobile | 2.208 ms | 0 - 7 MB | NPU |
| decoder | VOICE_AI | float | Snapdragon® 8 Gen 1 Mobile | 4.371 ms | 0 - 9 MB | NPU |
| decoder | VOICE_AI | float | Qualcomm® Dragonwing™ IQ-8275 | 3.421 ms | 0 - 2 MB | NPU |
| decoder | VOICE_AI | float | Qualcomm® Dragonwing™ IQ-8275 | 8.073 ms | 0 - 9 MB | NPU |
| decoder | VOICE_AI | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 3.019 ms | 0 - 1 MB | NPU |
| decoder | VOICE_AI | float | Qualcomm® SA8775P | 3.48 ms | 0 - 10 MB | NPU |
| decoder | VOICE_AI | float | Qualcomm® SA8650P | 3.48 ms | 0 - 10 MB | NPU |
| decoder | VOICE_AI | float | Qualcomm® SA8255P | 3.48 ms | 0 - 10 MB | NPU |
| decoder | VOICE_AI | float | Qualcomm® QCS8450 | 4.371 ms | 0 - 9 MB | NPU |
| decoder | VOICE_AI | float | Qualcomm® Dragonwing™ IQ-9075 | 3.344 ms | 0 - 2 MB | NPU |
| decoder | VOICE_AI | float | Qualcomm® Dragonwing™ IQ-X7181 | 3.076 ms | 0 - 0 MB | NPU |
| decoder | VOICE_AI | float | Qualcomm® Dragonwing™ Q-8750 | 1.898 ms | 0 - 14 MB | NPU |
| decoder | VOICE_AI | float | Qualcomm® SA7255P | 8.073 ms | 0 - 9 MB | NPU |
| decoder | VOICE_AI | float | Qualcomm® SA8295P | 3.988 ms | 0 - 6 MB | NPU |
| decoder | VOICE_AI | float | Snapdragon® 8 Elite Mobile | 1.898 ms | 0 - 14 MB | NPU |
| decoder | VOICE_AI | float | Snapdragon® 8 Elite Gen 5 Mobile | 1.821 ms | 0 - 8 MB | NPU |
| encoder | VOICE_AI | float | Snapdragon® X2 Elite | 18.49 ms | 0 - 0 MB | NPU |
| encoder | VOICE_AI | float | Snapdragon® X Elite | 29.735 ms | 0 - 0 MB | NPU |
| encoder | VOICE_AI | float | Snapdragon® 8 Gen 3 Mobile | 23.276 ms | 0 - 7 MB | NPU |
| encoder | VOICE_AI | float | Snapdragon® 8 Gen 1 Mobile | 38.317 ms | 1 - 10 MB | NPU |
| encoder | VOICE_AI | float | Qualcomm® Dragonwing™ IQ-8275 | 29.932 ms | 0 - 3 MB | NPU |
| encoder | VOICE_AI | float | Qualcomm® Dragonwing™ IQ-8275 | 47.099 ms | 0 - 8 MB | NPU |
| encoder | VOICE_AI | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 31.525 ms | 0 - 2 MB | NPU |
| encoder | VOICE_AI | float | Qualcomm® SA8775P | 32.94 ms | 0 - 9 MB | NPU |
| encoder | VOICE_AI | float | Qualcomm® SA8650P | 32.94 ms | 0 - 9 MB | NPU |
| encoder | VOICE_AI | float | Qualcomm® SA8255P | 32.94 ms | 0 - 9 MB | NPU |
| encoder | VOICE_AI | float | Qualcomm® QCS8450 | 38.317 ms | 1 - 10 MB | NPU |
| encoder | VOICE_AI | float | Qualcomm® Dragonwing™ IQ-9075 | 32.361 ms | 0 - 3 MB | NPU |
| encoder | VOICE_AI | float | Qualcomm® Dragonwing™ IQ-X7181 | 29.735 ms | 0 - 0 MB | NPU |
| encoder | VOICE_AI | float | Qualcomm® Dragonwing™ Q-8750 | 19.332 ms | 0 - 13 MB | NPU |
| encoder | VOICE_AI | float | Qualcomm® SA7255P | 47.099 ms | 0 - 8 MB | NPU |
| encoder | VOICE_AI | float | Qualcomm® SA8295P | 35.202 ms | 0 - 6 MB | NPU |
| encoder | VOICE_AI | float | Snapdragon® 8 Elite Mobile | 19.332 ms | 0 - 13 MB | NPU |
| encoder | VOICE_AI | float | Snapdragon® 8 Elite Gen 5 Mobile | 17.048 ms | 0 - 8 MB | NPU |
| flow | VOICE_AI | float | Snapdragon® X2 Elite | 9.601 ms | 4 - 4 MB | NPU |
| flow | VOICE_AI | float | Snapdragon® X Elite | 15.768 ms | 4 - 4 MB | NPU |
| flow | VOICE_AI | float | Snapdragon® 8 Gen 3 Mobile | 11.106 ms | 4 - 11 MB | NPU |
| flow | VOICE_AI | float | Snapdragon® 8 Gen 1 Mobile | 18.323 ms | 4 - 13 MB | NPU |
| flow | VOICE_AI | float | Qualcomm® Dragonwing™ IQ-8275 | 17.557 ms | 4 - 11 MB | NPU |
| flow | VOICE_AI | float | Qualcomm® Dragonwing™ IQ-8275 | 39.915 ms | 1 - 9 MB | NPU |
| flow | VOICE_AI | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 15.279 ms | 4 - 5 MB | NPU |
| flow | VOICE_AI | float | Qualcomm® SA8775P | 17.282 ms | 1 - 11 MB | NPU |
| flow | VOICE_AI | float | Qualcomm® SA8650P | 17.282 ms | 1 - 11 MB | NPU |
| flow | VOICE_AI | float | Qualcomm® SA8255P | 17.282 ms | 1 - 11 MB | NPU |
| flow | VOICE_AI | float | Qualcomm® QCS8450 | 18.323 ms | 4 - 13 MB | NPU |
| flow | VOICE_AI | float | Qualcomm® Dragonwing™ IQ-9075 | 17.276 ms | 4 - 10 MB | NPU |
| flow | VOICE_AI | float | Qualcomm® Dragonwing™ IQ-X7181 | 15.768 ms | 4 - 4 MB | NPU |
| flow | VOICE_AI | float | Qualcomm® Dragonwing™ Q-8750 | 8.947 ms | 1 - 14 MB | NPU |
| flow | VOICE_AI | float | Qualcomm® SA7255P | 39.915 ms | 1 - 9 MB | NPU |
| flow | VOICE_AI | float | Qualcomm® SA8295P | 18.783 ms | 0 - 6 MB | NPU |
| flow | VOICE_AI | float | Snapdragon® 8 Elite Mobile | 8.947 ms | 1 - 14 MB | NPU |
| flow | VOICE_AI | float | Snapdragon® 8 Elite Gen 5 Mobile | 8.982 ms | 3 - 11 MB | NPU |
| sdp | VOICE_AI | float | Snapdragon® X2 Elite | 7.146 ms | 0 - 0 MB | NPU |
| sdp | VOICE_AI | float | Snapdragon® X Elite | 11.269 ms | 0 - 0 MB | NPU |
| sdp | VOICE_AI | float | Snapdragon® 8 Gen 3 Mobile | 7.699 ms | 0 - 7 MB | NPU |
| sdp | VOICE_AI | float | Snapdragon® 8 Gen 1 Mobile | 11.204 ms | 0 - 10 MB | NPU |
| sdp | VOICE_AI | float | Qualcomm® Dragonwing™ IQ-8275 | 10.375 ms | 0 - 3 MB | NPU |
| sdp | VOICE_AI | float | Qualcomm® Dragonwing™ IQ-8275 | 20.608 ms | 0 - 9 MB | NPU |
| sdp | VOICE_AI | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 10.378 ms | 0 - 2 MB | NPU |
| sdp | VOICE_AI | float | Qualcomm® SA8775P | 11.132 ms | 0 - 10 MB | NPU |
| sdp | VOICE_AI | float | Qualcomm® SA8650P | 11.132 ms | 0 - 10 MB | NPU |
| sdp | VOICE_AI | float | Qualcomm® SA8255P | 11.132 ms | 0 - 10 MB | NPU |
| sdp | VOICE_AI | float | Qualcomm® QCS8450 | 11.204 ms | 0 - 10 MB | NPU |
| sdp | VOICE_AI | float | Qualcomm® Dragonwing™ IQ-9075 | 11.279 ms | 2 - 4 MB | NPU |
| sdp | VOICE_AI | float | Qualcomm® Dragonwing™ IQ-X7181 | 11.269 ms | 0 - 0 MB | NPU |
| sdp | VOICE_AI | float | Qualcomm® Dragonwing™ Q-8750 | 6.955 ms | 0 - 13 MB | NPU |
| sdp | VOICE_AI | float | Qualcomm® SA7255P | 20.608 ms | 0 - 9 MB | NPU |
| sdp | VOICE_AI | float | Qualcomm® SA8295P | 12.667 ms | 0 - 6 MB | NPU |
| sdp | VOICE_AI | float | Snapdragon® 8 Elite Mobile | 6.955 ms | 0 - 13 MB | NPU |
| sdp | VOICE_AI | float | Snapdragon® 8 Elite Gen 5 Mobile | 6.592 ms | 0 - 10 MB | NPU |
License
- The license for the original implementation of PiperTTS-EN 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.
