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++
Refactor architecture check for tuning compatibility
Soren-ld12d6af092b4d
diff --git a/src/prefill/hipblaslt_tuning.hpp b/src/prefill/hipblaslt_tuning.hppindex 2121816bf..b1d0c16e3 100644--- a/src/prefill/hipblaslt_tuning.hpp+++ b/src/prefill/hipblaslt_tuning.hpp@@ -54,8 +54,13 @@ public:// must still load its own calibration. A solution ID that does not exist on the running card// fails the per-solution gate in prefill/gemm.cu (getAlgosFromIndex / matmulIsAlgoSupported) and// falls back to hipBLASEx, so the header gate does not need to be exact.- const auto family = [](const std::string& a) { return a.substr(0, 5); }; // "gfx12", "gfx11"- if (family(arch) != family(expected_arch)) {+ const auto is_rdna4 = [](const std::string& a) { return a == "gfx1200" || a == "gfx1201"; };+ const auto is_rdna3 = [](const std::string& a) {+ return a == "gfx1100" || a == "gfx1101" || a == "gfx1102";+ };+ if (arch != expected_arch &&+ !(is_rdna4(arch) && is_rdna4(expected_arch)) &&+ !(is_rdna3(arch) && is_rdna3(expected_arch))) {err = "tuning architecture mismatch: file=" + arch + " runtime=" + expected_arch;return false;}