Instructions to use nnopt-dev/Audio8-TTS-Realistic-0.6b-LiteRT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use nnopt-dev/Audio8-TTS-Realistic-0.6b-LiteRT with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
|
Download README.md from nnopt-dev/Audio8-TTS-Realistic-0.6b-LiteRT: direct link, hf CLI and curl.
- Browser
- Download file 3.67 kB
-
https://huggingface.co/nnopt-dev/Audio8-TTS-Realistic-0.6b-LiteRT/resolve/main/README.md
- Command line
-
hf download hf://nnopt-dev/Audio8-TTS-Realistic-0.6b-LiteRT/README.md
-
curl -L -o README.md https://huggingface.co/nnopt-dev/Audio8-TTS-Realistic-0.6b-LiteRT/resolve/main/README.md
3.67 kB
| license: apache-2.0 | |
| base_model: Edge0/Audio8-TTS-Realistic-Air | |
| pipeline_tag: text-to-speech | |
| tags: | |
| - on-device | |
| - nnopt | |
| - litert | |
| - tflite | |
| - android | |
| - npu | |
| - hexagon | |
| - qualcomm | |
| - tts | |
| - galaxy-s26-plus | |
| # Audio8-TTS-Realistic-0.6b on Samsung Galaxy S26+ (LiteRT) | |
| Ported and verified on a real Samsung Galaxy S26+ by [nnopt.dev](https://nnopt.dev) — AI agents that port and optimize models for the hardware you ship. | |
| The model is [Edge0/Audio8-TTS-Realistic-Air](https://huggingface.co/Edge0/Audio8-TTS-Realistic-Air) by Edge0, and it is theirs (published as Edge0/Audio8-TTS-Realistic-0.6b, which now redirects to Edge0/Audio8-TTS-Realistic-Air). The LiteRT port in this repository is nnopt's work: nnopt job NN-983499. | |
| | | | | |
| |---|---| | |
| | Device | Samsung Galaxy S26+, Android 16 | | |
| | Chip | Snapdragon 8 Elite Gen 5 (SM8850) | | |
| | Processor | NPU (Hexagon HTP v81) for every model graph; CPU for tokenizer, sampling and glue | | |
| | Runtime | LiteRT 2.3.1 (Qualcomm dispatch), QNN 2.50.0 | | |
| | Precision | a16w8 decode graphs (int8 weights, int16 activations); fp16 prefill, LM head and codec (encoder, post-module, streaming decoder) | | |
| | Modality | text -> speech | | |
| | Weights | included: models/*.tflite (18 graphs AOT-compiled for SM8850 by nnopt; a16w8 decode graphs, fp16 rest), the CPU-side tables in build/stage/; Qualcomm's QNN runtime is fetched | | |
| | nnopt job | NN-983499 (port) | | |
| | Folder | [`sm8850-npu-a16w8/`](https://huggingface.co/nnopt-dev/Audio8-TTS-Realistic-0.6b-LiteRT/tree/main/sm8850-npu-a16w8) | | |
| ## Verified results | |
| nnopt built the folder from a clean copy, deployed it to the device and checked it against the model's reference code on hidden inputs. The full report is `report.html` in the folder. | |
| - Passed. Intelligibility (ASR word error rate change) +0.4 points (bar at most +5.0 points) | |
| - WER 4.67% vs 4.28% ref | |
| - full check passed | |
| - no speculative decoding | |
| - Time to first audio 2.42 s | |
| - Real-time factor 0.449 | |
| - Latency 2.42 s | |
| - Load time 2.23 s | |
| - Peak memory 2,519 MB | |
| - 18 graphs, NPU 100% | |
| ## Use it | |
| ``` | |
| mkdir Audio8-TTS-Realistic-0.6b-LiteRT && cd Audio8-TTS-Realistic-0.6b-LiteRT | |
| curl -fsSL https://huggingface.co/nnopt-dev/Audio8-TTS-Realistic-0.6b-LiteRT/resolve/main/config.json -o config.json | |
| hf download nnopt-dev/Audio8-TTS-Realistic-0.6b-LiteRT --include "sm8850-npu-a16w8/*" --local-dir . | |
| cd sm8850-npu-a16w8 | |
| bash fetch.sh | |
| bash deploy.sh /data/local/tmp/audio8 # adb: pushes build/stage (runner, LiteRT, QNN libs, graphs, tables) | |
| adb push demo/input.txt /data/local/tmp/audio8/in.txt | |
| adb shell 'cd /data/local/tmp/audio8 && sh ./run.sh --text-file in.txt --seed 1234 --out out.wav --metrics m.json' | |
| adb pull /data/local/tmp/audio8/out.wav | |
| ``` | |
| Needs: A Snapdragon SM8850 phone (Galaxy S26+), adb, ~3 GB free storage; curl and unzip on the host. Rebuilding (`bash build.sh`) fetches the NDK and the original weights itself. | |
| `README.md` in the folder has every flag, the requirements and the known limits; `REPRO.md` (where present) reproduces the measurements. | |
| ## License | |
| Apache 2.0, like Edge0/Audio8-TTS-Realistic-Air: see LICENSE and NOTICE. LiteRT in `vendor/litert/` is Apache 2.0. Qualcomm's QNN runtime is not here: `fetch.sh` gets it from Maven Central, under Qualcomm's license. | |
| ## Made with nnopt | |
| [nnopt](https://nnopt.dev) is a platform where AI agents port, optimize and benchmark a model for a specific device. They write the runtime code on the real device, and a locked verification kit then checks the result against the model's own reference code before anything ships. Every number on this page comes from that check. | |
| Want your model on your device? Start a job at [nnopt.dev](https://nnopt.dev). | |