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

The Task Scheduler load hint on Windows only (a slow load elsewhere is the disk)

Niko12213b2ced8eb659
diff --git a/src/program/generate.cpp b/src/program/generate.cpp
index c6eae42ca..ebfb23523 100644
--- a/src/program/generate.cpp
+++ b/src/program/generate.cpp
@@ -1772,6 +1772,7 @@ int main(int argc, char** argv) {
// scheduler's defaults - Below normal priority and a least-privilege token - were the only
// difference between the runs). Say so instead of letting the user blame the disk; see
// docs/DETAILS.md, "Running it at startup (Task Scheduler)".
+#ifdef _WIN32 // a Windows launch context; elsewhere a load this slow is the disk
if (arena_src.load_gib_per_second() > 0.0 && arena_src.load_gib_per_second() < 0.2) {
std::fprintf(stderr,
"strata generate: hint: ~24x below what this hardware streams from a normal "
@@ -1780,6 +1781,7 @@ int main(int argc, char** argv) {
"defaults (Below normal + a least-privilege token) throttle the load. See "
"docs/DETAILS.md ('Running it at startup').\n");
}
+#endif
srcp = &arena_src;
}
strata::kernels::cpu::ExpertPool pool(o.pool_workers, /*pin=*/true, /*host_works=*/!o.no_host_worker);