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