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

isa guard knows nvfp4_avx512.cpp; check_architecture leaves other architectures to read_geometry's by-name refusal

Niko1221cb88d3d2e3ca
diff --git a/include/strata/artifact/gguf_reader.hpp b/include/strata/artifact/gguf_reader.hpp
index 7ce5c60cb..efa607019 100644
--- a/include/strata/artifact/gguf_reader.hpp
+++ b/include/strata/artifact/gguf_reader.hpp
@@ -790,10 +790,7 @@ inline std::string check_architecture(const GgufFile& f) {
if (!arch) return "missing general.architecture";
const ModelFamily family = model_family_from_arch(arch->s);
if (family == ModelFamily::Qwen35Moe) return check_architecture_qwen35moe(f);
- if (family != ModelFamily::Qwen4Exp)
- return "architecture is '" + arch->s + "', Strata reads 'qwen4exp' (Qwen3.8-Flash-Next) and 'qwen35moe' "
- "(Qwen3.6-35B-A3B)";
- core::ModelGeometry g;
+ core::ModelGeometry g; // anything else is refused by name by read_geometry
std::string err = read_geometry(f, g);
if (err.empty()) err = geometry_unsupported(g);
return err;
diff --git a/tools/check_isa_guard.py b/tools/check_isa_guard.py
index 16e66c96d..7a7cd5f62 100644
--- a/tools/check_isa_guard.py
+++ b/tools/check_isa_guard.py
@@ -37,7 +37,7 @@ WIDE_PUBLIC = {
"q2_0_gguf_rows_multi_avx2_v", "q2_0_gguf_rows_multi_avx2_legacy", "q2_0_gguf_rows_multi_avx2_bitplane",
"act_quant_q8_1_avx2", "q8k_quant_avx2", "kq256_gu_rows", "kq256_rows", "bf16_rows_dot_multi",
}
-WIDE_OBJECTS = ("expert.cpp", "iq_avx512.cpp", "iq_avx2.cpp", "q2_avx2.cpp", "kq_avx2.cpp")
+WIDE_OBJECTS = ("expert.cpp", "iq_avx512.cpp", "iq_avx2.cpp", "q2_avx2.cpp", "kq_avx2.cpp", "nvfp4_avx512.cpp")
# An instruction is "wide" if it is EVEX encoded (first byte 0x62 in 64-bit mode), or one of these VEX / legacy
# extensions that an AVX2 CPU may lack. AVX-VNNI is VEX encoded (vpdpbusd, vpdpwssd ...).