isa guard knows nvfp4_avx512.cpp; check_architecture leaves other architectures to read_geometry's by-name refusal
This commit is contained in:
1 parent
289f8f03a7
commit
cb88d3d2e3
2 files changed
+2
-5
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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 ...).
|
||||
|
||||
Reference in new issue
Block a user