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++
Verifier::ar_live and no Prefill::cuda_err_ in the hand-off worker (the two pieces of the unported STRATA_PIPE_OVERLAP series that STRATA_ADMIT_MERGE_FIRST and STRATA_HANDOFF_PIPE name)
Niko12218ccc4a0fe63b
diff --git a/include/strata/core/verify.hpp b/include/strata/core/verify.hppindex c988da3e5..e3d261558 100644--- a/include/strata/core/verify.hpp+++ b/include/strata/core/verify.hpp@@ -175,6 +175,9 @@ public:/// The rows the hand-off buffers of `set_stage` hold (0: kVerifyMaxT, the default). More than --batch's 8 slots on a/// layer split: the pipelined slot groups write their rows at hbase = group * rows-per-group, one row per slot.void set_handoff_rows(int rows) { handoff_rows_ = rows; }+ /// Is the zero-doorbell graph the one a batch window would run now (every expert of the stage in VRAM by the host+ /// table)? Looks at the table, as each window does. (STRATA_ADMIT_MERGE_FIRST's gate.)+ bool ar_live() { refresh_ar(); return ar_on(); }/// The next stage: `run` and `commit` continue into it (its pool calls get `next_user`); sampling settings/// and `final_R` are the last stage's.void set_next(Verifier* next, void* next_user) { next_ = next; next_user_ = next_user; }diff --git a/src/prefill/prefill.cpp b/src/prefill/prefill.cppindex b3529c713..3d6d0ec14 100644--- a/src/prefill/prefill.cpp+++ b/src/prefill/prefill.cpp@@ -4421,9 +4421,7 @@ bool Prefill::run_impl(const int64_t* tokens, int64_t n, int64_t pos0, std::striif (!m.hand_worker) m.hand_worker = std::make_unique<HandWorker>();next_run_ = m.hand_worker->submit(std::packaged_task<bool()>([this, tokens, c0, T, p0] {const bool r = next_->run_impl(tokens + c0, T, p0, next_err_);- int none = 0; // keep the first fault for chain_cuda_error, then clear what a thread's end cleared- if (const int e = (int) cudaPeekAtLastError(); e != 0) next_->cuda_err_.compare_exchange_strong(none, e);- (void) cudaGetLastError();+ (void) cudaGetLastError(); // clear what a thread's end cleared (std::async)return r;}));} else