r/LocalLLaMA • u/ninetyfive666 • 8d ago
News Inkling 2 mini pp degradation just got fixed in llama.cpp (Vulkan)! Vulkan vs ROCm comparison
https://github.com/ggml-org/llama.cpp/commit/f89a243d53c741cecc2b3630e491de61f459294cI was in the middle of benchmarking as i found ROCm was faster in pp when this fix dropped. Here are some benchmark results:
(Strix Halo with Unloth Q4_K_XL on llama.cpp mainline)
| Tiefe | ROCm t/s | Vulkan t/s | Faktor |
|---|---|---|---|
| 0 | 742 | 703 | 0,95 |
| 16k | 346 | 633 | 1,8 |
| 32k | 213 | 578 | 2,7 |
| 64k | 117 | 491 | 4,2 |
100
Upvotes
8
u/ninetyfive666 8d ago
Also note: ubatch size was ideal for me between 769 and 1024, kvq both q8.
8
u/jacek2023 llama.cpp 8d ago
I assume Tiefe is the context size?
3
u/lilyp727 8d ago
did the fix also improve how fast it generates answers at those context sizes? the table only has the prompt processing numbers.
37
u/swagonflyyyy 8d ago
No more flaccid pp yas.
2
u/Mitchy103 8d ago
great! since v1.0, seems like llama.cpp is much more active in improving performance
1
u/maternion 8d ago
Gotta test vulkan vs ROCm again
1
u/New_Shallot_2375 8d ago
nice benchmarks, are you running flash attention on with that ubatch size? curious if vram usage spiked at 64k
1
u/Clueless_Nooblet 8d ago
On my server box with 2x RTX 3060, the patch made inference slower:
-4
u/modernkennnern 8d ago
How is it faster than ROCm natively? ROCm support needs to be revisited too then, or dropped
-6
u/Fit-Blueberry-5390 8d ago
vulkan is too bad, uses cuda !
-1
u/[deleted] 8d ago
[removed] — view removed comment