test logs

This commit is contained in:
Pascal
2026-05-31 02:39:03 +02:00
parent a62fde62e6
commit 29a7fa0f97
48 changed files with 1475 additions and 1463 deletions
+23 -22
View File
@@ -1,3 +1,4 @@
[Qwen] qwentts.cpp a62fde6 (2026-05-30)
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
@@ -34,7 +35,7 @@ load_backend: loaded CPU backend from /mnt/workspace/qwentts.cpp/build/libggml-c
[Pipeline] Ready: hop 1920 samples @ 24000 Hz mono, 16 codebooks @ 12.5 Hz
[KVCache] Allocated: 28 layers, 8 KV heads, head_dim 128, max_seq_len 4096 -> 896 MB
[KVCache] Allocated: 5 layers, 8 KV heads, head_dim 128, max_seq_len 16 -> 0 MB
[Pipeline] Loaded: arch=1b7 variant=base tokenizer=qwen3_tts_tokenizer_12hz codebooks=16 speaker_encoder=loaded speakers=0
[Pipeline] Loaded: arch=1b7 variant=base tokenizer=qwen3_tts_tokenizer_12hz codebooks=16 speaker_encoder=loaded speakers=0 fa=on clamp_fp16=off
[BPE] Loaded from GGUF: 151676 vocab, 151291 merges, eos_id=151643
[BPE] Registered 5 arch special tokens (total specials=6)
[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
@@ -42,13 +43,13 @@ load_backend: loaded CPU backend from /mnt/workspace/qwentts.cpp/build/libggml-c
[Debug] talker-input-embed: [40, 2048] first4: 0.022157 -0.009049 0.008161 -0.020214
[Debug] trailing-text-hidden: [1, 2048] first4: -0.005331 0.008751 -0.004225 0.001141
[Debug] tts-pad-embed: [2048] first4: -0.005331 0.008751 -0.004225 0.001141
[Debug] talker-hidden-prefill-l0: [40, 2048] first4: -0.460921 -0.069914 0.016044 -0.039100
[Debug] talker-hidden-prefill-l7: [40, 2048] first4: -1.525369 -0.007542 0.340209 1.777390
[Debug] talker-hidden-prefill-l14: [40, 2048] first4: -1.296884 0.189210 0.441208 1.743850
[Debug] talker-hidden-prefill-l21: [40, 2048] first4: -0.771875 0.171125 0.791471 1.111795
[Debug] talker-hidden-prefill-l27: [40, 2048] first4: 7.131204 -34.471611 -7.107906 28.673965
[Debug] talker-hidden-prefill-final: [40, 2048] first4: 0.242832 -1.225767 -0.224903 0.889998
[Debug] talker-logits-prefill: [3072] first4: -4.249419 -6.400744 -0.999631 -3.239202
[Debug] talker-hidden-prefill-l0: [40, 2048] first4: -0.460921 -0.069914 0.016044 -0.039099
[Debug] talker-hidden-prefill-l7: [40, 2048] first4: -1.525361 -0.007543 0.340211 1.777413
[Debug] talker-hidden-prefill-l14: [40, 2048] first4: -1.296877 0.189209 0.441209 1.743876
[Debug] talker-hidden-prefill-l21: [40, 2048] first4: -0.771866 0.171123 0.791460 1.111815
[Debug] talker-hidden-prefill-l27: [40, 2048] first4: 7.131226 -34.471634 -7.107933 28.674021
[Debug] talker-hidden-prefill-final: [40, 2048] first4: 0.242833 -1.225767 -0.224904 0.890000
[Debug] talker-logits-prefill: [3072] first4: -4.249261 -6.401361 -1.000070 -3.238883
[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,7 +68,7 @@ load_backend: loaded CPU backend from /mnt/workspace/qwentts.cpp/build/libggml-c
[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.042911 -0.033715 -0.000281 0.188977
[Debug] talker-hidden-step1: [2048] first4: 1.686512 -2.523739 6.789270 0.739157
[Debug] talker-hidden-step1: [2048] first4: 1.686836 -2.523117 6.789655 0.738593
[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
@@ -105,21 +106,21 @@ load_backend: loaded CPU backend from /mnt/workspace/qwentts.cpp/build/libggml-c
[Python] Codes shape: (63, 16) (T_frames, num_code_groups)
[Python] Audio: 120960 samples 24000 Hz 5.04s -> python/base/base-python.wav
[Quant] F32 -> ../models/qwen-talker-1.7b-base-F32.gguf + ../models/qwen-tokenizer-12hz-F32.gguf
[GGML] Cmd: ../build/qwen-tts --model ../models/qwen-talker-1.7b-base-F32.gguf --codec ../models/qwen-tokenizer-12hz-F32.gguf --seed 42 --text qwentts.cpp is a minimal C++17 and GGML port of Qwen3-TTS for zero shot multilingual text to speech. --lang english --max-new 64 --dump cpp/base -o cpp/base/base-cpp.wav --greedy
[GGML] Cmd: ../build/qwen-tts --model ../models/qwen-talker-1.7b-base-F32.gguf --codec ../models/qwen-tokenizer-12hz-F32.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: 1.000000 max: 2.2650e-06 mean: 1.8841e-08
[Cossim] TrailingText cos: 1.000000 max: 1.0431e-06 mean: 9.3616e-09
[Cossim] TTSPadEmbed cos: 1.000000 max: 1.0431e-06 mean: 9.3616e-09
[Cossim] L0 cos: 1.000000 max: 1.5526e-03 mean: 2.7874e-05
[Cossim] L7 cos: 1.000000 max: 6.9824e-02 mean: 1.0704e-04
[Cossim] L14 cos: 1.000000 max: 7.0312e-02 mean: 2.7487e-04
[Cossim] L21 cos: 1.000000 max: 7.1777e-02 mean: 9.2039e-04
[Cossim] L27 cos: 1.000000 max: 6.8652e-01 mean: 3.4051e-03
[Cossim] Final cos: 1.000000 max: 2.3113e-02 mean: 2.3500e-04
[Cossim] Logits cos: 1.000000 max: 1.7665e-02 mean: 2.5834e-03
[Cossim] NextEmbStep0 cos: 1.000000 max: 1.0431e-06 mean: 9.3024e-09
[Cossim] TalkerHiddenStep1 cos: 1.000000 max: 1.0001e-02 mean: 1.8443e-03
[Cossim] Embed cos: 1.000000 max: 1.0431e-06 mean: 3.4064e-09
[Cossim] TrailingText cos: 1.000000 max: 1.0431e-06 mean: 9.3737e-09
[Cossim] TTSPadEmbed cos: 1.000000 max: 1.0431e-06 mean: 9.3737e-09
[Cossim] L0 cos: 1.000000 max: 1.5564e-03 mean: 2.7919e-05
[Cossim] L7 cos: 1.000000 max: 7.1289e-02 mean: 1.0879e-04
[Cossim] L14 cos: 1.000000 max: 7.1777e-02 mean: 2.8023e-04
[Cossim] L21 cos: 1.000000 max: 7.3730e-02 mean: 9.3342e-04
[Cossim] L27 cos: 1.000000 max: 6.8005e-01 mean: 3.4462e-03
[Cossim] Final cos: 1.000000 max: 2.0256e-02 mean: 2.3832e-04
[Cossim] Logits cos: 1.000000 max: 1.8763e-02 mean: 2.5604e-03
[Cossim] NextEmbStep0 cos: 1.000000 max: 1.0431e-06 mean: 9.3270e-09
[Cossim] TalkerHiddenStep1 cos: 0.999999 max: 1.1268e-02 mean: 2.1145e-03
[Cossim] CodesFull exact: 100.00% (1008 values)
[Cossim] Audio cos: 0.981624
[Cossim] WAV stft_cos: 0.989090 samples: 120960