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

serve: the adaptive overlap's off line printed (null) after the hint (a null reason went to %s)

Niko1221d320fecc854a
diff --git a/src/program/generate.cpp b/src/program/generate.cpp
index 1b330b6ec..d29959aba 100644
--- a/src/program/generate.cpp
+++ b/src/program/generate.cpp
@@ -8354,7 +8354,7 @@ int main(int argc, char** argv) {
std::fprintf(stderr, "strata serve: STRATA_ADAPT_OVERLAP=1 is off: %s\n", aov_why);
} else
std::fprintf(stderr, "strata serve: adaptive overlap: off%s%s\n",
- aov_why ? ": " : " (STRATA_ADAPT_OVERLAP=1 turns it on)", aov_why);
+ aov_why ? ": " : " (STRATA_ADAPT_OVERLAP=1 turns it on)", aov_why ? aov_why : "");
// a layer split's later stages keep a copy of the residency table on their devices, and swap on their own
auto res_upload = [&]() {
if (d_res != nullptr)