From d4e047660badf67e529c708e86320e1e76823650 Mon Sep 17 00:00:00 2001 From: Niko1221 Date: Tue, 29 Sep 2026 19:17:37 +0200 Subject: [PATCH] docs: AMD through setup (./setup.sh --backend hip), the k8v4 KV option --- README.md | 5 +++-- docs/DETAILS.md | 6 ++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f74b82df..7ee86900 100644 --- a/README.md +++ b/README.md @@ -84,8 +84,9 @@ one later with `SETUP.bat` (the same as `START-HERE.bat --setup`; on Linux `./se For **OrcaRouter's Flash-Next Uncensored IQ3_XXS**, see the [manual compatibility setup](docs/ORCA.md). It needs an explicit packing conversion and is not an installer menu option. -For an **experimental RX 7900 XTX (gfx1100) Linux source build**, see the -[AMD HIP instructions](docs/AMD_HIP.md). The automatic installer below remains NVIDIA-only. +An **AMD Radeon RX 7900 XT / XTX on Linux** works too (experimental): `./setup.sh --backend hip`, chosen by itself on +a PC with no NVIDIA card Strata can use. It installs ROCm without sudo and compiles the engine (one GPU, no images +yet). Details: [AMD HIP](docs/AMD_HIP.md). ## Install diff --git a/docs/DETAILS.md b/docs/DETAILS.md index 8d0209cc..356738ac 100644 --- a/docs/DETAILS.md +++ b/docs/DETAILS.md @@ -61,6 +61,12 @@ halves the KV cache's memory with a Hadamard rotation before 4-bit rounding (PR is measurably less precise on long documents (perplexity +8-12%; needle tests still pass). 8-bit stays the default. Details: [`bench/results/2026-09-27-kv-q4`](../bench/results/2026-09-27-kv-q4/README.md). +**Hybrid K8V4 KV cache (engine 0.1.25, optional, PR #120):** `--kv k8v4` (`START-HERE.bat --setup --kv k8v4`) keeps +the keys at 8 bits and stores the values as rotated 4-bit: 23% less KV memory than 8-bit, so more experts fit in +VRAM. RTX 3090, the Coder at 198K context: 99 instead of 85 tokens/s output, the same needle results, prompts 2-5% +slower. It does not stream its KV cache (KV streaming is on by default from 64K), so it pays off mostly on large +cards at long contexts. + Time to first token is prompt length / prompt speed: with Q2_0 about 4 s at 4K, 25 s at 32K, under 2 minutes at 128K and 4.5 minutes at 262K (engine 0.1.13 made long prompts about twice as fast, below).