Views
No views yet
.pte model files for running Resemble AI's Chatterbox Multilingual TTS fully on-device using ExecuTorch..pte files covering the complete TTS pipeline — from text input to 24kHz waveform — with zero PyTorch runtime required:| File | Size | Backend | Precision | Stage |
|---|---|---|---|---|
voice_encoder.pte | 7 MB | portable | FP32 | Speaker embedding |
xvector_encoder.pte | 27 MB | portable | FP32 | X-vector conditioning |
t3_cond_speech_emb.pte | 49 MB | portable | FP32 | Speech token embedding |
t3_cond_enc.pte | 18 MB | portable | FP32 | Text/conditioning encoder |
t3_prefill.pte | 1010 MB | XNNPACK | FP16 | T3 Transformer prefill |
t3_decode.pte | 1002 MB | XNNPACK | FP16 | T3 Transformer decode |
s3gen_encoder.pte | 178 MB | portable | FP32 | S3Gen Conformer encoder |
cfm_step.pte | 274 MB | XNNPACK | FP32 | CFM flow matching step |
hifigan.pte | 84 MB | XNNPACK | FP32 | HiFiGAN vocoder |
| Total | ~2.6 GB |
1from huggingface_hub import snapshot_download
2
3snapshot_download(
4 "acul3/chatterbox-executorch",
5 local_dir="et_models",
6 repo_type="model"
7)Text → MTLTokenizer → text tokens
Reference Audio → VoiceEncoder + CAMPPlus → speaker conditioning
↓
T3 Prefill (LlamaModel, conditioned)
↓
T3 Decode (autoregressive, ~100 tokens)
↓
S3Gen Encoder (Conformer)
↓
CFM Step × 2 (flow matching)
↓
HiFiGAN (vocoder, chunked)
↓
24kHz PCM waveform 🎵torch.where writes) — bypasses HF DynamicCache for torch.export compatibilitytorch.stft/torch.istft which XNNPACK doesn't supportT_MEL=2200, HiFiGAN expects T_MEL=300 (use chunked processing for longer audio)1# Clone code
2git clone https://github.com/acul3/chatterbox-executorch.git
3cd chatterbox-executorch
4
5# Download models (this repo)
6python -c "
7from huggingface_hub import snapshot_download
8snapshot_download('acul3/chatterbox-executorch', local_dir='et_models', repo_type='model')
9"
10
11# Run full PTE inference
12python test_true_full_pte.pyval module = Module.load(context.filesDir.path + "/t3_prefill.pte")| Stage | Time |
|---|---|
| Voice encoding | ~1s |
| T3 prefill | ~22s |
| T3 decode (~100 tokens) | ~800s total (~8s/token) |
| S3Gen encoder | ~2s |
| CFM (2 steps) | ~40s |
| HiFiGAN | ~10s/chunk |