ji-farthing commited on
Commit
ceef7fe
·
verified ·
1 Parent(s): a0da4e8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +8 -8
README.md CHANGED
@@ -46,19 +46,19 @@ The two targets differ only in the routed experts: `ffn_gate_exps` and `ffn_up_e
46
  The head carries its own hyper-connection mixer, so the loader binds that rather than falling back to the trunk's. Its importance matrix was collected paired against the IQ3_KT target, on the same corpus as the targets, so the head is calibrated for the activations the quantized target actually produces.
47
 
48
  ```bash
49
- llama-server \
50
- -m Qwen3.8-Flash-Next-ik_llama-IQ3_KT-00001-of-00002.gguf \
51
- --model-draft Qwen3.8-Flash-Next-MTP-ik_llama-IQ4_KT.gguf \
52
- --spec-type mtp:n_max=1,p_min=0.0 \
53
- --defer-ple -ngl 4 -ot '(attn_|ssm_|hc_|indexer|ple_|shexp|ffn_gate_inp)=CUDA0' \
54
- -c 16384 -b 2048 -ub 1024 -fa on -ctk q8_0 -ctv q8_0 -ictk q8_0 --jinja
55
  ```
56
 
57
- Validated with RTX 4070 with 12 GB VRAM and 64 GB system RAM: dense tensors on the GPU, experts on host, PLE table left on disk.
58
 
59
  ## Runtime
60
 
61
- These files need [ik_llama.cpp](https://github.com/ikawrakow/ik_llama.cpp). The KT trellis types exist only there. The targets load on current `main`. The draft head needs a build that includes qwen4exp MTP support (PR #2369 at the time of writing) and merged `--defer-ple` (PR #2389).
62
 
63
  `--defer-ple` matters on any machine with less RAM than the file. The PLE table is 26.8 GiB and is read a few rows per token, so it can stay on disk. Without the flag the loader pulls it resident. The routed experts are read every token and do need to fit in RAM or VRAM: **50.4 GiB for IQ3_KT, 58.6 GiB for IQ4_KT**.
64
 
 
46
  The head carries its own hyper-connection mixer, so the loader binds that rather than falling back to the trunk's. Its importance matrix was collected paired against the IQ3_KT target, on the same corpus as the targets, so the head is calibrated for the activations the quantized target actually produces.
47
 
48
  ```bash
49
+ GGML_CUDA_NO_PINNED=1 llama-server \
50
+ -m Qwen3.8-Flash-Next-ik_llama-IQ3_KT-00001-of-00002.gguf \
51
+ --model-draft Qwen3.8-Flash-Next-MTP-ik_llama-IQ4_KT.gguf \
52
+ --spec-type mtp:n_max=1,p_min=0.0 \
53
+ --defer-ple -ngl 49 -ot 'ffn_.*_exps=CPU' \
54
+ -c 131072 -b 2048 -ub 2048 -fa on -ctk q8_0 -ctv q8_0 -ictk q8_0 --jinja
55
  ```
56
 
57
+ Validated with RTX 4070 with 12 GB VRAM and 64 GB system RAM: every layer on the GPU except the routed experts, which stay on host, and the PLE table left on disk. This serves 128K context in 6.7 GiB of VRAM at about 20 tokens per second.
58
 
59
  ## Runtime
60
 
61
+ These files need [ik_llama.cpp](https://github.com/ikawrakow/ik_llama.cpp). The KT trellis types exist only there. The targets load on current `main`. The draft head needs a build that includes qwen4exp MTP support (PR #2369).
62
 
63
  `--defer-ple` matters on any machine with less RAM than the file. The PLE table is 26.8 GiB and is read a few rows per token, so it can stay on disk. Without the flag the loader pulls it resident. The routed experts are read every token and do need to fit in RAM or VRAM: **50.4 GiB for IQ3_KT, 58.6 GiB for IQ4_KT**.
64