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

sycl: NativeDense::hc_q8_requested() is declared by the shared header since STRATA_HC_Q8; the port's file defines it (the anonymous helper of the same name was hidden by the member, link error)

Niko1221ee9263ee38cb
diff --git a/sycl/src/core/native_dense.cpp b/sycl/src/core/native_dense.cpp
index 3d6beca16..ae3c892f2 100644
--- a/sycl/src/core/native_dense.cpp
+++ b/sycl/src/core/native_dense.cpp
@@ -30,7 +30,7 @@ bool in_range(const std::string& name) {
return l >= g_layer_lb && l < g_layer_le;
}
// S23 experiment (STRATA_HC_Q8=1): the hyper-connection projections' Q8_0 bytes for the verify read
-bool hc_q8_requested() {
+bool hc_q8_env() {
static const bool on = [] { const char* v = std::getenv("STRATA_HC_Q8"); return v != nullptr && v[0] == '1'; }();
return on;
}
@@ -107,6 +107,9 @@ struct Pending {
};
}
+// the shared header declares the static member (b60aab1b); this port only needs the env switch
+bool NativeDense::hc_q8_requested() { return hc_q8_env(); }
+
bool NativeDense::served_names(const std::vector<std::string>& shards, bool include_ple_key,
std::set<std::string>& out, std::string& err) {
try {