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.
Python amdapple-siliconcudadeepseekexl3exllamav3glminferencellmllm-inferencelocal-llmnvidiaopenai-apiquantizationqwenrocmstrix-halo
Merge fix/jit-compiler 42b56f4 (JIT compiler resolver, compiler hash in the cache key)
YanissAmzcd0c27c28f0c
diff --cc tools/glm/serve.pyindex cbb0d1c,e575cb7..6702ddf--- a/tools/glm/serve.py+++ b/tools/glm/serve.py@@@ -851,10 -848,8 +852,11 @@@ def main() -> Nonewarm = os.environ.get("EXL3_SERVE_WARMUP", "1") != "0"tune = warm and float(os.environ.get("EXL3_SERVE_DTUNE_PRIME_S", "600")) > 0stages = ["target weights", "drafter weights"] + (["warm-up"] if warm else []) + (["dense GEMM tuning"] if tune else [])- startup_health.start("glm", stages, args.host, args.port)+ startup_health.check_model_dir("serve", args.model, ("config.json",) if args.chat_template else ("config.json", "chat_template.jinja"))+ # A start with the dense GEMM tuning already cached is much shorter than the first one: keep their timings apart.+ startup_health.start("glm", stages, args.host, args.port, routes=ROUTES,+ variant="tuned" if tune and dense_tune_path().exists() else "untuned")+ startup_health.report_compiler()try:engine = ResidentEngine(args.model, max_history=args.max_history or args.num_draft, max_ctx=args.max_ctx, num_draft=args.num_draft)template = Path(args.chat_template or Path(args.model) / "chat_template.jinja").expanduser().read_text(encoding="utf-8")diff --cc tools/mimo/serve.pyindex 494ec24,9b6040c..d92b30f--- a/tools/mimo/serve.py+++ b/tools/mimo/serve.py@@@ -804,8 -801,8 +805,9 @@@ def main() -> None"decoding without speculation", flush=True)stages = (["drafter weights"] if drafter else []) + ["target weights", "engine setup"]- startup_health.start("mimo", stages, args.host, args.port)+ startup_health.check_model_dir("msrv", args.model)+ startup_health.start("mimo", stages, args.host, args.port, routes=ROUTES)+ startup_health.report_compiler()# --ctx 0 = the model's own max context, with the nested text_config handled like the GLM fix.try:probe = Config.from_directory(args.model)diff --cc tools/qwen/serve.pyindex 9e39218,03e51d2..db94f18--- a/tools/qwen/serve.py+++ b/tools/qwen/serve.py@@@ -1755,8 -1751,8 +1755,9 @@@ def main() -> None# /health answers 503 with the load progress from here until READY (stdlib listener on the same port).stages = ["target weights"] + (["drafter weights"] if args.draft_policy != "off" else []) \+ (["vision tower"] if not args.no_vision else []) + ["engine setup", "warm-up"]- startup_health.start("qwen", stages, args.host, args.port)+ startup_health.check_model_dir("qserve", args.model)+ startup_health.start("qwen", stages, args.host, args.port, routes=ROUTES)+ startup_health.report_compiler()try:engine, template, defaults, model_dir, t0 = load_all(args)except BaseException as exc: # noqa: BLE001