Supertone/supertonic-3, its ONNX weights as a safetensors bundle prepared for Tenstorrent Tensix NPUs (Wormhole, Blackhole).
- Linear, embedding and convolution weights of the text encoder, vector estimator and vocoder are bf16; the duration predictor and other initializers keep their original dtypes. Convolution kernels are rearranged, reversibly, for TT-NN matrix operations. No training.
- Size: about 0.20 GB before TT-NN packing.
- Accuracy: On the CPU with synthetic inputs, relative L2 error is 0 for the duration predictor, 0.00975 for the text encoder, 0.00848 for the vector estimator and 0.04679 for the vocoder.
- Code:
convert_supertonic.pyand ONNX Runtime, comparing each restored part against its original graph; tensix-bfp-gptq v0.1.0 (quantization and format checks), tensix-kernels v0.1.0 and tensix-runner v0.1.0 (kernels and runner for Tensix).
Formats
| Part | Stored precision |
|---|---|
| Duration predictor | original float32 |
| Text encoder, vector estimator, vocoder: linear, embedding and convolution weights | bf16 |
| Other initializers | original dtype |
config.json lists all 793 tensors, their source names, dtypes, shapes and layout transforms.
Ordinary 1-D convolution kernels use [kernel × input, output]; depthwise kernels use
[tap, channel]. The four *.graph.onnx files are graph templates
whose initializers are in model.safetensors.
The original repository supplies the text front end, voices and synthesis loop.
Use
Materialize ONNX files with the saved weights and original graph layouts:
python convert_supertonic.py . restored --restore \
--revision 724fb5abbf5502583fb520898d45929e62f02c0b
The restored files use float32 operations with the stored bf16 weight values. They have the original input/output interfaces and can be used by the original ONNX synthesis loop.
Reproduce the tensor bundle from the original four ONNX files:
python convert_supertonic.py original/onnx output \
--revision 724fb5abbf5502583fb520898d45929e62f02c0b
Conversion and CPU checking need torch, numpy, safetensors, ONNX and ONNX Runtime.
Checks
All four source files match the original repository at
724fb5abbf5502583fb520898d45929e62f02c0b.
The CPU check reloads the actual serialized weights and reconstructs the original graph layouts.
Both sides use ONNX Runtime float32 operations with graph optimizations disabled. Inputs are synthetic,
seed 20261112, batch 1, text length 16 and latent length 8 where applicable. Relative error is
norm(reference - result) / norm(reference).
| Part | Relative L2 error | Output SNR |
|---|---|---|
| Duration predictor | 0, exactly equal | exact |
| Text encoder | 0.00975 | 40.22 dB |
| Vector estimator | 0.00848 | 41.43 dB |
| Vocoder | 0.04679 | 26.60 dB |
Updates
- 2026-11-22: Removed the statement that the pack and grid-check scripts ship in this repository.
- 2026-11-12: First release.
License
The model and graph derivatives are governed by the original BigScience Open RAIL-M agreement in
LICENSE, including every use restriction in Attachment A. Use and redistribution require compliance
with that agreement; downstream distribution must preserve and enforce its use restrictions.
The complete original license is included unchanged. NOTICE lists the changes; modification notices
also appear in the weight metadata, configuration and graph templates.
convert_supertonic.py is by Xylolabs under Apache-2.0 (LICENSE-CODE).
Citation
Cite Supertone/supertonic-3.