Repository navigation
Releases
v0.2.0
Weights and board images for examples/prebuilt, regenerated with ggufc 0.2.0 (SmolLM2-135M-Instruct and Qwen2.5-0.5B-Instruct, Q4_K_M; both Apache-2.0). The packed weights changed since v0.1.0: use these files with the v0.2.0 sources. weights.bin is the same for every target of a model. Board images are not yet tested on hardware (Raspberry Pi 4 tested in QEMU raspi4b).
What's new since v0.1.0
Chat
- Chat TUI in the hosted demo (
modelwith no arguments): line editor, history, streamed answers, Esc to stop,/reset,/stats. The same conversation on the kernel image's serial console, checked bit for bit against the hosted build (tests/image/chat.sh). cpusprofile key: compute on chosen CPUs, moving off a boot CPU that is not listed (the RK3588 profile uses its four A76 cores).- Llama 3.2 1B passes every correctness gate (F32, Q8_0, Q4_K_M). Weights over 4 GiB are mapped at run time.
ggufc sdcard: a deterministic MBR + FAT32 disk image for SD cards and USB sticks.
Voice
- Text to speech: Soprano-1.1-80M with its Vocos decoder compiled from the mmproj GGUF (
model -s "text" out.wav), streaming, bit identical to decoding at once. - Speech to text: Qwen3-ASR-0.6B with its audio encoder (
model -a recording.wav); transcripts token for token equal to llama.cpp's on 32 test recordings. convert --voiceand--hearlink a chat model, a TTS model and a speech recognizer into one program: the voice agent (/listen,/hear,/say,/voice).- The kernel image drives a virtio-sound device in both directions: it speaks its answers and records questions (QEMU; board audio needs hardware). Demo videos with sound are linked from the README.
Fixes
- CI was red since v0.1.0: three generic kernels relied on clang fusing
a*b + c, so gcc's results differed from NEON in the last bit. The fused multiply-adds are now explicit; gcc and clang both pass.
Measured (QEMU on Apple silicon, SmolLM2 Q4_K_M, 4 cores): launch to first answer byte 94 ms for the GGUFC image against 333 ms for Linux + llama.cpp in the same VM (bench/linux). No per-token speed claim.
v0.1.0
Weights and board images for examples/prebuilt (SmolLM2-135M-Instruct and Qwen2.5-0.5B-Instruct, Q4_K_M; both Apache-2.0). weights.bin is the same for every target of a model. Board images are not yet tested on hardware (Raspberry Pi 4 tested in QEMU raspi4b). See examples/prebuilt/README.md.