Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++

docs: record the UD-Q6_K_XL server run and register its parity pair

Thomas Weaver8c4a6e1de77e
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ed329bde3..f8f4b06c2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1253,6 +1253,9 @@ if(STRATA_NATIVE_EXPERTS)
# q4_0/q4_0 and q4_0/q4_1: a plain llama-quantize Q4_0 file (bartowski's Qwen3.8-Flash-Next-Q4_0: gate/up Q4_0,
# down Q4_0 on 42 layers and Q4_1 on 6)
foreach(_pair q4_K/q5_1 q4_K/q8_0 q5_K/q8_0 q8_0/q8_0 q4_K/q5_0 q5_0/q8_0 q4_0/q4_0 q4_0/q4_1)
+
+ # q6_K/q8_0: Unsloth UD-Q6_K_XL gate/up Q6_K with Q8_0 down (docs/UNSLOTH_Q6.md). Layer 2 is q8_0/q8_0, already listed.
+ foreach(_pair q4_K/q5_1 q4_K/q8_0 q5_K/q8_0 q8_0/q8_0 q4_K/q5_0 q5_0/q8_0 q6_K/q8_0)
string(REPLACE "/" "_" _name "${_pair}")
add_test(NAME native_expert_parity_${_name} COMMAND native_expert_parity --synthetic ${_pair})
set_tests_properties(native_expert_parity_${_name} PROPERTIES TIMEOUT 120)
@@ -1260,9 +1263,6 @@ if(STRATA_NATIVE_EXPERTS)
add_test(NAME native_expert_parity_q5_1_min COMMAND native_expert_parity --q5_1-min)
# #290: the BF16 token embedding (--embd-gguf) gathered and dequantized bit for bit
add_test(NAME native_expert_parity_bf16_embd COMMAND native_expert_parity --bf16-embd)
- # a pair without GPU kernels (Q6_K gate/up) is refused by native_expert_supported, not run
- add_test(NAME native_expert_parity_refuses_q6_K COMMAND native_expert_parity --synthetic q6_K/q8_0)
- set_tests_properties(native_expert_parity_refuses_q6_K PROPERTIES WILL_FAIL TRUE)
endif()
endif()
# #296's real-weight checks (OrcaRouter Q4_K_S files; docs/ORCA_Q4_K_S.md) - test programs, not part of a release
diff --git a/docs/UNSLOTH_Q6.md b/docs/UNSLOTH_Q6.md
index b17d06d5d..6d0f40376 100644
--- a/docs/UNSLOTH_Q6.md
+++ b/docs/UNSLOTH_Q6.md
@@ -27,8 +27,8 @@ Formats, read from the shard headers with `tools/gguf_reader.py` (all six shards
- **Routed experts:** `ffn_gate_exps` and `ffn_up_exps` are Q6_K (seen in every layer of shard 6: blocks 41-47);
`ffn_down_exps` is Q8_0 (per layer 891.3 MB at 640×2560×512, against Q6_K's 688.1 MB at 2560×640×512 for gate or
- up). The down experts are Q6_K in 47 of 48 layers and Q8_0 in the odd one out, layer 2 (read from the headers:
- UD-Q4_K_XL had the same kind of per-layer quirk, its Q5_K in layer 2). Either way Q6_K experts are native: the
+ up). Gate and up are Q6_K in 47 of 48 layers and Q8_0 in layer 2; down is Q8_0 in every layer (the pack's
+ `native_experts.txt`: 47 rows of ggml types 14/8, and layer 2 is 8/8). Q6_K gate/up is native: the
engine multiplies them directly on the GPU in every path check below, and the CPU has the ggml block layout (210
bytes per 256 elements); the per-role layout in `native_experts.txt` v4 handles shards whose boundaries cut
through a layer like UD-Q4_K_XL's layer 11 case does.
@@ -110,8 +110,8 @@ it (the PLE Q8_0 reader is the other half):
Tests: `native_grouped_parity` loops Q6_K/Q8_0 pairs; `prefill_mmq_kquant_test` runs Q6_K gate/up products at
1280×2560 against a double-precision reference; `native_expert_parity --synthetic q6_K/q8_0` checks GPU and CPU
-against ggml's dequantized weights. All three are built (CUDA, `86;120`) and pending a GPU slot to run on the same
-box as the first real decode.
+against ggml's dequantized weights. All three are built (CUDA, `86;120`). They have not been run on a GPU: the
+card was serving the file below.
## Status: what is verified and what is not
@@ -127,7 +127,11 @@ Verified here (test clone, Linux, NVIDIA GPU, source build):
- Q6_K expert source support: decode-side MMVQ was already there; the grouped verify-window kernels, the MMQ
prompt kernels and the `native_expert_supported` gate were not, and are in this branch (section above).
-Not yet: running the three Q6_K parity tests on a GPU (the box is serving production), the first real decode run
-on the finished file (speed, quality against llama.cpp, the prompt path's behavior with this table), and the
-measurements that let this page lose "experimental". When the GPU frees up: parity tests, then the server, and
-record the same measurements as [UD-Q4_K_XL's](UNSLOTH_Q4.md#quality-against-llamacpp-on-the-same-file).
\ No newline at end of file
+The server has run this file. On 2026-10-04, Linux, an RTX PRO 4500 Blackwell (compute capability 12.0) plus a
+second GPU, a Threadripper PRO 5975WX (AVX2, no AVX-512), 30 expert-pool workers and 499 GB of RAM, engine 0.1.39
+loaded 101.75 GiB of experts (8.43 GiB/s) and served one review. The cold read was 14,915 tokens at 3,176 tok/s.
+Fourteen turns generated 5,799 tokens in 74.1 s (78.3 tok/s) and finished at 44,160 tokens of context; drafts were
+accepted 3,485 of 4,406 (79.1%). The same machine on engine 0.1.38, before this branch was rebased onto 0.1.39,
+read 249,193 tokens cold at 2,802 tok/s and then generated 1,079 tokens at 69.0 tok/s. Quality against llama.cpp
+on this file has not been measured, so the page stays experimental. The three Q6_K parity programs above are the
+remaining GPU check.
\ No newline at end of file