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.

GLM serving: dynamic MTP draft depth on by default (EXL3_GLM_DYN=3,0.70)

YanissAmz189ef8ac6cfc
diff --git a/tools/glm/serve.py b/tools/glm/serve.py
index 6a43bb0..7ddb085 100644
--- a/tools/glm/serve.py
+++ b/tools/glm/serve.py
@@ -67,6 +67,8 @@ SPEED_ENV = {
# 27/09: R-row verify linears in one launch (Hadamards in-kernel):
# served R=2 round -3.04 +- 0.20 ms, +6.7 % t/s; R=1 bitwise, R=2 greedy 64/64.
"EXL3_VERIFY_FUSE": "1",
+ # calibrated dynamic draft depth for the MTP drafter; served decode geomean x1.070 (structured x1.104, code x1.070, prose x1.036).
+ "EXL3_GLM_DYN": "3,0.70",
# 27/09: one router launch per verify + wide MoE combine; with R=3 (--num-draft 2)
# served +6.42 +- 1.34 % vs R=2 base (12 prompts/arm, greedy ids 128/128 x 3 equal).
"EXL3_DEC_ROUTER_ROWS": "2",