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.

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
PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® X2 Elite QAIRT 2.42, ONNX Runtime 1.24.1 Download
PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® X Elite QAIRT 2.42, ONNX Runtime 1.24.1 Download
PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® 8 Gen 3 Mobile QAIRT 2.42, ONNX Runtime 1.24.1 Download
PRECOMPILED_QNN_ONNX mixed_with_float Qualcomm® QCS8550 (Proxy) QAIRT 2.42, ONNX Runtime 1.24.1 Download
PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® 8 Elite For Galaxy Mobile QAIRT 2.42, ONNX Runtime 1.24.1 Download
PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® 8 Elite Gen 5 Mobile QAIRT 2.42, ONNX Runtime 1.24.1 Download
PRECOMPILED_QNN_ONNX mixed_with_float Qualcomm® QCS9075 QAIRT 2.42, ONNX Runtime 1.24.1 Download
QNN_CONTEXT_BINARY mixed_with_float Snapdragon® X2 Elite QAIRT 2.43 Download
QNN_CONTEXT_BINARY mixed_with_float Snapdragon® X Elite QAIRT 2.43 Download
QNN_CONTEXT_BINARY mixed_with_float Snapdragon® 8 Gen 3 Mobile QAIRT 2.43 Download
QNN_CONTEXT_BINARY mixed_with_float Qualcomm® QCS8550 (Proxy) QAIRT 2.43 Download
QNN_CONTEXT_BINARY mixed_with_float Qualcomm® SA8775P QAIRT 2.43 Download
QNN_CONTEXT_BINARY mixed_with_float Snapdragon® 8 Elite For Galaxy Mobile QAIRT 2.43 Download
QNN_CONTEXT_BINARY mixed_with_float Snapdragon® 8 Elite Gen 5 Mobile QAIRT 2.43 Download
QNN_CONTEXT_BINARY mixed_with_float Qualcomm® SA7255P QAIRT 2.43 Download
QNN_CONTEXT_BINARY mixed_with_float Qualcomm® SA8295P QAIRT 2.43 Download
QNN_CONTEXT_BINARY mixed_with_float Qualcomm® QCS9075 QAIRT 2.43 Download
QNN_CONTEXT_BINARY mixed_with_float Qualcomm® QCS8450 (Proxy) QAIRT 2.43 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:

  • Model checkpoint: myshell-ai/MeloTTS-Spanish
  • Max decoded sequence length: 512 tokens
  • Number of parameters (Encoder_ES): 8.36M
  • Model size (Encoder_ES) (float): 32.0 MB
  • Number of parameters (Flow_ES): 20.1M
  • Model size (Flow_ES) (float): 76.9 MB
  • Number of parameters (Decoder_ES): 14.5M
  • Model size (Decoder_ES) (float): 55.5 MB
  • Number of parameters (T5Encoder_ES): 15.1M
  • Model size (T5Encoder_ES) (float): 57.5 MB
  • Number of parameters (T5Decoder_ES): 5.72M
  • Model size (T5Decoder_ES) (float): 21.8 MB

Performance Summary

Model Runtime Precision Chipset Inference Time (ms) Peak Memory Range (MB) Primary Compute Unit
Decoder_ES PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® X2 Elite 38.795 ms 20 - 20 MB NPU
Decoder_ES PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® X Elite 76.499 ms 18 - 18 MB NPU
Decoder_ES PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® 8 Gen 3 Mobile 57.043 ms 0 - 7 MB NPU
Decoder_ES PRECOMPILED_QNN_ONNX mixed_with_float Qualcomm® QCS8550 (Proxy) 77.806 ms 1 - 22 MB NPU
Decoder_ES PRECOMPILED_QNN_ONNX mixed_with_float Qualcomm® QCS9075 76.458 ms 0 - 3 MB NPU
Decoder_ES PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® 8 Elite For Galaxy Mobile 46.697 ms 1 - 9 MB NPU
Decoder_ES PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® 8 Elite Gen 5 Mobile 41.08 ms 0 - 11 MB NPU
Decoder_ES QNN_CONTEXT_BINARY mixed_with_float Snapdragon® X2 Elite 38.665 ms 0 - 0 MB NPU
Decoder_ES QNN_CONTEXT_BINARY mixed_with_float Snapdragon® X Elite 76.979 ms 0 - 0 MB NPU
Decoder_ES QNN_CONTEXT_BINARY mixed_with_float Snapdragon® 8 Gen 3 Mobile 56.923 ms 0 - 7 MB NPU
Decoder_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® QCS8275 (Proxy) 127.493 ms 0 - 9 MB NPU
Decoder_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® QCS8550 (Proxy) 78.31 ms 0 - 2 MB NPU
Decoder_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® SA8775P 77.552 ms 1 - 6 MB NPU
Decoder_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® QCS9075 76.734 ms 0 - 2 MB NPU
Decoder_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® QCS8450 (Proxy) 106.152 ms 1 - 10 MB NPU
Decoder_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® SA7255P 127.493 ms 0 - 9 MB NPU
Decoder_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® SA8295P 92.954 ms 0 - 6 MB NPU
Decoder_ES QNN_CONTEXT_BINARY mixed_with_float Snapdragon® 8 Elite For Galaxy Mobile 47.305 ms 0 - 13 MB NPU
Decoder_ES QNN_CONTEXT_BINARY mixed_with_float Snapdragon® 8 Elite Gen 5 Mobile 41.946 ms 0 - 10 MB NPU
Encoder_ES PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® X2 Elite 19.692 ms 14 - 14 MB NPU
Encoder_ES PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® X Elite 32.517 ms 13 - 13 MB NPU
Encoder_ES PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® 8 Gen 3 Mobile 25.147 ms 4 - 11 MB NPU
Encoder_ES PRECOMPILED_QNN_ONNX mixed_with_float Qualcomm® QCS8550 (Proxy) 33.47 ms 0 - 17 MB NPU
Encoder_ES PRECOMPILED_QNN_ONNX mixed_with_float Qualcomm® QCS9075 39.595 ms 4 - 6 MB NPU
Encoder_ES PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® 8 Elite For Galaxy Mobile 20.871 ms 3 - 10 MB NPU
Encoder_ES PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® 8 Elite Gen 5 Mobile 17.595 ms 4 - 14 MB NPU
Encoder_ES QNN_CONTEXT_BINARY mixed_with_float Snapdragon® X2 Elite 19.994 ms 4 - 4 MB NPU
Encoder_ES QNN_CONTEXT_BINARY mixed_with_float Snapdragon® X Elite 32.897 ms 4 - 4 MB NPU
Encoder_ES QNN_CONTEXT_BINARY mixed_with_float Snapdragon® 8 Gen 3 Mobile 24.772 ms 4 - 11 MB NPU
Encoder_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® QCS8275 (Proxy) 77.478 ms 2 - 10 MB NPU
Encoder_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® QCS8550 (Proxy) 33.78 ms 4 - 6 MB NPU
Encoder_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® SA8775P 128.02 ms 2 - 10 MB NPU
Encoder_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® QCS9075 39.734 ms 4 - 9 MB NPU
Encoder_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® QCS8450 (Proxy) 47.409 ms 4 - 13 MB NPU
Encoder_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® SA7255P 77.478 ms 2 - 10 MB NPU
Encoder_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® SA8295P 44.012 ms 2 - 7 MB NPU
Encoder_ES QNN_CONTEXT_BINARY mixed_with_float Snapdragon® 8 Elite For Galaxy Mobile 20.943 ms 2 - 15 MB NPU
Encoder_ES QNN_CONTEXT_BINARY mixed_with_float Snapdragon® 8 Elite Gen 5 Mobile 17.896 ms 4 - 14 MB NPU
Flow_ES PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® X2 Elite 84.771 ms 31 - 31 MB NPU
Flow_ES PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® X Elite 147.323 ms 30 - 30 MB NPU
Flow_ES PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® 8 Gen 3 Mobile 120.303 ms 8 - 15 MB NPU
Flow_ES PRECOMPILED_QNN_ONNX mixed_with_float Qualcomm® QCS8550 (Proxy) 156.57 ms 0 - 37 MB NPU
Flow_ES PRECOMPILED_QNN_ONNX mixed_with_float Qualcomm® QCS9075 150.009 ms 4 - 10 MB NPU
Flow_ES PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® 8 Elite For Galaxy Mobile 102.409 ms 3 - 10 MB NPU
Flow_ES PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® 8 Elite Gen 5 Mobile 91.115 ms 6 - 16 MB NPU
Flow_ES QNN_CONTEXT_BINARY mixed_with_float Snapdragon® X2 Elite 85.006 ms 4 - 4 MB NPU
Flow_ES QNN_CONTEXT_BINARY mixed_with_float Snapdragon® X Elite 147.404 ms 4 - 4 MB NPU
Flow_ES QNN_CONTEXT_BINARY mixed_with_float Snapdragon® 8 Gen 3 Mobile 119.241 ms 4 - 11 MB NPU
Flow_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® QCS8275 (Proxy) 279.012 ms 1 - 10 MB NPU
Flow_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® QCS8550 (Proxy) 158.167 ms 5 - 7 MB NPU
Flow_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® SA8775P 150.753 ms 1 - 10 MB NPU
Flow_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® QCS9075 149.461 ms 6 - 12 MB NPU
Flow_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® QCS8450 (Proxy) 181.966 ms 4 - 13 MB NPU
Flow_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® SA7255P 279.012 ms 1 - 10 MB NPU
Flow_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® SA8295P 188.679 ms 1 - 6 MB NPU
Flow_ES QNN_CONTEXT_BINARY mixed_with_float Snapdragon® 8 Elite For Galaxy Mobile 101.954 ms 3 - 12 MB NPU
Flow_ES QNN_CONTEXT_BINARY mixed_with_float Snapdragon® 8 Elite Gen 5 Mobile 90.941 ms 4 - 13 MB NPU
T5Decoder_ES PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® X2 Elite 0.268 ms 10 - 10 MB NPU
T5Decoder_ES PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® X Elite 0.451 ms 10 - 10 MB NPU
T5Decoder_ES PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® 8 Gen 3 Mobile 0.329 ms 0 - 7 MB NPU
T5Decoder_ES PRECOMPILED_QNN_ONNX mixed_with_float Qualcomm® QCS8550 (Proxy) 0.425 ms 0 - 12 MB NPU
T5Decoder_ES PRECOMPILED_QNN_ONNX mixed_with_float Qualcomm® QCS9075 0.57 ms 1 - 4 MB NPU
T5Decoder_ES PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® 8 Elite For Galaxy Mobile 0.295 ms 0 - 11 MB NPU
T5Decoder_ES PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® 8 Elite Gen 5 Mobile 0.269 ms 0 - 10 MB NPU
T5Decoder_ES QNN_CONTEXT_BINARY mixed_with_float Snapdragon® X2 Elite 0.362 ms 1 - 1 MB NPU
T5Decoder_ES QNN_CONTEXT_BINARY mixed_with_float Snapdragon® X Elite 0.44 ms 1 - 1 MB NPU
T5Decoder_ES QNN_CONTEXT_BINARY mixed_with_float Snapdragon® 8 Gen 3 Mobile 0.304 ms 0 - 7 MB NPU
T5Decoder_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® QCS8275 (Proxy) 1.021 ms 0 - 9 MB NPU
T5Decoder_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® QCS8550 (Proxy) 0.393 ms 1 - 2 MB NPU
T5Decoder_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® SA8775P 0.663 ms 0 - 9 MB NPU
T5Decoder_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® QCS9075 0.52 ms 3 - 5 MB NPU
T5Decoder_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® QCS8450 (Proxy) 0.579 ms 1 - 10 MB NPU
T5Decoder_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® SA7255P 1.021 ms 0 - 9 MB NPU
T5Decoder_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® SA8295P 0.844 ms 0 - 5 MB NPU
T5Decoder_ES QNN_CONTEXT_BINARY mixed_with_float Snapdragon® 8 Elite For Galaxy Mobile 0.276 ms 0 - 9 MB NPU
T5Decoder_ES QNN_CONTEXT_BINARY mixed_with_float Snapdragon® 8 Elite Gen 5 Mobile 0.257 ms 0 - 11 MB NPU
T5Encoder_ES PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® X2 Elite 0.465 ms 29 - 29 MB NPU
T5Encoder_ES PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® X Elite 1.005 ms 29 - 29 MB NPU
T5Encoder_ES PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® 8 Gen 3 Mobile 0.623 ms 0 - 6 MB NPU
T5Encoder_ES PRECOMPILED_QNN_ONNX mixed_with_float Qualcomm® QCS8550 (Proxy) 0.832 ms 0 - 65 MB NPU
T5Encoder_ES PRECOMPILED_QNN_ONNX mixed_with_float Qualcomm® QCS9075 1.114 ms 0 - 3 MB NPU
T5Encoder_ES PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® 8 Elite For Galaxy Mobile 0.519 ms 0 - 7 MB NPU
T5Encoder_ES PRECOMPILED_QNN_ONNX mixed_with_float Snapdragon® 8 Elite Gen 5 Mobile 0.506 ms 0 - 10 MB NPU
T5Encoder_ES QNN_CONTEXT_BINARY mixed_with_float Snapdragon® X2 Elite 0.743 ms 0 - 0 MB NPU
T5Encoder_ES QNN_CONTEXT_BINARY mixed_with_float Snapdragon® X Elite 1.002 ms 0 - 0 MB NPU
T5Encoder_ES QNN_CONTEXT_BINARY mixed_with_float Snapdragon® 8 Gen 3 Mobile 0.603 ms 0 - 7 MB NPU
T5Encoder_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® QCS8275 (Proxy) 2.766 ms 0 - 8 MB NPU
T5Encoder_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® QCS8550 (Proxy) 0.827 ms 0 - 1 MB NPU
T5Encoder_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® SA8775P 1.22 ms 0 - 5 MB NPU
T5Encoder_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® QCS9075 1.079 ms 2 - 4 MB NPU
T5Encoder_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® QCS8450 (Proxy) 1.342 ms 0 - 9 MB NPU
T5Encoder_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® SA7255P 2.766 ms 0 - 8 MB NPU
T5Encoder_ES QNN_CONTEXT_BINARY mixed_with_float Qualcomm® SA8295P 1.683 ms 0 - 5 MB NPU
T5Encoder_ES QNN_CONTEXT_BINARY mixed_with_float Snapdragon® 8 Elite For Galaxy Mobile 0.522 ms 0 - 8 MB NPU
T5Encoder_ES QNN_CONTEXT_BINARY mixed_with_float Snapdragon® 8 Elite Gen 5 Mobile 0.487 ms 0 - 10 MB NPU

License

  • The license for the original implementation of MeloTTS-ES can be found here.

References

Community

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support