Commit Graph
12 Commits
Author SHA1 Message Date
Pascal 05ecde271a convert: drop orphan encoder.sliding_window GGUF key 2026-05-11 05:48:47 +02:00
Pascal 9264b737a9 encoder: replicate pad on downsample, drop orphan sliding_window field 2026-05-11 05:43:06 +02:00
Pascal 7e01c71c58 clang-format 2026-05-10 22:20:47 +02:00
Pascal c3bd376338 encoder-transformer: pure causal mask, drop sliding window 2026-05-10 22:20:22 +02:00
Pascal 7b9435c886 clone: mode B fix, librosa to torchaudio resample, plus SEANet bisection tooling 2026-05-10 22:11:45 +02:00
Pascal 186ee91c70 ggml: sync from llama.cpp 2026-05-10 20:56:28 +02:00
Pascal 7e89929a70 fix speaker encoder ECAPA forward cossim 0.86 -> 0.996
mel-spk and mel-mag dumps in speaker-encoder-extract.h applied an extra
ggml_transpose plus cont before write. Raw ggml ne=(C, T) already
streams as numpy [T, C], so the transpose was inverting axes vs the
python upstream. Removed it.
MelMag 0.04 -> 0.999, MelSpk 0.92 -> 0.998

spk_conv1d_same passed ggml_im2col a kernel ne=(K, 1, IC, 1) and an
input ne=(T_pad, 1, IC, 1) with IC in ne[2]. But the im2col impl reads
IC = b->ne[1] when is_2D=false, so it saw IC=1, wrote OW*K floats into
a buffer declared for OW*IC*K floats, and mul_mat consumed 99% garbage.
Moved IC into ne[1] for both kernel and input, which makes the impl
read the real IC and writes a buffer coherent with the declared ne. The
permute and the retranspose after pad become unnecessary, dropped both.
SpkFrontend 0.74 -> 0.994, SpeakerEmb 0.86 -> 0.996

Adds ECAPA bisection infrastructure : 4 stage out params in
speaker_encoder_forward (frontend, block3, mfa, asp), codec encoder
intermediate dumps in pipeline-codec.cpp (seanet-out, enc-transformer
out, codec-pre-fsq), matching pytorch hooks in debug-clone-cossim.py.
2026-05-10 20:56:14 +02:00
Pascal acb75fca36 tests 2026-05-10 17:24:33 +02:00
Pascal 564b36ac90 example file for voice clone 2026-05-10 17:20:15 +02:00
Pascal 4feb286f04 tests 2026-05-10 16:43:58 +02:00
Pascal 8ca9622c70 add ggml submodule 2026-05-10 16:02:06 +02:00
Pascal add3f940a0 Initial release 2026-05-10 15:57:15 +02:00