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++
arch_defaults gfx12: drop STRATA_HCD_EXACT (inert without the gfx1151 tuning table, and noisy); five prompt switches, measured +0.8/+1.6/+1.8% at 4K/16K/32K on an R9700 (IQ3_S)
Niko12217609cc18a113
diff --git a/src/core/arch_defaults.cpp b/src/core/arch_defaults.cppindex 7691834cc..e8ca7c9b7 100644--- a/src/core/arch_defaults.cpp+++ b/src/core/arch_defaults.cpp@@ -14,6 +14,8 @@ std::vector<std::pair<std::string, std::string>> arch_default_env(const char* gcif (strata::kernels::gfx_arch_is_gfx12(gcn_arch)) {// gfx1200 / gfx1201 (RDNA4): only the PROMPT half of the gfx1151 table. Reported exact (identical answers) on an R9700// in #1478 and re-checked bitwise here (notes-142-amd.md); the decode half measured slower on that card, so it stays out.+ // STRATA_HCD_EXACT is left out: it needs the gfx1151 hipBLASLt tuning table, finds none on gfx12, says so on every start+ // and does nothing (measured: with and without it identical, 0.0 to +0.1%).// STRATA_GDN_CONVL2 is AMD-only on purpose: it is not bitwise on CUDA 13.3 sm_120 (#1522), and this table is never// consulted by a CUDA build.const char* off12 = std::getenv("STRATA_GFX12_DEFAULTS");@@ -24,7 +26,6 @@ std::vector<std::pair<std::string, std::string>> arch_default_env(const char* gc{"STRATA_GDN_CONVL2", "1"},{"STRATA_GDN_NOY", "1"},{"STRATA_CVEC_FUSE", "1"},- {"STRATA_HCD_EXACT", "1"},};return t;}diff --git a/src/core/arch_defaults_test.cpp b/src/core/arch_defaults_test.cppindex 7158e7e5b..93ee00757 100644--- a/src/core/arch_defaults_test.cpp+++ b/src/core/arch_defaults_test.cpp@@ -43,11 +43,12 @@ int main() {CHECK(kv.first != bits);}}- // gfx12: the six prompt switches only, no decode switch, no bit-changing one+ // gfx12: the five prompt switches only, no decode switch, no bit-changing oneunset("STRATA_GFX12_DEFAULTS");for (const char* a : {"gfx1200", "gfx1201", "gfx1201:sramecc-:xnack-"}) {const auto t = arch_default_env(a);- CHECK(t.size() == 6);+ CHECK(t.size() == 5);+ for (const auto& kv : t) CHECK(kv.first != "STRATA_HCD_EXACT");for (const auto& kv : t) {CHECK(kv.first != "STRATA_Q8_PACKED" && kv.first != "STRATA_SH_STREAM" && kv.first != "STRATA_PF_GEMM" &&kv.first != "STRATA_PF_FUSED");