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.

Match the served tree: plain GLM warm-up call, drop the Qwen WMMA latch entry

YanissAmzc96f763dd9a9
diff --git a/tools/glm/serve.py b/tools/glm/serve.py
index 8d96861..e7eea4c 100644
--- a/tools/glm/serve.py
+++ b/tools/glm/serve.py
@@ -1586,7 +1586,7 @@ def main() -> None:
# EXL3_SERVE_WARMUP=0 skips it.
if os.environ.get("EXL3_SERVE_WARMUP", "1") != "0":
startup_health.stage("warm-up")
- print(f"serve: warm-up {warmup(engine, template, int(os.environ.get('EXL3_SERVE_WARMUP_TOKENS', '4608'))):.1f} s", flush=True)
+ print(f"serve: warm-up {warmup(engine, template):.1f} s", flush=True)
print(mem_line("warm"), flush=True)
if engine.supports_vision: # first tower pass pays kernel setup and allocator growth: not on the first user image
from PIL import Image
diff --git a/tools/qwen/serve.py b/tools/qwen/serve.py
index 34501d5..cf1a14b 100644
--- a/tools/qwen/serve.py
+++ b/tools/qwen/serve.py
@@ -695,7 +695,6 @@ LATCHED = (
("exllamav3.modules.block_sparse_mlp_routing", lambda m: m._MOE_VALU, lambda: os.environ.get("EXL3_MOE_VALU", "0") != "0"),
("exllamav3.modules.block_sparse_mlp_routing", lambda m: m._HIP_PREFILL_MIN_ROWS,
lambda: max(2, int(os.environ.get("EXL3_HIP_PREFILL_MIN_ROWS", "17")))),
- ("exllamav3.modules.block_sparse_mlp", lambda m: m._HIP_WMMA_MIN_ROWS, lambda: int(os.environ.get("EXL3_MOE_WMMA_MIN_ROWS", "32"))),
("exllamav3.modules.attention_fn.qsa_triton", lambda m: m.ROWINV["on"], lambda: _env_flag("EXL3_QSA_ROWINV", "1")),
("exllamav3.modules.qsa_indexer", lambda m: m.VERIFY_QSA_PROJ["on"], lambda: _env_flag("EXL3_VERIFY_QSA_PROJ", "0")),
("exllamav3.modules.qsa_indexer", lambda m: m.VERIFY_QSA_ATTN["mode"],