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.

make_readme_table: the long-context heading is generated with its table

YanissAmzbdfd682ed346
diff --git a/README.tmpl.md b/README.tmpl.md
index 7c11751..e041031 100644
--- a/README.tmpl.md
+++ b/README.tmpl.md
@@ -21,8 +21,6 @@ Open source. Our own quantised builds of GLM and Qwen. Built on <a href="https:/
<img src="doc/img/decode_models.svg" alt="Speculative decode speed against context length" width="49%">
</p>
-<p align="center"><b>Long context: up to 500K tokens</b></p>
-
{{LONG}}
## Made with our models
diff --git a/tools/make_readme_table.py b/tools/make_readme_table.py
index b44c009..0030b78 100644
--- a/tools/make_readme_table.py
+++ b/tools/make_readme_table.py
@@ -51,7 +51,7 @@ def long_block():
t = '<table align="center">\n<tr><th align="left">Model</th>' + "".join(f"<th>{ck(c)}</th>" for c in pts) + "</tr>\n"
for m in ms:
t += f'<tr><td>{label(m)}</td>' + "".join(f'<td align="right">{f(m["prefill"][str(c)])} / {f(m["decode"][str(c)])}</td>' for c in pts) + "</tr>\n"
- return (t + "</table>\n\n"
+ return ("<p align=\"center\"><b>Long context: up to 500K tokens</b></p>\n\n" + t + "</table>\n\n"
f'<p align="center"><sub>Prefill / speculative decode, tokens per second, Kyojin {ver} on one Ryzen AI Max+ 395 with 128 GB. '
'One real document read as a growing prompt (500K = 499,712 tokens); prefill as reported by the server. '
'Both models recalled two facts hidden at 40 % and 85 % of a ~500K-token prompt (needle test, Kyojin 1.5.3, 15/10).</sub></p>\n\n'