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

layer split overlap: the hand-off publish reads the test word only with STRATA_TEST_HANDOFF_DROP set

bsvinay090b8e9f13a8
diff --git a/src/core/verify.cpp b/src/core/verify.cpp
index 2aaa6dba7..5bdc1093e 100644
--- a/src/core/verify.cpp
+++ b/src/core/verify.cpp
@@ -1821,7 +1821,7 @@ bool Verifier::record_window(int T, cudaStream_t cs, std::string& err) {
float* hout = hand_out_ + (size_t) hrow0 * HB;
if (hflag_out_d_ != nullptr && !batch_rec_) { // the overlapped split: payload + the next stage's flag
handoff_publish(hout, R_, (int64_t) T * HC * N, bo_, (int64_t) T * N, inj2_, (int64_t) T * HC, hcount_d_,
- hflag_out_d_, cs, hdrop_d_);
+ hflag_out_d_, cs, g_test_drop > 0 ? hdrop_d_ : nullptr); // the test word only with the hook on
return true;
}
copy_from_mapped(hout, R_, (int64_t) T * HC * N, cs);