From d0de6cb0791df6bc2e14a1837eaeded678f4a0ae Mon Sep 17 00:00:00 2001 From: Niko1221 Date: Fri, 13 Nov 2026 18:05:40 +0100 Subject: [PATCH] docs: UNSLOTH_Q4 no longer says setup writes STRATA_HC_Q8 Setup writes nothing for it now; on NVIDIA the engine reads the file's own Q8_0 hyper-connection projections by itself for files that carry them as Q8_0, and STRATA_HC_Q8=0 restores the BF16 read. The AMD perplexity note says it was measured with the BF16 read. --- docs/UNSLOTH_Q4.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/UNSLOTH_Q4.md b/docs/UNSLOTH_Q4.md index 86262ec3f4..9cd0a16e31 100644 --- a/docs/UNSLOTH_Q4.md +++ b/docs/UNSLOTH_Q4.md @@ -34,11 +34,12 @@ strata launch --family unsloth --model UD-Q4_K_XL SHA-256 against the table below once and remembers it in the file's finish mark. A file with the wrong hash is deleted, so the next run downloads it again. - **Packing.** `--compat-bf16`, and never an `experts.bin` (`--low-ram` does not apply). -- **Defaults it writes** into the run config's `env`: `STRATA_HC_Q8=1` on CUDA (the GGUF's own Q8_0 hyper-connection - projections, closer to the file and faster), and `STRATA_ROUTE_TAIL_SKIP=0` where every expert is in RAM, except on +- **Defaults it writes** into the run config's `env`: `STRATA_ROUTE_TAIL_SKIP=0` where every expert is in RAM, except on Linux AMD gfx12 (R9700, RX 9000), where the engine's own default (the skip on, rank 7) stays: UD-Q4_K_XL decodes 6-16% faster there at an unchanged 61-task suite (`STRATA_ROUTE_TAIL_SKIP=0` turns it off). UD-Q4_K_XL keeps `STRATA_MMQ_KQ` - opt-in in the config (the Linux gfx12 engine takes it by itself since 0.2.10.1). + opt-in in the config (the Linux gfx12 engine takes it by itself since 0.2.10.1). Setup no longer writes `STRATA_HC_Q8`: + on NVIDIA the engine itself reads the file's own Q8_0 hyper-connection projections (closer to the file and faster) for + files that carry them as Q8_0, and `STRATA_HC_Q8=0` restores the BF16 read. - **Context.** It recommends 8K on a GPU under 14 GB, because every GB of KV cache is a GB less of cached experts. - **GPUs.** NVIDIA or AMD. One GPU is the default in the budget mode. With several GPUs, each card caches the experts of its own layers and the budget holds the hottest of the rest by the whole expert profile. Setup asks; `--gpus 0,1` @@ -233,7 +234,7 @@ what you see. One fidelity note applies to every `--compat-bf16` pack, UD-Q4_K_XL included. The pack rounds the file's Q8_0 hyper-connection projections to BF16, and on the Strix Halo that put perplexity 6 to 9% above llama.cpp's on the same -file (teacher-forced, short context). On NVIDIA the engine reads the file's Q8_0 values instead of the rounded BF16 by default. The 6 to 9% gap was measured on AMD, where setup does not write it. +file (teacher-forced, short context). On NVIDIA the engine reads the file's Q8_0 values instead of the rounded BF16 by default. The 6 to 9% gap was measured on AMD with the BF16 read. ## Q4_0 files