MOSS-TTS-Local-Transformer-ONNX is an ONNX-optimized export of the MOSS-TTS Local architecture. It is designed for high-fidelity zero-shot voice cloning, multilingual speech synthesis, and cross-platform inference with ONNX Runtime.
This bundle targets the MOSS-TTS Local 1.7B model family and is packaged as a production-oriented ONNX layout for CPU and GPU-backed runtimes. The current export keeps the main acoustic stack in float32 and uses a weight-quantized decoder graph to reduce size while preserving voice cloning quality.
MOSS-TTS is the flagship TTS family from MOSI.AI and the OpenMOSS team. The Local Transformer variant is the compact 1.7B architecture in that family, built around a global latent backbone plus a lightweight local autoregressive decoder over RVQ audio tokens.
Compared with the larger Delay-pattern model, the Local variant is smaller, easier to evaluate, and strong on objective benchmarks, while still supporting:
This ONNX export focuses on the MOSS-TTS Local single-speaker synthesis path.
The ONNX export uses the MOSS-TTS Local architecture:
Chinese, English, German, Spanish, French, Japanese, Italian, Hebrew, Korean, Russian, Persian (Farsi), Arabic, Polish, Portuguese, Czech, Danish, Swedish, Hungarian, Greek, Turkish
Use any ONNX Runtime-compatible inference stack that supports multi-file ONNX models with external data.
This export was validated with:
This bundle is designed to be consumed directly from an ONNX runtime application. One supported reference runtime is onnx-server:
onnx-server tts-moss \
--text "Hello, this is a voice cloning test." \
--ref reference.wav \
--output output.wav
For AMD ROCm:
onnx-server tts-moss \
--text "Hello, this is a voice cloning test." \
--ref reference.wav \
--output output.wav \
--rocm \
--rocm-device-id 0
onnx-server tts-moss \
--text "Your text here" \
--ref reference.wav \
--output output.wav
--text: Text to synthesize (required)--ref: Reference audio for voice cloning (optional, but required for cloning)--output: Output WAV file path--max-seconds: Maximum output duration in seconds--text-temp: Text-token sampling temperature--text-top-k: Text-token top-k sampling--audio-temp: Audio-token sampling temperature--audio-top-k: Audio-token top-k sampling--audio-top-p: Audio-token top-p sampling--audio-rep-penalty: Audio repetition penalty--seed: Random seed for deterministic sampling--cuda: Enable NVIDIA CUDA execution provider--device-id: CUDA device ID--rocm: Enable AMD ROCm execution provider--rocm-device-id: ROCm device IDThe ONNX export includes 8 runtime components:
| Component | Description | Input | Output |
|---|---|---|---|
embeddings.onnx |
Multi-stream token embedding lookup | (B, T, 33) token IDs |
(B, T, 2048) global embeddings |
backbone_prefill.onnx |
Prompt prefill for the global backbone | embeddings, mask, positions | hidden states, KV cache |
backbone_decode.onnx |
Single-step autoregressive backbone decode | step embedding, mask, position, KV cache | hidden state, updated KV cache |
global_to_local.onnx |
Global-to-local projection | global hidden, previous audio tokens | local latent, projected audio features |
token_to_local.onnx |
Per-channel local token projection | 33-channel token block | local token embeddings |
local_trm.onnx |
Local autoregressive token block model | (1, 33, 1536) local sequence |
text logits, audio logits |
encoder.onnx |
Reference audio tokenizer | waveform | RVQ-32 audio codes |
decoder.onnx |
Audio waveform decoder | RVQ-32 audio codes | 24 kHz mono waveform |
| Platform | Status | Notes |
|---|---|---|
| CPU | Supported | Full inference path is available on CPU |
| NVIDIA GPU | Supported | Backbone and local stack can run on CUDA-enabled ONNX Runtime builds |
| AMD GPU | Supported | Validated with ROCm for the backbone and local stack |
Upstream MOSS-TTS Local benchmark results reported on Seed-TTS-eval:
1.8573.421.2078.82These values come from the original MOSS-TTS Local model release and are included as upstream reference metrics. Actual quality depends on runtime, decoding settings, and reference audio quality.
moss_tts_local_onnx.onnx.data / .data sidecar filesdecoder.onnxThis model should be used responsibly. Be aware that:
Apache 2.0
If you use this ONNX export, please cite the original MOSS-TTS work and model release from MOSI.AI / OpenMOSS Team.
This ONNX export is based on OpenMOSS-Team/MOSS-TTS-Local-Transformer.
有文件?提交种子。
发布种子token_to_local.onnx 1.5 GiBembeddings.onnx 1.4 GiBdecoder.onnx 862 MiBglobal_to_local.onnx 301 MiBbackbone_decode.onnx 4 MiBbackbone_prefill.onnx 4 MiBencoder.onnx 1 MiBlocal_trm.onnx 1 MiB