Measure Qwen CPU TTS contention and persist improved CPU budget

This commit is contained in:
Mikei386 committed 2026-10-19 22:35:45 +02:00
1 parent 12526c08dc
commit b2722744ae
12 files changed
+532 -1

No files matched your search

+1 -1
View File
@@ -144,7 +144,7 @@ def launch(config):
base=Path(config['base'])
args=['docker','run','-d','--name',config['name'],'--label',LABEL+'='+str(base),
'--restart','unless-stopped','--read-only','--cap-drop','ALL','--security-opt','no-new-privileges:true',
'--pids-limit','256' if config.get('image_runtime') else '128','--memory',config.get('memory_limit','32g' if config.get('image_runtime') else '8g'),'--cpus','6', '--tmpfs','/tmp:rw,nosuid,nodev,size=1g',
'--pids-limit','256' if config.get('image_runtime') else '128','--memory',config.get('memory_limit','32g' if config.get('image_runtime') else '8g'),'--cpus',str(config.get('cpu_limit',6)), '--tmpfs','/tmp:rw,nosuid,nodev,size=1g',
'-v',str(base/'state')+':/var/lib/deck:rw','--mount','type=bind,src=/proc,dst=/host/proc,readonly','-e','DECK_HOST_PROC=/host/proc','-e','DECK_ALLOWED_HOSTS=127.0.0.1:'+str(config['port'])+',localhost:'+str(config['port']),
'-p','127.0.0.1:'+str(config['port'])+':8108',
'--health-cmd', 'python3 -c "import urllib.request,json; assert json.load(urllib.request.urlopen(\'http://127.0.0.1:8108/api/v1/auth/status\',timeout=3))[\'initialized\']"',
+10
View File
@@ -1,3 +1,13 @@
## TTS throughput · 19 October 2026 evening
Deck CPU budget increased live6→8 and persisted as cpu_limit:8; Qwen0.6B Q8,
Anna,24kHzmono,4/4threads,2frames,Nice10 unchanged. No restart. Actual TTS
endpoint RTF0.735 when Strata is loaded but idle. Under simultaneous Strata
generation RTF2.015; testing normalTTSpriority plus12logical CPUs still1.372.
Those two temporary changes reverted. Q4 rejected due excess silence.
**Concurrent live talk is not solved by CPU tuning.**
[Measurements and native/restore notes](experiments/tts-speed-2026-10-19/README.md).
# Neuer Athena-Router: aktueller Dokumentationsstand
Am 19. Oktober 2026 **Seed-VC GPU im Stimmatelier aktiviert**: eigenes Profil
@@ -0,0 +1,81 @@
# Qwen CPU TTS throughput tuning · 19 October 2026
Ryzen5 5600,6 physical cores/12 logical CPUs; existing Qwen0.6B Q8 CPU
runtime0.4.2/ABI5, Anna speaker-only,24kHz monoPCM16, greedy seed42.
Strata IQ3 262K remains loaded throughout; no GPU setting, model or Mac app
changed. Separate bounded native systemd workers use6GiB RAM/no swap/Nice10,
CPUQuota600% or800%; no persistent unit or additional service/container.
The production sentence splitter and speech normalization are copied unchanged
into the isolated test directory. Test text is synthetic.
## Isolated TTS results (Strata loaded, not generating)
| Generation/codec threads | Frames | CPU quota | Quant | Short RTF | Story RTF |
|---|---:|---:|---|---:|---:|
|4/4|2|600%|Q8|0.960|0.971|
|4/4|4|600%|Q8|0.941|0.954|
|6/2|4|600%|Q8|1.269|1.260|
|4/4|2|800%|Q8|0.745|0.748|
|4/6|2|800%|Q8|0.843|0.815|
Q8 4/4/2 audio at600% and800% is byte-identical for short and story.
Faster output is a CPU-budget gain, not quality degradation. Four-frame
cadence slightly raises throughput but raises virtual startup reserve to~290ms
instead of~60–74ms; rejected. Retain4/4/2.
Q4 talker from same pinned HF revision b7ee2e8c7459c3bea99da23e3d178125a7d1713c,
SHA2564b468ec7b1f62b90ef4ca316c0aa57deadfd54b2cf9651703ea753cedaf04226,
628905056 bytes. Codec remains originalQ8. The native checkpoint-specific
Q8 onset profile refuses Q4; the test correctly uses documented off instead
of bypassing validation. Short text becomes17.36s audio with11.70s below
RMS0.003 in10ms blocks, versusQ8 7.20s/1.81s quiet. RawRTF0.657 is misleading:
extra silence makes it unsuitable for live talk. Stopped this candidate and
remaining Q4 matrix; do not claim Q4 quality qualified. Downloaded Q4 assets
are removed after testing; redownload pinned artifact if reproducing.
## Real endpoint with simultaneous LLM generation
Existing token was used internally, never printed or committed. PCM response
was read from Unraid through the actual neutral /v1/audio/speech endpoint.
All synthetic LLM loads were admitted only at0active requests, max1536 output
tokens, reasoning none; no real user chat was used as test material.
| Scenario | CPU budget | TTS nice | Generated audio | Wall time | RTF |
|---|---:|---:|---:|---:|---:|
|No concurrent LLM|8|10|20.56s|15.104s|0.735|
|Concurrent Strata|8|10|20.56s|41.419s|2.015|
|Concurrent Strata|8|0|20.56s|36.587s|1.779|
|Concurrent Strata|12|0|20.56s|28.218s|1.372|
Overlaps are35.742/35.358/27.112s respectively, recorded in endpoint JSONs.
These test texts were not identical LLM decoding runs (normal stochastic
server sampling); results establish a clear shared-resource limitation, not
precise universal CPU scaling. Nice0 and twelveCPU test changes are reverted.
Chunk-arrival reserve excludes physical speaker/Hermes playback. No claimed
client listening acceptance or fix for app playback clicks.
## Retained change and persistence
Only Deck CPU budget rises6→8, applied with docker update without restart;
image6460872535b77f97, RAM44GiB, Q8weights,4/4threads,2frame blocks,Nice10 unchanged.
Host installation.json now has cpu_limit:8; deploy/install.py uses that optional
field on future recreations (default6 for other installations). Host canonical
source is updated too. No new app build or sign-in is required.
The application-container backup inventory supports nanocpus, but this is not
a claim that it restores the Deck root container. Preserve installation.json
(cpu_limit:8) for Deck recreation or explicitly set the same value during
native restore. Automatic inclusion of this host manifest in every backup
path was not verified in this tuning task.
Native reproduction needs the already documented native0.4.2 environment and
pinned Q8weights from ../qwen06-native-cpu-2026-10-19. bench.py/run*.sh provide
bounded experiments with explicit paths. In native systemd production apply
CPUQuota=800% to the shared Deck service cgroup, keep native TTSworkerNice10,
and leave memory/other limits unchanged. Reapply after daemon-reload/service
activation under the existing maintenance rules. This hardware result does
not qualify another host or a full fresh Debian restore.
Conclusion: real idle TTS gains about25% lower RTF and is comfortably faster
than realtime on the tested text. Full concurrent Strata decoding still makes
CPU TTS slower than realtime even with12logical CPUs. CPU tuning alone does
not meet the live-talk target; no claim of a complete fix.
@@ -0,0 +1,37 @@
import os,json,time,wave,resource,hashlib,sys
from pathlib import Path
import numpy as np
import qwentts_cpp_cpu as q
from tts_worker import spoken_chunks
root=Path('/data/experiments/tts-speed-20261019');old=Path('/data/experiments/qwen06-q8-native-cpu-20261019')
name=sys.argv[1];g,c,f=map(int,sys.argv[2:5]);quant=sys.argv[5];group=len(sys.argv)>6 and sys.argv[6]=='group'
out=root/name;out.mkdir(exist_ok=True)
paths=json.loads((old/'model-paths.json').read_text());talker=paths[0] if quant=='Q8' else str(root/'models/qwen-talker-0.6b-base-Q4_K_M.gguf')
with wave.open(str(old/'anna-reference-original.wav')) as w:ref=np.frombuffer(w.readframes(w.getnframes()),dtype='<i2').astype(np.float32)/32768
report=dict(name=name,threads=g,codec_threads=c,stream_frames=f,quant=quant,group=group,runs=[])
try:
t=time.monotonic();m=q.QwenTTS(talker,paths[1],cpu_threads=g,cpu_codec_threads=c,cpu_stream_frames=f,use_fa=True,clamp_fp16=False)
voice=m.extract_voice_ref(ref).ref_spk_emb;report['load_and_voice_seconds']=time.monotonic()-t
texts=[('warmup','Hallo Michael, die Sprachausgabe wird vorbereitet.'),('short','Wenn du magst, erzähle ich dir eine kurze Geschichte. Anna öffnete das Fenster und hörte drei Vögel singen.'),('story','Morgens summten tausend Server leise. Michael öffnete ein Ticket: Das WLAN fällt aus. Er lächelte, tippte drei Befehle, und das Netz funktionierte wieder. Draußen regnete es sanft auf Karlsruhe. Auf dem Tisch lagen sieben Bücher und eine rote Tasse. Zum Schluss sagte Anna: Das hat wunderbar funktioniert.')]
for label,text in texts:
chunks=list(spoken_chunks(dict(text=text,language='German')))
if group:
merged=[]
for s in chunks:
if merged and len(merged[-1])+len(s)+1<=256:merged[-1]+=' '+s
else:merged.append(s)
chunks=merged
start=time.monotonic();samples=0;events=[];pcm=[]
for piece in chunks:
for a,rate in m.stream(text=piece,lang='german',ref_spk_emb=voice,seed=42,do_sample=False,max_new_tokens=1024,onset_silence_profile='qwen3_tts_12hz_0_6b_base_q8_v1' if quant=='Q8' else 'off'):
assert rate==24000 and np.isfinite(a).all()
events.append(dict(at=time.monotonic()-start,before=samples/rate,samples=int(a.size)));samples+=a.size;pcm.append(np.rint(np.clip(a,-1,1)*32767).astype('<i2').tobytes())
elapsed=time.monotonic()-start;first=events[0]['at'];reserve=max(max(0,e['at']-first-e['before']) for e in events)
with wave.open(str(out/(label+'.wav')),'wb') as w:w.setnchannels(1);w.setsampwidth(2);w.setframerate(24000);w.writeframes(b''.join(pcm))
row=dict(label=label,text=text,segments=len(chunks),seconds=elapsed,audio_seconds=samples/24000,rtf=elapsed/(samples/24000),first_pcm=first,reserve_seconds=reserve,events=events);report['runs'].append(row)
(out/'results.json').write_text(json.dumps(report,indent=2));print(json.dumps({k:v for k,v in row.items() if k not in ('events','text')}),flush=True)
report['last_stream_profile']=m.last_stream_profile
m.close();report['state']='complete'
except Exception as e:report.update(state='failed',error=str(e));raise
finally:
report['rss_kib']=resource.getrusage(resource.RUSAGE_SELF).ru_maxrss;(out/'results.json').write_text(json.dumps(report,indent=2))
@@ -0,0 +1,41 @@
import urllib.request,json,time,threading,wave
from pathlib import Path
from hermes_yaml import safe_load
base=safe_load(open('/opt/data/config.yaml'))['tts']['openai'];url=base['base_url'].rstrip('/');headers={'Authorization':'Bearer '+base['api_key'],'Content-Type':'application/json'}
out=Path('/tmp/tts-speed-endpoint-20261019');out.mkdir(exist_ok=True)
status=json.load(urllib.request.urlopen(urllib.request.Request('http://192.168.1.212:8108/api/v1/status',headers=headers)))['endpoint']
assert status['active_requests']==0,'Aktive Anfrage: Lasttest wird nicht gestartet'
text='Morgens summten tausend Server leise. Michael öffnete ein Ticket: Das WLAN fällt aus. Er lächelte, tippte drei Befehle, und das Netz funktionierte wieder. Draußen regnete es sanft auf Karlsruhe. Auf dem Tisch lagen sieben Bücher und eine rote Tasse. Zum Schluss sagte Anna: Das hat wunderbar funktioniert.'
report={'runs':[]};ready=threading.Event();llm={}
def llm_load():
try:
llm['start']=time.monotonic();body=dict(model='flash-next-strata-iq3',messages=[dict(role='user',content='Schreibe eine ausführliche fiktive Geschichte mit mindestens 1500 Wörtern über eine friedliche Weltraumreise. Keine Werkzeuge verwenden.')],max_tokens=1536,reasoning_effort='none',stream=True)
with urllib.request.urlopen(urllib.request.Request(url+'/chat/completions',data=json.dumps(body).encode(),headers=headers),timeout=180) as r:
count=0
for line in r:
if line.startswith(b'data: ') and line.strip()!=b'data: [DONE]':
d=json.loads(line[6:]);c=d.get('choices') or []
if c and (c[0].get('delta') or {}).get('content'):
count+=1
if 'first_token' not in llm:llm['first_token']=time.monotonic();ready.set()
llm['content_events']=count
except Exception as e:llm['error']=type(e).__name__;ready.set()
finally:llm['end']=time.monotonic()
def synth(label,bodytext):
start=time.monotonic();events=[];parts=[];n=0
body=dict(model='tts',input=bodytext,voice='default',response_format='pcm')
with urllib.request.urlopen(urllib.request.Request(url+'/audio/speech',data=json.dumps(body).encode(),headers=headers),timeout=180) as r:
assert r.headers.get('X-Audio-Sample-Rate')=='24000'
while True:
b=r.read(3840)
if not b:break
events.append(dict(at=time.monotonic()-start,before=n/48000));parts.append(b);n+=len(b)
end=time.monotonic();duration=n/48000;first=events[0]['at'];reserve=max(max(0,e['at']-first-e['before']) for e in events)
with wave.open(str(out/(label+'.wav')),'wb') as w:w.setnchannels(1);w.setsampwidth(2);w.setframerate(24000);w.writeframes(b''.join(parts))
row=dict(label=label,seconds=end-start,audio_seconds=duration,rtf=(end-start)/duration,first_pcm=first,reserve_seconds=reserve,start=start,end=end,events=events);report['runs'].append(row);print(json.dumps({k:v for k,v in row.items() if k!='events'}),flush=True)
synth('endpoint-warmup','Hallo Michael, die Sprachausgabe wird vorbereitet.')
synth('endpoint-idle',text)
t=threading.Thread(target=llm_load);t.start();assert ready.wait(120);assert 'first_token' in llm,llm
synth('endpoint-with-llm',text);t.join(180);assert not t.is_alive();report['llm']=llm
r=report['runs'][-1];report['overlap_seconds']=max(0,min(r['end'],llm['end'])-max(r['start'],llm['first_token']))
(out/'results.json').write_text(json.dumps(report,indent=2));print(json.dumps(dict(llm=llm,overlap_seconds=report['overlap_seconds'])),flush=True)
@@ -0,0 +1,41 @@
{
"runs": [
{
"label": "endpoint-warmup",
"seconds": 2.9956015130737796,
"audio_seconds": 3.76,
"rtf": 0.7967025300728138,
"first_pcm": 0.5308187420014292,
"reserve_seconds": 0.032312293029390274,
"start": 904430.333243039,
"end": 904433.328844552
},
{
"label": "endpoint-idle",
"seconds": 15.103727085981518,
"audio_seconds": 20.56,
"rtf": 0.7346170761664162,
"first_pcm": 0.4199979029363021,
"reserve_seconds": 0.05162099407054484,
"start": 904433.329512796,
"end": 904448.433239882
},
{
"label": "endpoint-with-llm",
"seconds": 41.419129104935564,
"audio_seconds": 20.56,
"rtf": 2.0145490809793563,
"first_pcm": 0.6812370399711654,
"reserve_seconds": 22.435243798955344,
"start": 904449.292551159,
"end": 904490.711680264
}
],
"llm": {
"start": 904448.452396317,
"first_token": 904449.2905462,
"content_events": 1522,
"end": 904485.034700797
},
"overlap_seconds": 35.74214963801205
}
@@ -0,0 +1,21 @@
{
"runs": [
{
"label": "endpoint-with-llm",
"seconds": 36.58650963404216,
"audio_seconds": 20.56,
"rtf": 1.7794994958191712,
"first_pcm": 0.7179153920151293,
"reserve_seconds": 16.042637431966142,
"start": 904546.440615895,
"end": 904583.027125529
}
],
"llm": {
"start": 904546.214807307,
"first_token": 904546.440370807,
"content_events": 1525,
"end": 904581.798287678
},
"overlap_seconds": 35.357671783072874
}
@@ -0,0 +1,21 @@
{
"runs": [
{
"label": "endpoint-with-llm",
"seconds": 28.21834514697548,
"audio_seconds": 20.56,
"rtf": 1.3724876044248775,
"first_pcm": 0.573553871945478,
"reserve_seconds": 7.731416613101029,
"start": 904629.608543945,
"end": 904657.826889092
}
],
"llm": {
"start": 904629.395971004,
"first_token": 904629.608436692,
"content_events": 1526,
"end": 904656.720168917
},
"overlap_seconds": 27.111624971963465
}
@@ -0,0 +1,10 @@
#!/bin/bash
set -eu
stage=/data/experiments/tts-speed-20261019
python=/data/experiments/qwen06-q8-native-cpu-20261019/venv/bin/python
for spec in 'q4-442 4 4 2 Q4' 'q4-444 4 4 4 Q4' 'q4-264 2 6 4 Q4'; do
set -- $spec
"$python" -c 'from pathlib import Path; a=next(int(s.split()[1]) for s in Path("/proc/meminfo").read_text().splitlines() if s.startswith("MemAvailable:"));assert a>9*1024**2,"RAM reserve insufficient"'
systemd-run --quiet --wait --collect --pipe --unit="tts-speed-$1" -p CPUQuota=600% -p MemoryMax=6G -p MemorySwapMax=0 -p Nice=10 -p PrivateDevices=yes -p NoNewPrivileges=yes -p RuntimeMaxSec=600 --setenv=CUDA_VISIBLE_DEVICES= --setenv=QWENTTS_CPU_FLASH_ATTN=1 --setenv=OPENBLAS_NUM_THREADS=1 --setenv=OMP_NUM_THREADS=4 --setenv=HF_HUB_OFFLINE=1 "$python" -u "$stage/bench.py" "$@" > "$stage/$1.log" 2>&1
"$python" -c 'import json,sys;d=json.load(open(sys.argv[1]));print(json.dumps(dict(name=d["name"],runs=[{k:r[k] for k in ("label","rtf","first_pcm","reserve_seconds")} for r in d["runs"]])))' "$stage/$1/results.json"
done
@@ -0,0 +1,10 @@
#!/bin/bash
set -eu
stage=/data/experiments/tts-speed-20261019
python=/data/experiments/qwen06-q8-native-cpu-20261019/venv/bin/python
for spec in 'q8-quota8-442 4 4 2 Q8' 'q8-quota8-462 4 6 2 Q8'; do
set -- $spec
"$python" -c 'from pathlib import Path; a=next(int(s.split()[1]) for s in Path("/proc/meminfo").read_text().splitlines() if s.startswith("MemAvailable:"));assert a>9*1024**2,"RAM reserve insufficient"'
systemd-run --quiet --wait --collect --pipe --unit="tts-speed-$1" -p CPUQuota=800% -p MemoryMax=6G -p MemorySwapMax=0 -p Nice=10 -p PrivateDevices=yes -p NoNewPrivileges=yes -p RuntimeMaxSec=600 --setenv=CUDA_VISIBLE_DEVICES= --setenv=QWENTTS_CPU_FLASH_ATTN=1 --setenv=OPENBLAS_NUM_THREADS=1 --setenv=OMP_NUM_THREADS=4 --setenv=HF_HUB_OFFLINE=1 "$python" -u "$stage/bench.py" "$@" > "$stage/$1.log" 2>&1
"$python" -c 'import json,sys;d=json.load(open(sys.argv[1]));print(json.dumps(dict(name=d["name"],runs=[{k:r[k] for k in ("label","rtf","first_pcm","reserve_seconds")} for r in d["runs"]])))' "$stage/$1/results.json"
done
@@ -0,0 +1,10 @@
#!/bin/bash
set -eu
stage=/data/experiments/tts-speed-20261019
python=/data/experiments/qwen06-q8-native-cpu-20261019/venv/bin/python
for spec in 'q8-442 4 4 2 Q8' 'q8-444 4 4 4 Q8' 'q8-624 6 2 4 Q8'; do
set -- $spec
"$python" -c 'from pathlib import Path; a=next(int(s.split()[1]) for s in Path("/proc/meminfo").read_text().splitlines() if s.startswith("MemAvailable:"));assert a>9*1024**2,"RAM reserve insufficient"'
systemd-run --quiet --wait --collect --pipe --unit="tts-speed-$1" -p CPUQuota=600% -p MemoryMax=6G -p MemorySwapMax=0 -p Nice=10 -p PrivateDevices=yes -p NoNewPrivileges=yes -p RuntimeMaxSec=600 --setenv=CUDA_VISIBLE_DEVICES= --setenv=QWENTTS_CPU_FLASH_ATTN=1 --setenv=OPENBLAS_NUM_THREADS=1 --setenv=OMP_NUM_THREADS=4 --setenv=HF_HUB_OFFLINE=1 "$python" -u "$stage/bench.py" "$@" > "$stage/$1.log" 2>&1
"$python" -c 'import json,sys;d=json.load(open(sys.argv[1]));print(json.dumps(dict(name=d["name"],runs=[{k:r[k] for k in ("label","rtf","first_pcm","reserve_seconds")} for r in d["runs"]])))' "$stage/$1/results.json"
done
@@ -0,0 +1,249 @@
[
{
"name": "q8-442",
"threads": 4,
"codec_threads": 4,
"stream_frames": 2,
"quant": "Q8",
"group": false,
"runs": [
{
"label": "warmup",
"text": "Hallo Michael, die Sprachausgabe wird vorbereitet.",
"segments": 1,
"seconds": 4.219404502015095,
"audio_seconds": 3.6,
"rtf": 1.1720568061153043,
"first_pcm": 0.9438017810462043,
"reserve_seconds": 0.07872084096539766
},
{
"label": "short",
"text": "Wenn du magst, erz\u00e4hle ich dir eine kurze Geschichte. Anna \u00f6ffnete das Fenster und h\u00f6rte drei V\u00f6gel singen.",
"segments": 2,
"seconds": 6.908481611986645,
"audio_seconds": 7.2,
"rtf": 0.959511334998145,
"first_pcm": 0.21896475803805515,
"reserve_seconds": 0.06813536597648635
},
{
"label": "story",
"text": "Morgens summten tausend Server leise. Michael \u00f6ffnete ein Ticket: Das WLAN f\u00e4llt aus. Er l\u00e4chelte, tippte drei Befehle, und das Netz funktionierte wieder. Drau\u00dfen regnete es sanft auf Karlsruhe. Auf dem Tisch lagen sieben B\u00fccher und eine rote Tasse. Zum Schluss sagte Anna: Das hat wunderbar funktioniert.",
"segments": 6,
"seconds": 20.659738074988127,
"audio_seconds": 21.28,
"rtf": 0.9708523531479383,
"first_pcm": 0.20372024801326916,
"reserve_seconds": 0.07373123999219389
}
],
"load_and_voice_seconds": 3.6337147239828482,
"state": "complete",
"rss_kib": 4018104
},
{
"name": "q8-444",
"threads": 4,
"codec_threads": 4,
"stream_frames": 4,
"quant": "Q8",
"group": false,
"runs": [
{
"label": "warmup",
"text": "Hallo Michael, die Sprachausgabe wird vorbereitet.",
"segments": 1,
"seconds": 4.08916788600618,
"audio_seconds": 3.6,
"rtf": 1.13587996833505,
"first_pcm": 0.9244544520042837,
"reserve_seconds": 0.2897224530111998
},
{
"label": "short",
"text": "Wenn du magst, erz\u00e4hle ich dir eine kurze Geschichte. Anna \u00f6ffnete das Fenster und h\u00f6rte drei V\u00f6gel singen.",
"segments": 2,
"seconds": 6.777956478996202,
"audio_seconds": 7.2,
"rtf": 0.941382844305028,
"first_pcm": 0.22055849799653515,
"reserve_seconds": 0.2881086060311645
},
{
"label": "story",
"text": "Morgens summten tausend Server leise. Michael \u00f6ffnete ein Ticket: Das WLAN f\u00e4llt aus. Er l\u00e4chelte, tippte drei Befehle, und das Netz funktionierte wieder. Drau\u00dfen regnete es sanft auf Karlsruhe. Auf dem Tisch lagen sieben B\u00fccher und eine rote Tasse. Zum Schluss sagte Anna: Das hat wunderbar funktioniert.",
"segments": 6,
"seconds": 20.307048357033636,
"audio_seconds": 21.28,
"rtf": 0.9542785882064678,
"first_pcm": 0.19667530001606792,
"reserve_seconds": 0.29208950299071146
}
],
"load_and_voice_seconds": 2.8912401929846965,
"state": "complete",
"rss_kib": 4042352
},
{
"name": "q8-624",
"threads": 6,
"codec_threads": 2,
"stream_frames": 4,
"quant": "Q8",
"group": false,
"runs": [
{
"label": "warmup",
"text": "Hallo Michael, die Sprachausgabe wird vorbereitet.",
"segments": 1,
"seconds": 5.2135746739804745,
"audio_seconds": 3.6,
"rtf": 1.4482151872167985,
"first_pcm": 0.9910280070034787,
"reserve_seconds": 0.9842184579675086
},
{
"label": "short",
"text": "Wenn du magst, erz\u00e4hle ich dir eine kurze Geschichte. Anna \u00f6ffnete das Fenster und h\u00f6rte drei V\u00f6gel singen.",
"segments": 2,
"seconds": 9.134828954993282,
"audio_seconds": 7.2,
"rtf": 1.268726243749067,
"first_pcm": 0.26886303100036457,
"reserve_seconds": 2.0089862499968145
},
{
"label": "story",
"text": "Morgens summten tausend Server leise. Michael \u00f6ffnete ein Ticket: Das WLAN f\u00e4llt aus. Er l\u00e4chelte, tippte drei Befehle, und das Netz funktionierte wieder. Drau\u00dfen regnete es sanft auf Karlsruhe. Auf dem Tisch lagen sieben B\u00fccher und eine rote Tasse. Zum Schluss sagte Anna: Das hat wunderbar funktioniert.",
"segments": 6,
"seconds": 26.808459545020014,
"audio_seconds": 21.28,
"rtf": 1.2597960312509404,
"first_pcm": 0.2538858220214024,
"reserve_seconds": 5.624523320964073
}
],
"load_and_voice_seconds": 3.5234306839993224,
"state": "complete",
"rss_kib": 4042416
},
{
"name": "q8-quota8-442",
"threads": 4,
"codec_threads": 4,
"stream_frames": 2,
"quant": "Q8",
"group": false,
"runs": [
{
"label": "warmup",
"text": "Hallo Michael, die Sprachausgabe wird vorbereitet.",
"segments": 1,
"seconds": 3.3393012849846855,
"audio_seconds": 3.6,
"rtf": 0.9275836902735237,
"first_pcm": 0.9224256639718078,
"reserve_seconds": 0.061075770021416245
},
{
"label": "short",
"text": "Wenn du magst, erz\u00e4hle ich dir eine kurze Geschichte. Anna \u00f6ffnete das Fenster und h\u00f6rte drei V\u00f6gel singen.",
"segments": 2,
"seconds": 5.366802366974298,
"audio_seconds": 7.2,
"rtf": 0.7453892176353192,
"first_pcm": 0.21105748001718894,
"reserve_seconds": 0.06115614100592211
},
{
"label": "story",
"text": "Morgens summten tausend Server leise. Michael \u00f6ffnete ein Ticket: Das WLAN f\u00e4llt aus. Er l\u00e4chelte, tippte drei Befehle, und das Netz funktionierte wieder. Drau\u00dfen regnete es sanft auf Karlsruhe. Auf dem Tisch lagen sieben B\u00fccher und eine rote Tasse. Zum Schluss sagte Anna: Das hat wunderbar funktioniert.",
"segments": 6,
"seconds": 15.919500911026262,
"audio_seconds": 21.28,
"rtf": 0.7480968473226627,
"first_pcm": 0.19563695101533085,
"reserve_seconds": 0.059924859977327286
}
],
"load_and_voice_seconds": 2.631250425998587,
"state": "complete",
"rss_kib": 4020008
},
{
"name": "q8-quota8-462",
"threads": 4,
"codec_threads": 6,
"stream_frames": 2,
"quant": "Q8",
"group": false,
"runs": [
{
"label": "warmup",
"text": "Hallo Michael, die Sprachausgabe wird vorbereitet.",
"segments": 1,
"seconds": 3.580849174002651,
"audio_seconds": 3.6,
"rtf": 0.9946803261118475,
"first_pcm": 0.9248864990076981,
"reserve_seconds": 0.05743445900036022
},
{
"label": "short",
"text": "Wenn du magst, erz\u00e4hle ich dir eine kurze Geschichte. Anna \u00f6ffnete das Fenster und h\u00f6rte drei V\u00f6gel singen.",
"segments": 2,
"seconds": 6.068023106025066,
"audio_seconds": 7.2,
"rtf": 0.8427809869479258,
"first_pcm": 0.21287397801643237,
"reserve_seconds": 0.059073862985242157
},
{
"label": "story",
"text": "Morgens summten tausend Server leise. Michael \u00f6ffnete ein Ticket: Das WLAN f\u00e4llt aus. Er l\u00e4chelte, tippte drei Befehle, und das Netz funktionierte wieder. Drau\u00dfen regnete es sanft auf Karlsruhe. Auf dem Tisch lagen sieben B\u00fccher und eine rote Tasse. Zum Schluss sagte Anna: Das hat wunderbar funktioniert.",
"segments": 6,
"seconds": 17.342349285027012,
"audio_seconds": 21.28,
"rtf": 0.8149600227926227,
"first_pcm": 0.19553259399253875,
"reserve_seconds": 0.07210586204193532
}
],
"load_and_voice_seconds": 2.4033921630471013,
"state": "complete",
"rss_kib": 4020152
},
{
"name": "q4-442",
"threads": 4,
"codec_threads": 4,
"stream_frames": 2,
"quant": "Q4",
"group": false,
"runs": [
{
"label": "warmup",
"text": "Hallo Michael, die Sprachausgabe wird vorbereitet.",
"segments": 1,
"seconds": 2.3704425820033066,
"audio_seconds": 3.52,
"rtf": 0.6734211880691212,
"first_pcm": 0.16807132598478347,
"reserve_seconds": 0.03963005701545626
},
{
"label": "short",
"text": "Wenn du magst, erz\u00e4hle ich dir eine kurze Geschichte. Anna \u00f6ffnete das Fenster und h\u00f6rte drei V\u00f6gel singen.",
"segments": 2,
"seconds": 11.399585828010458,
"audio_seconds": 17.36,
"rtf": 0.6566581698162707,
"first_pcm": 0.16651771101169288,
"reserve_seconds": 0.02037698596715927
}
],
"load_and_voice_seconds": 2.4452473929850385,
"state": "stopped_after_short_test_due_to_excess_silence"
}
]