Repository navigation
Releases
1.0.0
The first final release of loom-py-rt. A plain pip install -U "loom-py-rt[hub]" now resolves to 1.0.0 instead of a release candidate.
What's Changed
Streaming. Every door that produces output over time now streams:
- ASR: live transcription with
speech2text.stream()(#78). - Text: tokens as they are generated with
text2text.stream()andchat_stream()(ADR-099, #79). - TTS: audio a piece at a time with
text2speech.stream()(ADR-100, #80); Pocket-TTS streams a frame at a time (ADR-101, #81). - Codecs: a codec pair streams through
text2codes.stream()andcodes2speech.stream()(ADR-102, #82). - Frame models: a frame model streams; stream options reach the driver, and a stream's language can be named (ADR-106–110, #85).
- Engine support for these: ring KV caches per module, a carried LSTM state and per-frame noise (ADR-103, ADR-104).
Server. loom-serve, an OpenAI-compatible server over the doors a file declares (ADR-138, #94).
New model support:
- OmniVoice: voice design with
instruct=, a declared language as an index, and a transcript reference (#87). With no voice named, a file's own default description and language apply (#97). - PLaMo 3: translation with
text2text.translate()andtranslate_stream()(#88). - tiny-voca: the
dizionephoneme style (#89). - Paradee: voices a file carries, picked by name, and the
kokorophoneme style (#92). - kale-tts-1-tiny: the
kale_ttstokenizer kind. The model's own JavaScript text front end now runs in the engine (numbers, dates, its word lists, homographs, a GRU guesser, British English for two voices), matching upstream on 8,678 test texts (ADR-142, #98).
Engine:
- Windows: MSVC wheels ship their DLLs (#76).
- Compute-buffer controls:
hold,release,bytes(#86). - Seeded draws are the same numbers on every standard library (ADR-141).
- A GPU reset fails the graph even when the driver says it finished (ADR-140).
- The engine builds with
-ffp-contract=off, so bit-exact references hold on FMA-capable runners (Retro-110). - Raspberry Pi Zero: the VC4 GPU backend no longer aborts on padded convolutions (Retro-109). Nine published files (sanoTTS heart-nano, the six Vocetta2 files, Piper VITS miro and Vaniq-edge F32) needed
GGML_VC4_FUSE=0on rc20 and earlier; on 1.0.0 they run as they are. set_lexiconbuilds a per-engine orthography2ipaPipelinelexicon (orthography2ipa 7.123's deprecation, #91).
Model cards. Every loom-ai-org card now installs loom-py-rt>=1.0.0. The 1.0.0 card gate passed on 76 cards and 21 quantized variants.
Coming to the Hub with this release: kale-tts-1-tiny, paradee-8m, omnivoice, plamo-3-translate-0.8b, tiny-voca and zipformer-small-streaming.
Wheels attached to this release (not on PyPI):
- Windows x64, Python 3.12:
loom_py_rt-1.0.0-cp312-cp312-win_amd64.whl(CPU) andloom_py_rt_vulkan-1.0.0-py3-none-win_amd64.whl(Vulkan backend, needs a GPU driver with Vulkan). Download both, thenpip install loom_py_rt-1.0.0-cp312-cp312-win_amd64.whl[hub] loom_py_rt_vulkan-1.0.0-py3-none-win_amd64.whl;loom.devices()then listsCPUandVulkan0. Built from this tag and tested on Windows 10 (tests/ci 283 passed; CPU and Vulkan give the same transcripts). Other Python versions on Windows still build from the sdist, which needs Visual Studio Build Tools and CMake. - Raspberry Pi Zero / 1 (ARMv6, Raspberry Pi OS Bookworm 32-bit, Python 3.11):
loom_py_rt-1.0.0-cp311-cp311-linux_armv6l.whl.
Full Changelog: 1.0.0-rc20...1.0.0
1.0.0-rc20
What's Changed
- The Raspberry Pi Zero's GPU. A new ggml backend,
ggml-vc4, runs the convolutions and matrix products on the Zero's 12 QPUs while the CPU runs the rest; it ships in the ARMv6 wheel. On a board booted withoutvc4-kms-v3d,device="auto"picks it up. Every one of the 13 tiny models measured gets faster, from 1.15x (Silero VAD) to 3.36x (Piper VITS): the chart is in the README. - Vulkan on the Raspberry Pi 4's V3D GPU (opt-in, via
loom-py-rt[vulkan]): two ggml patches keep matmul shared memory and workgroup sizes within that device's limits. - Long audio for Qwen3-ASR-style models, cut at quiet points the way the upstream
transcribedoes: pieces of at most 30 s, each ending in its quietest 100 ms, and each with its own token budget (ADR-094). - Fish Audio's DualAR sampler:
loom.sample_rowtakestruncation="untempered"andtop_p_crossing="exclude"(ADR-095). The defaults are unchanged. - GRU cells in the recurrent sweep (ADR-087), and an
arpabetphonemizer style that folds IPA into CMUdict's ARPAbet (ADR-088). - The README now shows the Raspberry Pi charts only: Pi 4 against onnxruntime, and Pi Zero CPU against CPU + VC4 for every model.
Coming to the Hub with this release: five new repos that need loom-py-rt 1.0.0rc20 or newer (pip install -U "loom-py-rt[hub]"):
oruk-loop-153m, Oruk AI's 153M English ASR (Qwen3-ASR-1.7B distilled into looped blocks);nemotron-labs-unified-asr-0.6b, NVIDIA's 25-language RNN-T with a language prompt;audio8-tts-realistic-0.6bwith its codecaudio8-tts-codec, including voice cloning;auroratts-100k, a 100K-parameter TTS.
Re-exports with ADR-081's weight padding follow for nine models whose published files predate it: chatterbox, CosyVoice3, GigaAM v3, LFM2.5-Audio TTS, MOSS-TTS, Parakeet-TDT, Piper VITS miro, pyannote and Soprano. Their outputs are unchanged.
Full Changelog: 1.0.0-rc19...1.0.0-rc20
1.0.0-rc19
What's Changed
- Faster on the Raspberry Pi 4. Against onnxruntime 1.28.0 on the same board, loom's int8 (
Q8_0_PC) is now 1.17x to 9.31x faster on every model measured, and its F32 is ahead on four of six models.- VITS (Piper) is 1.34x faster than onnxruntime at F32 (was 1.03x) and 5.03x at int8. Its vocoder convolutions run an 8 x 12 tile over per-thread staged slices (ADR-086), and the audio is byte-identical.
- whisper-small is at parity at F32 (was 0.80x) and 1.17x faster at int8 (was 0.64x). It gets a Cortex-A72 int8 GEMM (
CPU_NEON_I8, ADR-076) and an outer-product F32 GEMM (ADR-082) that the im2col convolutions use too (ADR-083). - Every table is in the engine's docs/BENCHMARKS.md.
- Pocket TTS on the Pi Zero: Mimi's attention computes only its window (ADR-085), plus ARMv6 kernels for pads, concats, broadcast arithmetic and ELU. The distilled 2M model is 1.93x faster there.
- Kyutai's distilled Pocket TTS 18M, 7M and 2M (
english_*_refl_2026-10), with Pocket TTS v4's text rules (ADR-084). On a Pi 4 at int8 they synthesise 4.8 s of speech in 1.44 s, 1.07 s and 0.59 s. - New READMEs for the engine, this package and the exporter. Each task now has an example, and there is a model catalogue and the Raspberry Pi benchmarks. The engineering notes moved to
docs/.
Coming to the Hub with this release: three new repos, loom-ai-org/pocket-tts-{18m,7m,2m}-loom, which need loom-py-rt 1.0.0rc19 or newer (pip install -U "loom-py-rt[hub]"). Re-exports follow for the models whose GGUFs change.
Full Changelog: 1.0.0-rc18...1.0.0-rc19
1.0.0-rc18
What's Changed
- The CUDA, Vulkan and Metal wheels now carry the engine's ggml patches. From rc15 through rc17 the backend packages were built from the pinned ggml without them, so the GPU fixes released in rc15 never reached a wheel. On the rc17 CUDA wheel Citrinet aborts in the matrix-vector kernel, and on Vulkan SenseVoice transcribed to an empty string. A build that finds no patches is now an error (loom-py #65, loom.cpp #83). If you use
loom-py-rt-cuda,-vulkanor-metal, upgrade. - Q8_0_PC, Q8_0 with one scale per output channel (
--quantize Q8_0_PCin the exporter, ADR-076). On aarch64 it runs ggml's Q8_0 kernels. On ARMv6 it takes a dynamic int8 path (ADR-079 P4.33).- On a Raspberry Pi 4 it is 3.67x faster than onnxruntime's int8 on VITS, 7.90x on Citrinet-256-ls, 1.34x on Moonshine tiny and 2.81x on Qwen3-0.6B. whisper-small is the exception, at 0.64x.
- On a Pi Zero W it beats loom's own F32 by 1.13–1.35x on the ASR, VAD and wake-word models.
- The full tables, with real-time factors, are in the engine README.
- STFT and ISTFT are engine ops (ADR-080). ASR front ends and vocoders now run an FFT in place of a dense DFT-basis matmul.
- ARMv6: RunFast on the compute threads (ADR-078) and ARMv6 kernels for convolutions, GEMV/GEMM, elementwise ops and activations (ADR-079).
- XNNPACK softmax kernels and K-chunked tinyBLAS F32 GEMMs.
- A delayed compute-buffer shrink and zero-copy referenced inputs (ADR-072/073).
- Opt-in CPU_REPACK (
LOOM_CPU_REPACK=1|kleidiai, ADR-075). - The exporter merges repeated pure subgraphs in each topology (CSE). Citrinet-256-ls goes from 2,410 nodes to 1,247. T5's relative position bias is now computed in the graph (ADR-074).
- Retired: the three Shaw relative-position ops (
ABS_TO_REL_SHAW,REL_POS_ATTENTION_SHAW,REL_TO_ABS_SHAW). No model on the Hub uses them.
Re-exports coming to the Hub with this release: 36 models whose GGUFs change. 23 of those repos use the new STFT/ISTFT ops, so they need loom-py-rt 1.0.0rc18 or newer: pip install -U "loom-py-rt[hub]".
Validated before the merge on one aggregate branch per repo:
- a fresh export of every model card, gated on CPU: 58 cards, 116 passed, 0 failed;
- a subset on CUDA (RTX 5090), Vulkan and Metal (M1 Pro);
- the Raspberry Pi 4 and Pi Zero W benchmarks.
Full Changelog: 1.0.0-rc17...1.0.0-rc18
1.0.0-rc17
What's Changed
- Phoneme framing: the engine can put a blank right after the start token (
blank_after_bos), the framing Piper's training used. sanoTTS needs it, and the Piper VITS voice now declares it. Onvits-piper-en-gb-miro, Whisper's word error rate over 30 LibriSpeech sentences fell from 14.9% to 13.2% with espeak-ng phonemes, and from 29.4% to 25.5% through the built-in text door (Retro-081). - The text door folds its G2P output to the phoneme conventions a model declares it was trained in (
tts.phoneme_style, ADR-071). This makes sanoTTS's small voices intelligible from plain text. transcribedecodes WordPiece vocabularies, which NeMo's oldest checkpoints carry (Citrinet-256-ls).- GET_ROWS on a viewed table is packed first; gathering from the view directly returned wrong rows (Retro-080).
On the Hub with this release: Citrinet-256 LibriSpeech (10M, F32 + Q8_0), Moonshine tiny (F32 + Q8_0), sanoTTS (28 tiny voices in one repo, GPL-3.0), and a republished Piper VITS miro voice carrying the new framing. All four target small boards like the Raspberry Pi Zero.
Full Changelog: 1.0.0-rc16...1.0.0-rc17
1.0.0-rc16
What's Changed
- ggml v0.26.0, verified on CPU, Vulkan, CUDA and Metal. This also brings llama.cpp's Vulkan fix for misaligned buffer offsets.
- Vulkan: F32
conv_2dstays F32 instead of going through fp16 cooperative matrices. This fixes F5-TTS clipping on NVIDIA GPUs (Retro-077). - Device selection: a GPU that cannot hold a model's weights is skipped, and the engine says why, instead of failing at run time (MOSS-TTS on small integrated GPUs, Retro-076).
New on the Hub: MusicGen Small (family 14, text to music). It turns a text description into EnCodec tokens, and encodec-32khz-loom turns those into 32 kHz audio. Greedy decoding reproduces transformers code for code. No previously published model changed.
Full Changelog: 1.0.0-rc15...1.0.0-rc16
1.0.0-rc15
What's Changed
- Frame-level embeddings:
speech2embeddings.inferreturns aFrameEmbeddings(rows,dim,times) for a model that embeds per frame (WakeHuBERT tiny), cut by the newloom.output.embedding_dimcontract key (ADR-062 amendment). A per-clip embedder still returns the bare vector. - Depthwise convolutions run on a direct kernel with PAD+bias+ReLU fusion (P4.31): WakeHuBERT 1.52x on x86, 1.30x/1.39x on a Pi 4, 1.27x on a Pi Zero
- GPU correctness: F32 matmuls stay F32 on Vulkan and Metal (SenseVoice), Metal NORM on partial simdgroups (Kokoro), CUDA one-column matmul stride (Citrinet), Vulkan conv_transpose_1d overrun (Soprano) (ADR-069)
- Card gate: multi-file model repos, and frame-level embeddings read through the door
WakeHuBERT tiny's published files are republished for this release: files exported before loom.output.embedding_dim are refused by the frame door (model.infer still works).
Full Changelog: 1.0.0-rc14...1.0.0-rc15
1.0.0-rc14
What's Changed
- Canary long-form decode: audio past the declared ceiling is decoded in overlapping windows and stitched, as NeMo does (ADR-063)
- Silero VAD and Moonshine Streaming tiny/small: a converted SentencePiece BPE declares its dummy prefix (ADR-064/065)
- Soprano TTS: its text front end, the reference's own regexes run by
loom::PyRegex(ADR-067) - Kyutai STT 1B en-fr: a ring KV cache for a uniform sliding window (ADR-066), run as Kyutai's
moshiruns it (ADR-068) - LFM2.5-Audio-1.5B: speech to text and text to speech, with voices as voice files
loom_cliloads ASR audio at the model's declared sample rate
Full Changelog: 1.0.0-rc13...1.0.0-rc14
1.0.0-rc13
What's Changed
- Canary + Citrinet: declared language tables reach dynamic-length drivers; the
target_languagerole throughtranscribe(ADR-061);asr_*keys inModel.contract - NeMo CTC and transducer encoders cut to
encoded_len - Audio classifiers and embedders (family 13): the
speech2classandspeech2embeddingsdoors, and theloom.output.granularity/frame_rate/frame_offsetcontract (ADR-062)
Full Changelog: 1.0.0-rc12...1.0.0-rc13
1.0.0-rc12
What's Changed
- SpeechT5 (family 9b): digits spelled out in the front end (NumberSpeller), unknown-run fusion in the vocab
- SentencePiece Unigram tokenization breaks ties by score (flan-t5-small, pocket-tts)
- GET_ROWS fix; a CONCAT shape mismatch raises a SchemaError instead of aborting
- The
reference=door for voice cloning (F5-TTS)
Full Changelog: 1.0.0-rc11...1.0.0-rc12