llama.cpp/docs
Alan Tseng 9f12cd4a4c
ggml-cpu : add Q8_0 IME1 matrix kernel for SpacemiT X60 (#28479)
* ggml-cpu : add Q8_0 IME1 matrix kernel for SpacemiT X60

On the SpacemiT X60, IME matrix acceleration only covered Q4_0/Q4_1/Q4_K.
Q8_0 had no IME1 kernel, and since the SpacemiT build sets
GGML_CPU_REPACK=OFF there was no repack path compiled in either, so Q8_0
had no accelerated path at all and ran roughly ten times slower than
Q4_0 for prefill on the same board.

- add make_block_q8_0x16 and the Q8_0 repack entry: interleave the
  weights into the 16-column layout the IME1 vmadot sequence expects
- add ime1::gemm_kernel_i8i8, an int8 x int8 IME1 kernel with a
  single-row and a 4-row A path; the 4-row path loads each B panel once
  and reuses it across 4 rows of A
- add quantize_a_4row_i8 for the 4-row activation quantization
- wire both into forward_mul_mat and the repack factory for Q8_0
- docs: mark Q8_0 as supported on X60

Correctness was checked against a quant-exact integer reference for
K = 32 up to 4096, with a max relative error of about 1e-6, and by
checking that generation stays coherent across several prompts.

Tested on Milk-V Jupiter (SpacemiT X60), Bianbu 2.1.1, gcc 14.2, with
Qwen2.5-0.5B-Instruct Q8_0. llama-bench -t 4 under taskset -c 0-3, 5
repetitions on an idle board: pp128 goes from 10.70 to 93.87 t/s. Q4_0
is unchanged at 106.40 -> 107.51 t/s, as expected since this does not
touch that path.

* ggml-cpu : move q8_0_16x32 decl to IME1 section

* ggml-cpu : align q8_0 IME1 kernel assignments
2026-10-05 10:34:15 +03:00
..
android android: fix missing screenshots for Android.md (#18156) 2025-12-19 09:32:04 +02:00
backend ggml-openvino: update to 2026.4.1, optimize performance, expand ops, improve device listing. (#29852) 2026-10-03 11:59:25 +03:00
development llama, server: add /v1/systemone API (models: laya, julia-1, lev, openjev, kev) (#29818) 2026-10-02 11:56:04 +02:00
multimodal docs : fix duplicated "the" in granitevision and model-conversion docs (#23767) 2026-05-27 09:34:06 +02:00
ops docs : refresh CPU ops support matrix (#29666) 2026-10-01 08:17:51 +03:00
android.md kleidiai : Update KleidiAI Documentation (#26078) 2026-09-01 10:45:13 +02:00
autoparser.md common : add LLM-jp-4.1 Harmony dialect handler (#29681) 2026-10-01 08:33:55 +03:00
build-profiling.md cmake : add PCH and unity build to improve build times (#28091) 2026-09-11 13:01:29 +02:00
build-riscv64-spacemit.md ggml-cpu : add Q8_0 IME1 matrix kernel for SpacemiT X60 (#28479) 2026-10-05 10:34:15 +03:00
build-s390x.md ggml-cpu(s390x): add Q1_0 vector intrinsic support (#28606) 2026-09-10 09:50:28 +03:00
build.md CUDA: Make CCCL configurable + pin it to 3.4.3 for CI jobs (#29792) 2026-10-01 13:05:29 +02:00
completions.md readme : refresh (#26280) 2026-07-30 16:14:37 +03:00
docker.md musa: build the docker images from the PH1 MUSA SDK image (#29481) 2026-09-26 21:50:27 +02:00
function-calling.md common : add LLM-jp-4.1 Harmony dialect handler (#29681) 2026-10-01 08:33:55 +03:00
install.md docs: Adapt conda-forge package name (#26229) 2026-07-28 16:51:20 +02:00
llguidance.md llguidance build fixes for Windows (#11664) 2025-02-14 12:46:08 -08:00
models.md readme : refresh (#26280) 2026-07-30 16:14:37 +03:00
multi-gpu.md Write a readme on Multi-GPU usage in llama.cpp (#22729) 2026-05-07 17:48:40 +02:00
multimodal.md mtmd: refactor preprocessor, add mtmd_image_preproc_out (#24736) 2026-06-18 12:04:39 +02:00
ops.md docs : refresh CPU ops support matrix (#29666) 2026-10-01 08:17:51 +03:00
preset.md common: add system-level config file (#26118) 2026-08-13 00:02:27 +02:00
release.md ci : allow make-release to target a specific commit (#27234) 2026-08-17 11:52:46 +03:00
speculative.md spec: Add benchmark-only synthetic speculative acceptance options (#27711) 2026-08-27 13:53:42 +03:00
xcframework.md readme : refresh (#26280) 2026-07-30 16:14:37 +03:00