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++
engine: a line before each verify-window capture says the free VRAM, and a Windows start with little room says what to try (#1275)
Niko12210f931943c85c
diff --git a/src/core/verify.cpp b/src/core/verify.cppindex 5f9a2768f..90c1853a7 100644--- a/src/core/verify.cpp+++ b/src/core/verify.cpp@@ -1479,6 +1479,13 @@ void Verifier::refresh_ar() {bool Verifier::capture(int T, std::string& err) {cudaGraphExec_t& exec_t = ar_off_ ? exec_nr_[T] : exec_[T];if (exec_t != nullptr) return true;+ { // said before the capture: a process that exits inside it (#1275: Windows, 313 MiB free) leaves this line as the trace+ size_t free_b = 0, total_b = 0;+ if (cudaMemGetInfo(&free_b, &total_b) == cudaSuccess)+ std::fprintf(stderr, "strata verify: capturing the %d-token window (%zu MiB of VRAM free)\n", T, free_b >> 20);+ else+ (void) cudaGetLastError();+ }if (cudaStreamBeginCapture(cs_, cudaStreamCaptureModeThreadLocal) != cudaSuccess) {err = "verify: begin capture failed";return false;diff --git a/src/program/generate.cpp b/src/program/generate.cppindex f4ee31bbf..db6e97d0d 100644--- a/src/program/generate.cpp+++ b/src/program/generate.cpp@@ -7613,6 +7613,12 @@ int main(int argc, char** argv) {const int64_t free_mib = (int64_t) (free_b >> 20);if (free_mib >= 256) {std::fprintf(stderr, "strata serve: %lld MiB of VRAM free with everything loaded\n", (long long) free_mib);+#ifdef _WIN32+ if (free_mib < 512 && o.prefill_auto) // #1275: said, never changed (the chunk is the operator's to cap)+ std::fprintf(stderr, "strata serve: that is little room for the verify windows' buffers under WDDM; if the "+ "engine exits right after this line, --prefill auto:8192 (a smaller prompt chunk "+ "borrows fewer cache slots) or a larger --vram-reserve-mib leaves more\n");+#endifrss_probe("serving");} else if (reserve_adapted) {// #496: the reserve was already lowered to make the cache fit - a bigger one would leave it no room