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++
verify: a batch's GDN output is quantized to q8_1 under STRATA_QFUSE too (#1139)
Niko12210a22c467471a
diff --git a/src/core/verify.cpp b/src/core/verify.cppindex 6cb77fb29..1a971f59b 100644--- a/src/core/verify.cpp+++ b/src/core/verify.cpp@@ -884,7 +884,9 @@ bool Verifier::record_window(int T, cudaStream_t cs, std::string& err) {gdn_step_norm_multi(state, hb, (int) C, gate, beta, z_, (const float*) wnm->data, EPS, y_, (int) HK,(int) HV, te, self_commit ? one_ : nullptr, cs, tb, g_qfuse() ? (void*) xq_ : nullptr);stamp(l, 6, grp);- if (!g_qfuse()) native_quantize_q8_1(y_ + (size_t) tb * ZV, xq_, (int) ZV, n, cs); // STRATA_QFUSE: done above+ // STRATA_QFUSE: done above by gdn_step_norm_multi - but a batch's per-slot recurrence passes it no q8_1+ // destination (#1139: the out-projection read stale bytes), so that case quantizes here as without it+ if (!g_qfuse() || batch_rec_) native_quantize_q8_1(y_ + (size_t) tb * ZV, xq_, (int) ZV, n, cs);native_mmvq(wout->native_type, wout->native_data, xq_, bo_ + tb * N, (int) ZV, (int) N, n, cs);} else {// ======================= QSA =======================