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++

CMake: fix the merge of the parity-pair list after the rebase (q4_0 pairs, Q6_K refusal test when the option is off)

Niko1221b55c48b29e58
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a8f9285ed..ca5fdff12 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1296,12 +1296,13 @@ if(STRATA_NATIVE_EXPERTS)
# noise, not a kernel bug -- see the PR).
# 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.
- set(_strata_parity_pairs q4_K/q5_1 q4_K/q8_0 q5_K/q8_0 q8_0/q8_0 q4_K/q5_0 q5_0/q8_0)
+ set(_strata_parity_pairs 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)
if(STRATA_Q6K_EXPERTS)
list(APPEND _strata_parity_pairs q6_K/q8_0)
+ else() # 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()
foreach(_pair ${_strata_parity_pairs})
string(REPLACE "/" "_" _name "${_pair}")