Skip to content

u/vveeever1

In this archive from Dec 2026 to Dec 2026

0
posts
1
comments
0
media
1
score

Top comments

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

1 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.