Commit Graph
5 Commits
Author SHA1 Message Date
Pascal 38bf6d762a abi, pipeline, cli: conform qwentts on omnivoice convention 2026-05-14 21:42:52 +02:00
Pascal e55ba50b75 src: fuse 3 .cpp into header-only modules to match omnivoice 2026-05-14 17:14:30 +02:00
Pascal e8f1c2a053 nits 2026-05-14 16:47:45 +02:00
Pascal 0a7023bd0b talker, code predictor: persistent KV cache
Adds a per-layer K/V ring (kv-cache.h) backed by a dedicated backend
buffer, sized at init for max_seq_len positions. The talker holds a
4096 position cache (896 MB f32) for the LM context, the code
predictor a 16 position cache (~80 KB) reset every frame.

talker_forward splits into prefill (resets the cache and writes T
positions in one shot) and decode (appends one position, reads the
[0, cur_len+1) window). code_predictor_step does the same with a T=2
prefill plus 14 single token decodes.

Bit identical audio output, validated by sha256 against the pre KV
cache run on a 64 frame F32 reference seed=42. Walltime drops ~10%
on a single utterance ; the win scales with sequence length and
unlocks frame by frame streaming.
2026-05-11 06:44:39 +02:00
Pascal add3f940a0 Initial release 2026-05-10 15:57:15 +02:00