This commit is contained in:
Pascal
2026-07-25 18:56:39 +02:00
parent d03ffb97f9
commit 13686e8d34
12 changed files with 163 additions and 163 deletions
+14 -14
View File
@@ -1,4 +1,4 @@
[Qwen] qwentts.cpp 521503f (2026-07-20)
[Qwen] qwentts.cpp 710a52a (2026-07-25)
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/git/qwentts.cpp/build/libggml-cuda.so
@@ -33,7 +33,7 @@ load_backend: loaded CPU backend from /mnt/workspace/git/qwentts.cpp/build/libgg
[Audio-Resample] Done: 380672 -> 414337 samples
[WeightCtx] Loaded 76 tensors, 34.9 MB into backend
[SpeakerEncoder] Loaded: enc_dim=2048 sr=24000 mel_dim=128 hidden=512 mfa=1536 asp_attn=128 se=128 scale=8
[Pipeline] Speaker encoder lazy loaded in 4 ms
[Pipeline] Speaker encoder lazy loaded in 22 ms
[Debug] mel-spk: [1618, 128] first4: -6.330339 -6.170074 -6.011195 -6.243161
[Debug] mel-hann: [1024] first4: 0.000000 0.000009 0.000038 0.000085
[Debug] mel-basis: [128, 513] first4: 0.000000 0.033550 0.008569 0.000000
@@ -51,7 +51,7 @@ load_backend: loaded CPU backend from /mnt/workspace/git/qwentts.cpp/build/libgg
[EncDownsample] Loaded: k=4 stride=2, 512 -> 512 channels, weights 2.0 MB
[WeightCtx] Loaded 20 tensors, 34.0 MB into backend
[EncQuantizer] Loaded: 16 codebooks (1 semantic + 15 acoustic), 2048 entries x 256 dim, hidden 512, weights 34.0 MB
[Pipeline] Codec encoder lazy loaded in 44 ms
[Pipeline] Codec encoder lazy loaded in 90 ms
[Debug] audio-input: [412800] first4: -0.000546 -0.001162 -0.000871 0.000340
[Debug] seanet-out: [430, 512] first4: -0.111631 13.770183 -0.302467 2.984188
[Debug] enc-transformer-out: [430, 512] first4: 0.536580 3.214924 -0.152684 0.613806
@@ -76,7 +76,7 @@ load_backend: loaded CPU backend from /mnt/workspace/git/qwentts.cpp/build/libgg
[Debug] talker-hidden-prefill-l27: [225, 2048] first4: 7.045298 -34.398609 -7.069448 28.624956
[Debug] talker-hidden-prefill-final: [225, 2048] first4: 0.239789 -1.222574 -0.223577 0.888043
[Debug] talker-logits-prefill: [3072] first4: 0.944606 -7.870981 -6.684478 -10.343767
[Batch] Admit slot=0 T_ctx=225 prefill=12.4 ms build=1.4 ms (stall for 0 active slots)
[Batch] Admit slot=0 T_ctx=225 prefill=22.6 ms build=1.3 ms (stall for 0 active slots)
[Sample] step=0 c0=27 u=-1.0000000000 subseq=0
[Debug] codes-step0: [16] first4: 27.000000 1408.000000 1824.000000 400.000000
[Debug] next-emb-step0: [2048] first4: 0.013383 -0.012534 0.088655 0.033408
@@ -93,15 +93,15 @@ ggml_backend_cuda_graph_compute: CUDA graph warmup complete
[Pipeline] Generated 64 frames (slot 0)
[Pipeline] Generation done : 64 frames
[Debug] codes-full: [64, 16] first4: 27.000000 1408.000000 1824.000000 400.000000
[Debug] output-audio: [122880] first4: 0.000498 0.000316 -0.001016 -0.000733
[Perf] PromptBuild 1.4 ms
[Perf] Prefill 12.4 ms (T_ctx prefill)
[Perf] TTFA 778.8 ms (first frame codes)
[Perf] TalkerDecode 166.9 ms (64 frames, 2.61 ms/frame)
[Perf] CodePredictor 257.6 ms (4.03 ms/frame)
[Debug] output-audio: [122880] first4: 0.000387 0.000201 -0.001097 -0.000789
[Perf] PromptBuild 1.3 ms
[Perf] Prefill 22.6 ms (T_ctx prefill)
[Perf] TTFA 852.9 ms (first frame codes)
[Perf] TalkerDecode 166.7 ms (64 frames, 2.61 ms/frame)
[Perf] CodePredictor 257.6 ms (4.02 ms/frame)
[Perf] HostCompose 0.1 ms (c0 sample + next emb)
[Perf] CodecDecode 14.7 ms
[Perf] Total 1211.3 ms (64 frames, 6.64 ms/frame AR, audio 5.12 s, RTF 0.237)
[Perf] CodecDecode 42.9 ms
[Perf] Total 1313.4 ms (64 frames, 6.63 ms/frame AR, audio 5.12 s, RTF 0.257)
[WAV] Wrote cpp/clone/clone-cpp.wav: 122880 samples, 24000 Hz, mono S16
[Pipeline] Wrote 122880 samples (5.12 s) -> cpp/clone/clone-cpp.wav
[Input] Prompt: 100 chars: qwentts.cpp is a minimal C++17 and GGML port of Qwen3-TTS fo...
@@ -152,5 +152,5 @@ ggml_backend_cuda_graph_compute: CUDA graph warmup complete
[Cossim] SpkASP cos: 1.000000 max: 7.9870e-06 mean: 2.2269e-07
[Cossim] SpeakerEmb cos: 1.000000 max: 1.4305e-05 mean: 2.5463e-07
[Cossim] CodesFull exact: 2.08% (1008 values)
[Cossim] Audio cos: 0.022055
[Cossim] WAV stft_cos: 0.185286 samples: 120960
[Cossim] Audio cos: 0.019831
[Cossim] WAV stft_cos: 0.189216 samples: 120960