Run this model with HF Jobs
Run Luigi/VibeVoice-ASR-BitNet-LiteRT on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Luigi/VibeVoice-ASR-BitNet-LiteRT. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Luigi/VibeVoice-ASR-BitNet-LiteRT on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Luigi/VibeVoice-ASR-BitNet-LiteRT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use Luigi/VibeVoice-ASR-BitNet-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
Correct the memory figures and record the optimization results
Browse filesThe 241 MB RssAnon here is a decode-only number; the full pipeline peaks at 645 MB
warm, and the encoder's activations (+399 MB per 10 s window) are the largest
single consumer. End-to-end RTF on a Boox Tab Mini C went 6.28 -> 2.24 with the
transcript byte-identical throughout.
60 unmodified lines61626364656610 unmodified lines77787980818260 unmodified linesParity on speed at **half the unevictable memory**, which is the figure thatdecides whether an Android app survives memory pressure.## Fidelity| stage | vs reference | note |10 unmodified lines* The encoder window is **fixed at 10 s**; longer audio must be windowed by thecaller. Convolutions are causal, so a window needs left context and no lookahead.* The decoder graphs are **context-specific** — a ctx=128 prefill cannot be pairedwith a ctx=512 decode.* The **chat template is mandatory**. Feeding audio features without the surrounding60 unmodified lines61626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510 unmodified lines11611711811912012112212312412560 unmodified linesParity on speed at **half the unevictable memory**, which is the figure thatdecides whether an Android app survives memory pressure.Those memory figures are **decode only**. Through the full pipeline on Android,peak RssAnon is 906 MB: 173 MB of runtime/harness baseline, +55 MB compiling theencoder, +231 MB compiling the head, +46 MB for the decoder graphs and their330 MB of weights (fully zero-copy — 330.1 MB mmap'd, 0.0 MB copied), and**+399 MB of encoder activations**. The front end, not the BitNet decoder,dominates memory as well as time.Note also that XNNPACK's `weight_cache_file_path` fails **silently** if the pathis not writable — no error, no warning, weights packed into anonymous memoryinstead, and peak RssAnon goes 906 MB to 1552 MB. Check the file exists aftercompiling.End to end through an Android app, 60 s of English in 10 s windows, every pairmeasured back to back on one device:| | RTF | wall ||---|---:|---:|| first working version | 6.28 | 377 s || + big-core pinning before graph compile | 4.95 | 297 s || + idle GEMM workers park instead of spinning | 3.42 | 205 s || + wide encoder mask, batched prompt remainder | 3.23 | 194 s || + chat-prefix KV reused across windows | 2.93 | 176 s || + pause-snapped windows and a silence gate | **2.24** | **134 s** |**2.8x, transcript byte-identical at every step.** Only the last row processesless audio; the rest is the same work done properly.Per 10 s window the budget is encode 14.6 s, prefill 10.3 s, decode 7.7 s. Theaudio front end — **not** the BitNet part — is the largest single cost. Droppingone of its two tokenizer encoders would halve it and does not work: the acousticand semantic branches are nearly orthogonal (cos 0.0435) and comparable inmagnitude, so each carries a large share of the summed features the decoder wastrained on.BitNet shrinks the decoder's weights 4x, but on an ARMv8.0 core with no dotprodthe ternary kernel is compute-bound, so that reduction buys memory rather thanspeed. Decode runs 212-249 ms/token against a ~124 ms floor set by streaming328 MB of 2-bit weights; the LM head is only 42-46 ms/token of it.## Fidelity| stage | vs reference | note |10 unmodified lines* The encoder window is **fixed at 10 s**; longer audio must be windowed by thecaller. Convolutions are causal, so a window needs left context and no lookahead.Widening it is not the free win it looks like: 30 s windows cut prompt tokens 25%and the encoder is linear in window length, but its activations are not free —peak RssAnon went 937 MB to 1739 MB and a 3.7 GB device killed the processmid-decode.* The decoder graphs are **context-specific** — a ctx=128 prefill cannot be pairedwith a ctx=512 decode.* The **chat template is mandatory**. Feeding audio features without the surrounding
README.md+43