This commit is contained in:
Pascal
2026-05-31 17:49:31 +02:00
parent 08b79d1209
commit 8aba0f012a
32 changed files with 1010 additions and 1010 deletions
+29 -29
View File
@@ -1,4 +1,4 @@
[Qwen] qwentts.cpp 5442c2f (2026-05-31)
[Qwen] qwentts.cpp 199a658 (2026-05-31)
ggml_cuda_init: found 1 CUDA devices (Total VRAM: 97247 MiB):
Device 0: NVIDIA RTX PRO 6000 Blackwell Workstation Edition, compute capability 12.0, VMM: yes, VRAM: 97247 MiB
load_backend: loaded CUDA backend from /mnt/workspace/qwentts.cpp/build/libggml-cuda.so
@@ -39,15 +39,15 @@ load_backend: loaded CPU backend from /mnt/workspace/qwentts.cpp/build/libggml-c
[Prompt] Built: 38 ids, N_text=30, N_instruct=0, T_ctx=41, hidden=2048, lang=english (id=2050), speaker=vivian (id=3065) ref_spk_emb=no icl=no
[Debug] prompt-ids: [38] first4: 151644.000000 77091.000000 198.000000 80.000000
[Debug] talker-input-embed: [41, 2048] first4: 0.021552 -0.009410 0.007135 -0.019698
[Debug] trailing-text-hidden: [1, 2048] first4: -0.003715 0.008406 -0.005009 -0.000409
[Debug] tts-pad-embed: [2048] first4: -0.003715 0.008406 -0.005009 -0.000409
[Debug] trailing-text-hidden: [1, 2048] first4: -0.003711 0.008402 -0.005017 -0.000411
[Debug] tts-pad-embed: [2048] first4: -0.003711 0.008402 -0.005017 -0.000411
[Debug] talker-hidden-prefill-l0: [41, 2048] first4: -0.379815 -0.060772 0.002985 -0.014327
[Debug] talker-hidden-prefill-l7: [41, 2048] first4: -1.346465 0.269726 1.569094 2.175291
[Debug] talker-hidden-prefill-l14: [41, 2048] first4: -1.105307 0.433302 1.668352 2.121887
[Debug] talker-hidden-prefill-l21: [41, 2048] first4: -0.675624 0.342037 2.025074 1.566219
[Debug] talker-hidden-prefill-l27: [41, 2048] first4: -0.889476 -24.649376 -2.235569 26.374607
[Debug] talker-hidden-prefill-final: [41, 2048] first4: -0.027474 -0.795056 -0.064163 0.742563
[Debug] talker-logits-prefill: [3072] first4: -0.707031 -8.125000 -2.765625 -4.968750
[Debug] talker-logits-prefill: [3072] first4: -0.671875 -8.062500 -2.796875 -5.000000
[Sample] step=0 c0=1995 u=-1.0000000000 subseq=0
[Sample-CP] g=0 c=1159 u=-1.0000000000 subseq=1
[Sample-CP] g=1 c=355 u=-1.0000000000 subseq=2
@@ -65,8 +65,8 @@ load_backend: loaded CPU backend from /mnt/workspace/qwentts.cpp/build/libggml-c
[Sample-CP] g=13 c=812 u=-1.0000000000 subseq=14
[Sample-CP] g=14 c=901 u=-1.0000000000 subseq=15
[Debug] codes-step0: [16] first4: 1995.000000 1159.000000 355.000000 22.000000
[Debug] next-emb-step0: [2048] first4: -0.039671 -0.032533 -0.000920 0.180072
[Debug] talker-hidden-step1: [2048] first4: 0.535949 -1.849469 3.002415 -1.185039
[Debug] next-emb-step0: [2048] first4: -0.039668 -0.032537 -0.000928 0.180070
[Debug] talker-hidden-step1: [2048] first4: 0.507531 -1.860892 3.026835 -1.178462
[Sample] step=1 c0=259 u=-1.0000000000 subseq=16
[Sample-CP] g=0 c=259 u=-1.0000000000 subseq=17
[Sample-CP] g=1 c=1160 u=-1.0000000000 subseq=18
@@ -94,14 +94,14 @@ load_backend: loaded CPU backend from /mnt/workspace/qwentts.cpp/build/libggml-c
[Pipeline] Generation done : 64 frames
[Debug] codes-full: [64, 16] first4: 1995.000000 1159.000000 355.000000 22.000000
[Debug] output-audio: [122880] first4: 0.000016 0.000020 0.000016 0.000017
[Perf] PromptBuild 51.2 ms
[Perf] Prefill 10.4 ms (T_ctx prefill)
[Perf] TTFA 76.3 ms (first frame codes)
[Perf] TalkerDecode 237.8 ms (64 frames, 3.71 ms/frame)
[Perf] CodePredictor 466.5 ms (7.29 ms/frame)
[Perf] HostCompose 1.0 ms (c0 sample + next emb)
[Perf] CodecDecode 44.0 ms
[Perf] Total 811.7 ms (64 frames, 11.02 ms/frame AR, audio 5.12 s, RTF 0.159)
[Perf] PromptBuild 57.9 ms
[Perf] Prefill 11.2 ms (T_ctx prefill)
[Perf] TTFA 84.4 ms (first frame codes)
[Perf] TalkerDecode 235.4 ms (64 frames, 3.68 ms/frame)
[Perf] CodePredictor 467.9 ms (7.31 ms/frame)
[Perf] HostCompose 0.9 ms (c0 sample + next emb)
[Perf] CodecDecode 57.5 ms
[Perf] Total 831.6 ms (64 frames, 11.00 ms/frame AR, audio 5.12 s, RTF 0.162)
[WAV] Wrote cpp/customvoice/customvoice-cpp.wav: 122880 samples, 24000 Hz, mono S16
[Pipeline] Wrote 122880 samples (5.12 s) -> cpp/customvoice/customvoice-cpp.wav
[Input] Prompt: 100 chars: qwentts.cpp is a minimal C++17 and GGML port of Qwen3-TTS fo...
@@ -116,18 +116,18 @@ load_backend: loaded CPU backend from /mnt/workspace/qwentts.cpp/build/libggml-c
[GGML] Cmd: ../build/qwen-tts --model ../models/qwen-talker-1.7b-customvoice-BF16.gguf --codec ../models/qwen-tokenizer-12hz-BF16.gguf --seed 42 --speaker vivian --lang english --max-new 64 --dump cpp/customvoice -o cpp/customvoice/customvoice-cpp.wav --greedy
[GGML] Audio: 122880 samples 24000 Hz 5.12s -> cpp/customvoice/customvoice-cpp.wav
[Cossim] PromptIDs exact: 100.00% (38 values)
[Cossim] Embed cos: 1.000000 max: 1.0038e-03 mean: 3.5584e-05
[Cossim] TrailingText cos: 1.000000 max: 1.3709e-06 mean: 9.3464e-09
[Cossim] TTSPadEmbed cos: 1.000000 max: 1.3709e-06 mean: 9.3464e-09
[Cossim] L0 cos: 0.999997 max: 1.4417e-01 mean: 2.6730e-04
[Cossim] L7 cos: 0.999997 max: 1.8764e+01 mean: 3.1551e-03
[Cossim] L14 cos: 0.999997 max: 1.8774e+01 mean: 6.3004e-03
[Cossim] L21 cos: 0.999997 max: 1.8806e+01 mean: 2.0215e-02
[Cossim] L27 cos: 0.999989 max: 3.2072e+01 mean: 1.0380e-01
[Cossim] Final cos: 0.999964 max: 1.1374e+00 mean: 8.0259e-03
[Cossim] Logits cos: 0.999992 max: 9.2691e-02 mean: 1.5265e-02
[Cossim] NextEmbStep0 cos: 1.000000 max: 1.3709e-06 mean: 9.4380e-09
[Cossim] TalkerHiddenStep1 cos: 0.999990 max: 6.6814e-02 mean: 7.7878e-03
[Cossim] CodesFull exact: 15.87% (1008 values)
[Cossim] Audio cos: 0.169467
[Cossim] WAV stft_cos: 0.353257 samples: 120960
[Cossim] Embed cos: 1.000000 max: 1.0038e-03 mean: 3.6440e-05
[Cossim] TrailingText cos: 1.000000 max: 1.4782e-05 mean: 2.4371e-06
[Cossim] TTSPadEmbed cos: 1.000000 max: 1.4782e-05 mean: 2.4371e-06
[Cossim] L0 cos: 0.999997 max: 1.4417e-01 mean: 2.6572e-04
[Cossim] L7 cos: 0.999997 max: 1.8764e+01 mean: 3.1097e-03
[Cossim] L14 cos: 0.999997 max: 1.8774e+01 mean: 6.5687e-03
[Cossim] L21 cos: 0.999997 max: 1.8806e+01 mean: 2.1198e-02
[Cossim] L27 cos: 0.999989 max: 3.1941e+01 mean: 1.0737e-01
[Cossim] Final cos: 0.999961 max: 1.5471e+00 mean: 8.0438e-03
[Cossim] Logits cos: 0.999989 max: 1.1075e-01 mean: 1.8298e-02
[Cossim] NextEmbStep0 cos: 1.000000 max: 1.4782e-05 mean: 2.4371e-06
[Cossim] TalkerHiddenStep1 cos: 0.999988 max: 8.8899e-02 mean: 8.1324e-03
[Cossim] CodesFull exact: 31.35% (1008 values)
[Cossim] Audio cos: 0.256919
[Cossim] WAV stft_cos: 0.426543 samples: 120960