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 server: sampled requests use the exact sampled-draft rule by default (EXL3_SPEC_SAMPLED=1)

YanissAmzf23f81ffa513
diff --git a/tools/glm/serve.py b/tools/glm/serve.py
index 9bde3e4..83adcf1 100644
--- a/tools/glm/serve.py
+++ b/tools/glm/serve.py
@@ -94,6 +94,10 @@ SPEED_ENV = {
"EXL3_VERIFY_ROW_SPLIT": "2",
"EXL3_MOE_R8": "1",
"EXL3_GEMV_R_RM6": "1",
+ # 14/10: sampled requests (temperature > 0) draw the MTP drafts from the drafter's own law and keep them with the exact
+ # min(1, p / q) rule (exllamav3/generator/spec_sample.py): same output distribution, greedy untouched. One load, T 1 top_p
+ # 0.95, 15 prompts x 3 seeds: prose +5.2 % decode, chat / code / structured within noise. 0 = argmax drafts.
+ "EXL3_SPEC_SAMPLED": "1",
}
def apply_eh_sidecar_default(model_dir: str | None = None) -> str: