r/LocalLLaMA • u/pmttyji • 3d ago
Discussion Vulkan Boost for Inkling 2 Mini - vulkan : support non-contiguous src in SCALE by Revertron · Pull Request #32735 · ggml-org/llama.cpp
https://github.com/ggml-org/llama.cpp/pull/32735Used Inkling-2-Mini-UD-Q8_K_XL.gguf from Unsloth repo (from Mainline_Support folder) on my Radeon AI PRO R9700.
| test | before (b019be0c, master) | after (0ea4ffd0, fix) | change |
|---|---|---|---|
| pp512 | 507.3 +/- 5.3 | 1604.8 +/- 7.8 | 3.2x |
| tg128 | 19.1 +/- 2.6 | 53.8 +/- 0.2 | 2.8x |
| pp512 @ d16384 | 388.1 +/- 4.0 | 892.9 +/- 28.6 | 2.3x |
| tg128 @ d16384 | 18.9 +/- 0.4 | 47.8 +/- 0.6 | 2.5x |
Tested with llama-bench -ngl 99 -fa 1 -ctk q8_0 -ctv q8_0 -p 512 -n 128 -d 0,16384 -r 3.
8GB VRAM Folks, what t/s are you getting with this model?
80
Upvotes
5
u/Kononnable 2d ago edited 2d ago
RX 6600 (RDNA 2, 8GB)
Main problem for this card for now are log lines like
sched_reserve: Vulkan0 compute buffer size = 8945.34 MiB
#32740 lowers that size by ~800MiB, but it still looks wrong. I didn't spend time/tokens to see what is the problem and how much of it is hardware specific yet.
10
u/Opening-Highway-3546 2d ago
That is amazing tbh. Testes it on my 9060 XT 16 GB and it doubled speed. Thank you. Any further speed ups possible?
1
u/mailto_devnull llama.cpp 2d ago
I'm confused, r9700 has 32GB VRAM... Not 8?
The token generation also seems disappointing. Can hit 50 on 27B, and you're telling me you get 18? Yikes...
2
u/sentakuhm91 2d ago
i downloaded latest PR and still getting:
2
u/Aggravating-Push-207 2d ago
20 tok/s tg and 200 tok/s pp :(
1
u/Poprouter 2d ago
nice jump on the 9700, 3.2x on prefill is real. the tapering at d16384 reads like the fix mostly helps short turns rather than long context prefill.
1
u/Galactic_Neighbour 2d ago
Should I use the mainline Unsloth quant or the one from GGML? They have something called
IQ4_NL, I've never seen a quant named like that before, but it seems to be about the same size as Unsloth'sQ4_K_XL. I've seen people use both. I'm not sure which one to choose.There are also multiple uncensored versions, but I'm guessing it's better to just download a lora.
1
u/DANGERCAT9000 2d ago
I've been running a version of this patch that someone recommended on HN on Friday, it's a huge improvement for vulkan users.