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

tools: batch_groups_cache_test.py reads the engine log only

Niko1221399a75c8ad10
diff --git a/tools/batch_groups_cache_test.py b/tools/batch_groups_cache_test.py
index a301ea2c8..22a27a493 100644
--- a/tools/batch_groups_cache_test.py
+++ b/tools/batch_groups_cache_test.py
@@ -76,7 +76,6 @@ json.dump(rounds, open(sys.argv[2], "w"))
text = open(log, errors="replace").read()
reqs = [(int(a), int(b)) for a, b in re.findall(r"strata serve: prompt (\d+) tokens = (\d+) reused", text)]
-reqs += [(int(a), int(b)) for a, b in re.findall(r"strata batch: slot \d+ \w+ (\d+) tokens", text) if False]
print("requests (prompt tokens, reused):", reqs)
print("slot gave back lines:", len(re.findall(r"gave back", text)), " conversation cache restores:",
len(re.findall(r"conversation cache: restored", text)))