Skip to content

Kyojin: open-source engine that runs 100 GB-class open models (GLM-5.3, Qwen3.8, DeepSeek V4.1) on one desktop machine. AMD Strix Halo, NVIDIA RTX and Apple Mac. OpenAI API, built on ExLlamaV3.

ab_autotune: settle after the calibration request

YanissAmz6bc0d5b060a4
diff --git a/tools/qualify/ab_autotune.py b/tools/qualify/ab_autotune.py
index 6b661c4..a19fe50 100644
--- a/tools/qualify/ab_autotune.py
+++ b/tools/qualify/ab_autotune.py
@@ -63,6 +63,7 @@ def main() -> int:
cl = load.Client(a.port)
cl.calibrate(1000) # also the very first request of the process (the cold arm pays tuning here)
res["records_after_calibrate"] = records_in(cache)
+ time.sleep(12) # background work after the first chat request (v1 arms: a 20-row prompt right after it took 2.8-6 s on BOTH arms, 0.3 s when first)
# requests of the shapes a real client reaches that the first request did not: odd short prompts, tails, batched decode
# (each new row class is timed inside the request on a cold cache; replay.complete = non-streamed, total wall incl. 8 new tokens)
import replay