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 #2194: drain the other queues before every decode window on every Alchemist card (A770 on xe too), not only on i915
Niko12215e54a301ef0f
diff --git a/sycl/src/core/verify.cpp b/sycl/src/core/verify.cppindex 71f8cce9e..febac85a5 100644--- a/sycl/src/core/verify.cpp+++ b/sycl/src/core/verify.cpp@@ -2033,8 +2033,14 @@ bool Verifier::run(int T, const int32_t *tokens, int64_t pos0, PoolMultiFn pool,// timeout, the engine dies). Letting the other queues drain before every window removes it (9 of 9 three-request runs pass; before, almost all// failed; the gap rule alone (=2) did not help, so it is the windows after each other, not only the first). The cost is// the overlap of a window with the previous commit's tail. STRATA_WINDOW_SYNC=1 always drains, =0 never, =2 the gap rule; the default is 1 on an i915 card, 0 elsewhere.+ // #2194: the same never-starting first window on an Arc A770 under xe (main thread in this function's stepped+ // serve, queue::wait, no xe reset) - an Alchemist card, whatever its driver. Reproduced on the A750 with+ // STRATA_WINDOW_SYNC=0 (stepped, --resident-experts, IQ3_XXS): 1 of 6 runs hung there (same stack), against 0 of 11+ // with the drain. So the default drain is per GPU generation now: every Alchemist card (i915 or xe), as before+ // every i915 card; Battlemage and the others are unchanged (0).static const char* wv = std::getenv("STRATA_WINDOW_SYNC");- static const int wmode = wv ? std::atoi(wv) : (intel_i915_gpu() ? 1 : 0);+ static const int wmode = wv ? std::atoi(wv)+ : ((intel_i915_gpu() || strata::intel_gpu_gen(cs_->get_device()) == strata::IntelGpuGen::Alchemist) ? 1 : 0);const bool first_or_gap = t_prev_end.time_since_epoch().count() == 0 || (t_launch - t_prev_end) > std::chrono::milliseconds(20);if (wmode == 1 || (wmode == 2 && first_or_gap)) dpct::get_current_device().queues_wait_and_throw();}