Adamiros commited on
Commit
b9474a5
·
verified ·
1 Parent(s): 2a053f7

Card: say why the MTP example uses --no-kv-unified

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -77,14 +77,14 @@ Checked with llama.cpp at commit `5f5acfe` (2026-10-22): `Q4_K_M` with the visio
77
  These GGUFs carry the model's MTP (multi-token-prediction) head, so llama.cpp can run self-speculative decoding — no separate draft model needed. Add `--spec-type draft-mtp` when serving:
78
 
79
  ```bash
80
- # -hf also loads the vision projector; -np 4 --no-kv-unified keeps parallel image requests accurate (see Vision below)
81
  llama-server -hf bottlecapai/ThinkingCap-Qwen3.8-Flash-Next-GGUF:Q4_K_M -np 4 --no-kv-unified --spec-type draft-mtp --spec-draft-n-max 4
82
  ```
83
 
84
- For text only, add `--no-mmproj` to skip the projector and drop `-np 4 --no-kv-unified`.
85
-
86
  Requires a llama.cpp build with MTP support for this architecture; runtimes that predate it may refuse to load the file with a `missing tensor` error — update the runtime. In that check on the H200, with 3 draft tokens (`--spec-draft-n-max 3`), MTP accepted on average 3.75 tokens per decoding step on the math request and 2.72 on the image request.
87
 
 
 
88
  ## Vision (image input)
89
 
90
  ThinkingCap is a **vision-language model**. Image input needs the multimodal projector
 
77
  These GGUFs carry the model's MTP (multi-token-prediction) head, so llama.cpp can run self-speculative decoding — no separate draft model needed. Add `--spec-type draft-mtp` when serving:
78
 
79
  ```bash
80
+ # -hf also loads the vision projector
81
  llama-server -hf bottlecapai/ThinkingCap-Qwen3.8-Flash-Next-GGUF:Q4_K_M -np 4 --no-kv-unified --spec-type draft-mtp --spec-draft-n-max 4
82
  ```
83
 
 
 
84
  Requires a llama.cpp build with MTP support for this architecture; runtimes that predate it may refuse to load the file with a `missing tensor` error — update the runtime. In that check on the H200, with 3 draft tokens (`--spec-draft-n-max 3`), MTP accepted on average 3.75 tokens per decoding step on the math request and 2.72 on the image request.
85
 
86
+ `-np 4 --no-kv-unified` gives each of the 4 parallel requests its own KV cache. llama-server's slots share one cache by default, and with this model that costs accuracy when several image requests are served at once: on 100 RealWorldQA questions the default 4 shared slots scored 71.0% against 86.0% for a single slot (see Vision below). For text only, add `--no-mmproj` to skip the projector and drop `-np 4 --no-kv-unified`.
87
+
88
  ## Vision (image input)
89
 
90
  ThinkingCap is a **vision-language model**. Image input needs the multimodal projector