Nice I also have a dual 3060 setup. I’ve been tuning the same Unsloth UD-IQ4_XS on 2× RTX 3060 12 GB with 112 GB RAM, running Windows. I got 128K working with Q8_0 KV for both the model and the MTP draft on a layer split. All 42 model layers and the KV caches are on the GPUs. The Engram table is lazy-mapped on the CPU side, and the BF16 vision projector is loaded on CPU.
The biggest improvement for me was --spec-draft-n-ubatch. Going from 1 to 32 cut prefill on the same 130,560-token prompt from 6:37 to about 3:11. That was just the draft microbatch change. The target batch and microbatch stayed at 256/64. A draft microbatch of 64 loaded but ran out of VRAM on the first generation.
Here’s what I see with the final settings. These are actual input token counts in a 131,072-token slot, using an uncached code-review prompt and 256 tokens of greedy output:
Nice I also have a dual 3060 setup. I’ve been tuning the same Unsloth UD-IQ4_XS on 2× RTX 3060 12 GB with 112 GB RAM, running Windows. I got 128K working with Q8_0 KV for both the model and the MTP draft on a layer split. All 42 model layers and the KV caches are on the GPUs. The Engram table is lazy-mapped on the CPU side, and the BF16 vision projector is loaded on CPU.
The biggest improvement for me was --spec-draft-n-ubatch. Going from 1 to 32 cut prefill on the same 130,560-token prompt from 6:37 to about 3:11. That was just the draft microbatch change. The target batch and microbatch stayed at 256/64. A draft microbatch of 64 loaded but ran out of VRAM on the first generation.
Here’s what I see with the final settings. These are actual input token counts in a 131,072-token slot, using an uncached code-review prompt and 256 tokens of greedy output:
Prompt tokens Prefill Decode
8,192 ~800 tok/s ~70 tok/s
130,560 678–688 tok/s 39.5–41.7 tok/
Here are some more details:
llama-server -m Qwen4-35B-A3B-UD-IQ4_XS-00001-of-00002.gguf \
--mmproj mmproj-BF16.gguf --no-mmproj-offload \
-c 131072 -np 1 -ngl 99 -sm layer -ts 46,54 -fa on --fit off \
-b 256 -ub 64 -ctk q8_0 -ctv q8_0 -ctkd q8_0 -ctvd q8_0 \
--load-mode mmap --lazy-mode on \
-ot 'per_layer_token_embd=CPU,^blk\.20\.ffn_down_exps\.weight$=CUDA0' \
--spec-type draft-mtp --spec-draft-n-max 2 --spec-draft-n-ubatch 32 \
--no-context-shift --jinja --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0