Skip to content

Commit 79a0ed2

Browse files
authored
Merge pull request #3491 from modelscope/docs/llamacpp-campplus-boundary-20260813
docs: clarify llama.cpp speaker diarization support
2 parents 3861be2 + 6394ae9 commit 79a0ed2

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

runtime/llama.cpp/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,19 @@ segmentation, SenseVoiceSmall and Paraformer emit one entry spanning the input.
7878
Progress and timing diagnostics remain on stderr, so redirecting stdout produces
7979
a clean subtitle file. Normal text output is unchanged when `--srt` is omitted.
8080

81+
## Speaker diarization
82+
83+
The standalone llama.cpp / GGUF binaries do **not** currently implement CAM++
84+
speaker embeddings or speaker clustering. `--vad` segments speech for long-audio
85+
transcription, but it does not assign speaker labels.
86+
87+
For speaker-aware transcripts, use the Python `AutoModel` pipeline with
88+
`spk_model="cam++"` (see the [FunASR quick start](../../README.md#quick-start)) or
89+
the [Fun-ASR-Nano vLLM service](../../examples/industrial_data_pretraining/fun_asr_nano/serve_vllm.py),
90+
which accepts `spk=true` and runs a separate speaker model. Keep using the
91+
llama.cpp binaries when the requirement is self-contained ASR plus optional
92+
FSMN-VAD without Python.
93+
8194
### Optional Windows CUDA backend for SenseVoiceSmall
8295

8396
The CPU release ZIPs are portable packages. Tagged releases also publish

0 commit comments

Comments
 (0)