1
0
Fork 0
mirror of https://github.com/ggerganov/llama.cpp.git synced 2025-03-06 20:48:53 +01:00
10 Feature matrix
Eve edited this page 2025-03-03 02:27:14 +00:00
CPU (AVX/AVX2) CPU (ARM NEON) Metal CUDA ROCm SYCL Vulkan Kompute
K-quants 🐢 🚫
I-quants 🐢 🐢 🐢 Partial¹ 🐢 🚫
Parallel Multi-GPU⁶ N/A N/A N/A Sequential only Sequential only
K cache quants 🚫
MoE architecture 🚫
  • : feature works
  • 🚫: feature does not work
  • : unknown, please contribute if you can test it yourself
  • 🐢: feature is slow
  • ¹: IQ3_S and IQ1_S, see #5886
  • ²: Only with -ngl 0
  • ³: Inference is 50% slower
  • ⁴: Slower than K-quants of comparable size
  • ⁵: Generally the CUDA or ROCM backends are faster, though there are cases where Vulkan has faster text generation. See #10879 for benchmarks.
  • ⁶: By default, all GPU backends can utilize multiple devices by running them sequentially. The CUDA code (which is also used for ROCm via HIP) also has code for running GPUs in parallel via --split-mode row. However, this is optimized relatively poorly and is only faster if the interconnect speed is fast vs. the speed of a single GPU.
  • ⁶: Only q8_0 and iq4_nl