Downloads · 30 days
37
9% of all-time downloads
sivasub987/Qwen3-TTS-0.6B-ONNX-INT8
Qwen3-TTS-0.6B-ONNX-INT8 is a text-to-speech model from sivasub987. Use it when you need text read aloud. It is set up for onnxruntime. The card lists the license as apache-2.0.
This repository provides INT8 quantized ONNX models for Qwen3-TTS 0.6B, optimized for efficient inference.
Downloads · 30 days
37
9% of all-time downloads
All-time downloads
427
Public
Repo size
2.4 GB
Likes
3
Public
Click a slice to open those files.
.onnx2.1 GB · 100%
From the Hugging Face model README
This repository provides INT8 quantized ONNX models for Qwen3-TTS 0.6B, optimized for efficient inference.
| Model | Original | Quantized | Compression |
|---|---|---|---|
| talker_prefill | 1.69 GB | 448 MB | 75% |
| talker_decode | 1.69 GB | 448 MB | 75% |
| text_project | 1.21 GB | 317 MB | 75% |
| tokenizer12hz_decode | 436 MB | 221 MB | 52% |
| code_predictor | 420 MB | 111 MB | 75% |
| tokenizer12hz_encode | 184 MB | 76 MB | 61% |
| code_predictor_embed | 120 MB | 31 MB | 75% |
| speaker_encoder | 34 MB | 9.3 MB | 73% |
| codec_embed | 12 MB | 3.1 MB | 75% |
| Total | 6.1 GB | 1.6 GB | 73% |
pip install onnxruntime numpy
import onnxruntime as ort
# Load a quantized model
session = ort.InferenceSession(
"text_project_q.onnx",
providers=["CPUExecutionProvider"]
)
# Run inference
outputs = session.run(None, {"input_ids": input_ids})
For the complete TTS pipeline, you'll need:
See the original repository for the complete pipeline example.
quantized_int4/
├── codec_embed_q.onnx # 3.1 MB
├── speaker_encoder_q.onnx # 9.3 MB
├── code_predictor_embed_q.onnx # 31 MB
├── code_predictor_q.onnx # 111 MB
├── tokenizer12hz_encode_q.onnx # 76 MB
├── tokenizer12hz_decode_q.onnx # 221 MB
├── text_project_q.onnx # 317 MB
├── talker_decode_q.onnx # 448 MB
└── talker_prefill_q.onnx # 448 MB
| Model | Status | Notes |
|---|---|---|
| text_project_q.onnx | ✅ Works | Text → embedding |
| codec_embed_q.onnx | ✅ Works | Code embedding |
| code_predictor_q.onnx | ✅ Works | Sub-code prediction |
| code_predictor_embed_q.onnx | ✅ Works | Code predictor embedding |
| talker_prefill_q.onnx | ✅ Works | Initial generation |
| talker_decode_q.onnx | ✅ Works | Autoregressive decoding |
| speaker_encoder_q.onnx | ⚠️ Fails | Requires ConvInteger support |
| tokenizer12hz_encode_q.onnx | ⚠️ Fails | Requires ConvInteger support |
| tokenizer12hz_decode_q.onnx | ⚠️ Fails | Requires ConvInteger support |
ConvInteger(10) ops that require:
This work is based on:
Qwen3-TTS by the Qwen Team at Alibaba Cloud
zukky/Qwen3-TTS-ONNX-DLL by @zukky
Apache-2.0 (following the original Qwen3-TTS license)
@misc{qwen3tts2024,
title={Qwen3-TTS: A Text-to-Speech Model},
author={Qwen Team},
year={2024},
publisher={Alibaba Cloud}
}