Files

Native Qwen3-TTS 0.6B Q8 CPU streaming — 19 October 2026

User requested a bounded CPU-only realtime feasibility test on Athena while Strata remains loaded. No production profile, endpoint, GPU reservation, Hermes setting or service startup configuration was changed. No LLM request was made.

Environment and scope

  • Athena: Ryzen 5 5600, 6 cores/12 threads, approximately 47 GiB host RAM.
  • Existing Strata GPU allocations: approximately 11293 MiB RTX 3060 and 15410–15418 MiB RTX 5080. Strata remained loaded; this was not a controlled concurrent LLM generation benchmark. GPU utilization snapshots were zero.
  • Fresh native venv under /data/experiments/qwen06-q8-native-cpu-20261019; host Python 3.13.5, realtimetts-qwen-native-cpu==0.4.2, ABI 5, qwentts_cpp_cpu.CPU_ONLY is True. Package versions: requirements.lock.
  • Directly exercises the public native API used by RealtimeTTS QwenCpuEngine; no PyTorch, no wrapper server, no browser/device playback in this benchmark.
  • Each transient systemd process: MemoryMax=6G, MemorySwapMax=0, Nice=10, PrivateDevices=yes, NoNewPrivileges=yes, RuntimeMaxSec=900. The first two thread comparisons use CPUQuota=400%; the final comparisons use 600%. CPU quota counts logical CPU time, not a physical-core reservation.
  • CPU flash attention enabled; one or two codec frames per streamed block; speaker-only cached Anna reference; fixed seed 42, greedy generation; max 768 audio tokens.
  • Existing private Anna reference was copied only into the private test folder. It and cached voice features are not included in Git. The generated text is synthetic and present in benchmark.py.

Public model assets

Native resolver selected Serveurperso/Qwen3-TTS-GGUF, pinned here to revision b7ee2e8c7459c3bea99da23e3d178125a7d1713c, converted from Qwen's 0.6B Base. The original download did not use any implicit Hugging Face credential.

File Bytes SHA256
qwen-talker-0.6b-base-Q8_0.gguf 992615488 d54dbaf10591421fa764ed630d764efa717ae40cd959bd48c66d4eb1af226426
qwen-tokenizer-12hz-Q8_0.gguf 291150624 1883beeed99348fc35e23dd225e9082f93f6f8c109330a33d935baa8acdbfd94

Measurements

CPU quota Generation/codec threads Block size Short RTF (two runs) Technical RTF
400% 2 / 2 80 ms 1.399 / 1.320 1.298
400% 4 / 2 80 ms 1.271 / 1.265 1.270
600% 4 / 2 80 ms 1.090 / 1.085 1.078
600% 4 / 4 80 ms 1.019 / 1.022 1.032
600% 4 / 4 160 ms 0.948 / 0.955 0.945

The last configuration generated 6.32 s short audio in 5.993 / 6.033 s, with first PCM at 0.281 / 0.286 s. Technical audio: 19.28 s in 18.211 s, first PCM 0.481 s. Estimated additional playout reserve: 62 / 65 ms for short text, 97 ms technical. These do not include client/network jitter. A conventional 160 ms startup buffer covers these recorded deficits, but actual Hermes playback was not tested. Cold/warmup utterance remained slower (RTF 1.133). Peak process RSS was 4024128 KiB, approximately 3.84 GiB. No TTS GPU allocation.

Conclusion: marginally faster than realtime in these warmed, isolated CPU samples, with only about 5% throughput headroom. This is not evidence of robust duplex operation while Strata actively decodes. The native CPU runtime is a viable candidate for a later full-path trial, not an activated production fix. All transient benchmark processes exited; loaded Strata allocations remained 11293 MiB / 15418 MiB in the final snapshot. Public model cache and isolated venv remain in the dedicated experiment directory; private reference/audio are not committed. Synthetic demonstration WAVs were copied to the task's local work directory for user listening.

The final technical WAV was passed once through the existing local Athena STT after CPU timing had finished. technical-stt.json retains the result: 28 errors, 35 percent, 46 repair notices and the intended numeric times remain recognizable; STT renders times inconsistently (0145, 0912, 0.3.16). This is a limited round-trip check, not a listening score or a claim of perfect pronunciation.

See results-*.json for exact per-run wall time, duration, first audio, per-chunk arrival times and peak RSS. Warmup is recorded separately from the two identical short-text runs and the longer technical-text run.

RTF = generation wall time / generated audio duration; below one means faster than realtime on average. First chunk is native PCM arrival, not sound from the user's speaker. additional_buffer_needed_seconds is a virtual playout estimate from raw chunk arrival times starting at the first chunk; it excludes network, Mac scheduling, Hermes segmentation, and device latency. RTF and chunk-deadline measurements must be considered together. A startup buffer can absorb a finite shortfall; it cannot fix sustained slower throughput over an arbitrarily long utterance.

Native Debian reproduction

Requires a compatible glibc Linux x86-64 host with AVX2/FMA/F16C/BMI2, Python with venv, and systemd. Python 3.13.5 was used here; upstream recommends Python 3.11/3.12 for its broader server installation. No Docker runtime is required by this CPU engine. Installing to a different stage requires updating the explicit paths in the scripts.

  1. Create the dedicated stage and a fresh Python venv; install pip install -r requirements.lock into that venv.

  2. Copy benchmark.py, prepare_models.py and run.sh there. Run prepare_models.py with that venv to download only the pinned public files. Verify both SHA256 values above before measuring.

  3. Restore the existing authorized Anna reference privately as anna-reference-original.wav (24 kHz mono signed 16-bit WAV). No key, production config or user chat is needed for this test.

  4. Run sh run.sh as root to create a bounded transient systemd job. For the six-CPU decoder comparison:

    BENCH_CPU_QUOTA=6 BENCH_GEN_THREADS=4 BENCH_CODEC_THREADS=4 \
      BENCH_STREAM_FRAMES=2 BENCH_OUTPUT=reproduction-6-4-4-160ms sh run.sh
    

The launcher checks more than 9 GiB MemAvailable before admitting its 6 GiB budget. Jobs exit after measurements; no unit is enabled for boot, no HTTP listener is created. This is a reproducible experiment, not a configured production TTS provider or proof of a full Deck restore.

Sources: RealtimeTTS CPU scheduling, Qwen CPU engine.