Files

KittenTTS 2 native C++ CPU speed gate · 27 October 2026

Michael authorized one short speed gate first on Athena CPU. If too slow, stop and clean up immediately. No Anna cloning, quality matrix, alternate decoders, source builds or performance-tuning series was authorized by this run. Production Qwen was to remain unchanged.

Exact tested path

  • Official prebuilt native kitten_tts_cpp wheel 0.2.0, CPython 3.13, Linux x86-64 manylinux 2.34. Publisher wheel hash is in package-pin.json. Wheel build metadata requires Torch 2.13.0 and marks it portable.
  • Own Python 3.13 venv with torch==2.13.0+cpu, NumPy 2.2.6, SoundFile 0.13.1, certifi 2026.10.23. No CUDA/NVIDIA package and no GPU runtime. Complete resolved requirements are retained.
  • Public model KittenML/kitten-tts-2, pinned revision c93cb7c271baa51d9ae8204d5277988906f235a2.
  • Only config, native TQ2_1 GGUF, recommended student_w4 CPU TorchScript decoder and its matching prepared voices were downloaded. The three LFS files matched publisher SHA256/size metadata; see download-manifest.json.
  • Local assets, offline mode, device='cpu', repacking disabled, four LM and four decoder threads, built-in German reference, stable preset and seed 42. German normalization disabled as instructed by the publisher. No Anna audio or private voice preparation was needed for this initial speed gate.
  • The Python binding invokes the actual persistent C++/GGML engine and CPU LibTorch waveform decoder. This is not Python-transformer inference. No custom compiler build or alternative format was substituted.

The working filter was stated before measuring: at least five seconds of speech per second computing (RTF ≤0.2) for useful reserve. This is a conservative minimum filter chosen for this test, not a claim that Michael specified that exact number or that passing it would match Articulino's measured throughput.

Minimal protocol and result

Model import/initialization: 2.111 s. The publisher warns that the initial decoder calls can include JIT effects, so two tiny Hallo. calls were separated as setup, then exactly one scored short German probe was attempted:

Anna öffnete das Fenster und hörte drei Vögel im Garten singen.

Stage Speech duration Measured call time Native LM time Native decoder time
Tiny warmup 1 0.96 s 12.554 s 11.334 s 1.209 s
Tiny warmup 2 0.96 s 12.738 s 11.355 s 1.373 s
Single scored probe Not completed Stopped after 20.043 s Unavailable Unavailable

The supervisor terminated only its own test process group when the probe exceeded the predefined twenty-second limit. No further inference, voice test, STT, model variant or thread sweep was run. Do not invent a completed-probe RTF, token rate or voice-quality score. The approximately 13×-realtime time of the tiny setup calls is not reported as the warm throughput of a completed long passage; the setup timings and independent probe timeout are the actual evidence.

Decision: this published native C++ path under the specified Athena allocation fails the required short-latency speed gate and was rejected. This does not establish maximum throughput on all CPUs, different kernels or a manual build. No Anna similarity, German naturalness or Hermes playback claim was made.

Limits, preservation and cleanup

Both preparation and speed runs were transient host systemd units. Speed unit: MemoryMax 4 GiB, no swap, CPUQuota 400%, affinity 2–5/8–11, nice 10, private devices, no new privileges, UMask 0077 and a three-minute maximum lifetime. Admission reserved the hard budget plus 2 GiB available host memory. A separate stdlib supervisor bounded initialization and each synthesis stage and would stop its own child on low host memory. No production guard was lowered.

After rejection both own units were inactive. The entire isolated root /data/athena-kitten-cpu-20261027 was removed: original selected weights, wheel, native binding, own CPU Torch environment, pip/cache files and test data. Pre-deletion allocated file blocks totaled 2,772,103,168 bytes (2.58 GiB). The root was verified absent. No shared cache or Docker pruning was used. Only these small synthetic measurements, public pins and reproduction scripts remain; there is no retained Kitten model or background service.

Before/after checks matched for production profiles, endpoint, audio policy, CPU partition, original Anna reference, canonical/live Qwen worker and Deck start time. Articulino was preserved. No model switch, Qwen request, unload, service restart, Mac change or Hermes integration was performed.

Native reproduction

On compatible native Debian x86-64, create a separate Python 3.13 venv. Restore the public pinned metadata from this directory; fetch only the four listed native assets at the recorded revision and verify their hashes. Install CPU Torch 2.13.0 from the official CPU wheel index, remaining pinned requirements and the hash-verified native wheel with dependency installation disabled. No compiler, CUDA, Docker or existing production container is required.

The own scripts use explicit Athena paths: adapt their isolated root deliberately, then run preparation and the supervisor under equivalent limits. The supervisor launches speed.py with local/offline assets. Do not use these rejected test files as a production installer. A native full Deck restore or client playback test is outside this experiment. No private reference data or credentials are needed for this built-in-voice speed gate.

Sources checked: