From 399a75c8ad1067ed5f3ff7d1a2eb7fc3b211fd90 Mon Sep 17 00:00:00 2001 From: Niko1221 Date: Fri, 9 Oct 2026 11:51:43 +0200 Subject: [PATCH] tools: batch_groups_cache_test.py reads the engine log only --- tools/batch_groups_cache_test.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/batch_groups_cache_test.py b/tools/batch_groups_cache_test.py index a301ea2c..22a27a49 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)))