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

E-6: the device plan opt-in (STRATA_VERIFY_DEVICE_PLAN=1)

Niko12210aa72eabe1a4
diff --git a/src/core/verify.cpp b/src/core/verify.cpp
index 068a75de9..6262ea5b5 100644
--- a/src/core/verify.cpp
+++ b/src/core/verify.cpp
@@ -274,10 +274,11 @@ bool Verifier::init(const WeightTable& wt, const ModelGeometry& g, SessionState&
err = "verify: stream create failed";
return false;
}
- // E-6: a layer whose routed experts are all resident is planned on the device (STRATA_VERIFY_DEVICE_PLAN=0: off)
+ // E-6: a layer whose routed experts are all resident is planned on the device (STRATA_VERIFY_DEVICE_PLAN=1: on;
+ // exact, but neutral on RIBPC 1-2 GPUs: off by default)
{
const char* v = std::getenv("STRATA_VERIFY_DEVICE_PLAN");
- device_plan_ = v == nullptr || std::atoi(v) != 0;
+ device_plan_ = v != nullptr && std::atoi(v) != 0;
}
if (device_plan_) {
bool ok2 = cudaMalloc((void**) &skip_, 64) == cudaSuccess && cudaMemset(skip_, 0, 64) == cudaSuccess;