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
+28 -28
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
@@ -41,15 +41,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=40, hidden=2048, lang=english (id=2050), speaker=none (id=-1) ref_spk_emb=no icl=no
[Debug] prompt-ids: [38] first4: 151644.000000 77091.000000 198.000000 80.000000
[Debug] talker-input-embed: [40, 2048] first4: 0.021991 -0.008996 0.008355 -0.020301
[Debug] trailing-text-hidden: [1, 2048] first4: -0.005270 0.008716 -0.004355 0.001036
[Debug] tts-pad-embed: [2048] first4: -0.005270 0.008716 -0.004355 0.001036
[Debug] trailing-text-hidden: [1, 2048] first4: -0.005262 0.008715 -0.004324 0.001049
[Debug] tts-pad-embed: [2048] first4: -0.005262 0.008715 -0.004324 0.001049
[Debug] talker-hidden-prefill-l0: [40, 2048] first4: -0.462445 -0.072427 0.014970 -0.037452
[Debug] talker-hidden-prefill-l7: [40, 2048] first4: -2.202637 0.167428 0.202381 1.609037
[Debug] talker-hidden-prefill-l14: [40, 2048] first4: -1.978270 0.354012 0.308973 1.583308
[Debug] talker-hidden-prefill-l21: [40, 2048] first4: -1.464997 0.289494 0.668319 1.000694
[Debug] talker-hidden-prefill-l27: [40, 2048] first4: 6.706990 -34.569862 -7.394227 28.405701
[Debug] talker-hidden-prefill-final: [40, 2048] first4: 0.228430 -1.229495 -0.234007 0.881840
[Debug] talker-logits-prefill: [3072] first4: -4.078125 -6.398438 -1.076172 -3.267578
[Debug] talker-logits-prefill: [3072] first4: -4.085938 -6.386719 -1.058594 -3.251953
[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
@@ -67,8 +67,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.042839 -0.033702 -0.000574 0.188203
[Debug] talker-hidden-step1: [2048] first4: 1.669997 -2.561916 6.818936 0.665801
[Debug] next-emb-step0: [2048] first4: -0.042831 -0.033703 -0.000543 0.188216
[Debug] talker-hidden-step1: [2048] first4: 1.661710 -2.566321 6.820588 0.670599
[Sample] step=1 c0=215 u=-1.0000000000 subseq=16
[Sample-CP] g=0 c=1722 u=-1.0000000000 subseq=17
[Sample-CP] g=1 c=355 u=-1.0000000000 subseq=18
@@ -96,14 +96,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.000015 0.000017 0.000015 0.000017
[Perf] PromptBuild 320.9 ms
[Perf] Prefill 207.7 ms (T_ctx prefill)
[Perf] TTFA 699.3 ms (first frame codes)
[Perf] TalkerDecode 182.0 ms (64 frames, 2.84 ms/frame)
[Perf] CodePredictor 513.0 ms (8.02 ms/frame)
[Perf] PromptBuild 2.0 ms
[Perf] Prefill 11.3 ms (T_ctx prefill)
[Perf] TTFA 20.3 ms (first frame codes)
[Perf] TalkerDecode 176.9 ms (64 frames, 2.76 ms/frame)
[Perf] CodePredictor 357.2 ms (5.58 ms/frame)
[Perf] HostCompose 1.1 ms (c0 sample + next emb)
[Perf] CodecDecode 1186.1 ms
[Perf] Total 2411.6 ms (64 frames, 10.88 ms/frame AR, audio 5.12 s, RTF 0.471)
[Perf] CodecDecode 51.3 ms
[Perf] Total 600.5 ms (64 frames, 8.36 ms/frame AR, audio 5.12 s, RTF 0.117)
[WAV] Wrote cpp/base/base-cpp.wav: 122880 samples, 24000 Hz, mono S16
[Pipeline] Wrote 122880 samples (5.12 s) -> cpp/base/base-cpp.wav
[Input] Prompt: 100 chars: qwentts.cpp is a minimal C++17 and GGML port of Qwen3-TTS fo...
@@ -117,18 +117,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-base-Q8_0.gguf --codec ../models/qwen-tokenizer-12hz-Q8_0.gguf --seed 42 --lang english --max-new 64 --dump cpp/base -o cpp/base/base-cpp.wav --greedy
[GGML] Audio: 122880 samples 24000 Hz 5.12s -> cpp/base/base-cpp.wav
[Cossim] PromptIDs exact: 100.00% (38 values)
[Cossim] Embed cos: 0.999987 max: 2.2803e-03 mean: 1.8378e-04
[Cossim] TrailingText cos: 0.999999 max: 2.1233e-04 mean: 4.3863e-05
[Cossim] TTSPadEmbed cos: 0.999999 max: 2.1233e-04 mean: 4.3863e-05
[Cossim] L0 cos: 0.999992 max: 7.5516e-02 mean: 6.3871e-04
[Cossim] L7 cos: 0.999986 max: 1.7577e+01 mean: 4.2015e-02
[Cossim] L14 cos: 0.999986 max: 1.7631e+01 mean: 4.8597e-02
[Cossim] L21 cos: 0.999985 max: 1.7777e+01 mean: 7.8546e-02
[Cossim] L27 cos: 0.999957 max: 5.4742e+01 mean: 3.4493e-01
[Cossim] Final cos: 0.999647 max: 4.1027e+00 mean: 2.1984e-02
[Cossim] Logits cos: 0.999928 max: 2.0065e-01 mean: 3.6855e-02
[Cossim] NextEmbStep0 cos: 0.999992 max: 1.1117e-03 mean: 2.2935e-04
[Cossim] TalkerHiddenStep1 cos: 0.999814 max: 1.8624e-01 mean: 3.6437e-02
[Cossim] CodesFull exact: 100.00% (1008 values)
[Cossim] Audio cos: 0.981689
[Cossim] WAV stft_cos: 0.989144 samples: 120960
[Cossim] Embed cos: 0.999987 max: 2.2803e-03 mean: 1.8409e-04
[Cossim] TrailingText cos: 0.999999 max: 1.9968e-04 mean: 4.5182e-05
[Cossim] TTSPadEmbed cos: 0.999999 max: 1.9968e-04 mean: 4.5182e-05
[Cossim] L0 cos: 0.999992 max: 7.5516e-02 mean: 6.3898e-04
[Cossim] L7 cos: 0.999986 max: 1.7577e+01 mean: 4.2023e-02
[Cossim] L14 cos: 0.999986 max: 1.7631e+01 mean: 4.8608e-02
[Cossim] L21 cos: 0.999985 max: 1.7777e+01 mean: 7.8441e-02
[Cossim] L27 cos: 0.999956 max: 5.4742e+01 mean: 3.4629e-01
[Cossim] Final cos: 0.999635 max: 4.0327e+00 mean: 2.2069e-02
[Cossim] Logits cos: 0.999941 max: 1.8112e-01 mean: 3.1768e-02
[Cossim] NextEmbStep0 cos: 0.999992 max: 1.1459e-03 mean: 2.2969e-04
[Cossim] TalkerHiddenStep1 cos: 0.999824 max: 1.7569e-01 mean: 3.5396e-02
[Cossim] CodesFull exact: 99.90% (1008 values)
[Cossim] Audio cos: 0.981612
[Cossim] WAV stft_cos: 0.989094 samples: 120960