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

#465 engine: INFO slot_cache=0|1 beside batch_slots (the server sends a lone slot request back to the solo path only when the slots keep their conversations)

Niko1221b4ad3732667b
diff --git a/src/program/generate.cpp b/src/program/generate.cpp
index 270a73583..e32c0d71a 100644
--- a/src/program/generate.cpp
+++ b/src/program/generate.cpp
@@ -5487,7 +5487,8 @@ int main(int argc, char** argv) {
pool.workers(), o.pcie_frac,
o.spec_min_p, (long long) o.conversation_cache_mib, o.conversation_cache_slots,
(long long) o.conversation_cache_min_free_mib, (long long) o.tail_role_token, xcache.segmented() ? 1 : 0,
- o.batch > 0 ? (" batch_slots=" + std::to_string(o.batch)).c_str() : "");
+ o.batch > 0 ? (" batch_slots=" + std::to_string(o.batch) +
+ " slot_cache=" + std::to_string(o.prompt_cache > 0 ? 1 : 0)).c_str() : "");
}
// issue #29: a request whose heartbeat (tokens, prompt chunks, verify windows) stops for this long is stuck on
// a flag nobody will raise - end the engine with where it was, so the server starts it again instead of the