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.

README v3: model cards show decode and prefill; Models table lists every published pack

YanissAmzf0fbd584ff4c
diff --git a/README.md b/README.md
index 1060e68..5a03a64 100644
--- a/README.md
+++ b/README.md
@@ -14,10 +14,10 @@
</p>
<table align="center">
-<tr><td align="center" width="25%"><a href="https://huggingface.co/yamz-labs/GLM-5.3-Flash-EXL3-Yamz"><picture><source media="(prefers-color-scheme: dark)" srcset="doc/img/home/card-glm-dark.svg"><img src="doc/img/home/card-glm-light.svg" alt="GLM-5.3-Flash on Strix Halo: 32 tok/s decode, 500K context" width="100%"></picture></a></td><td align="center" width="25%"><a href="https://huggingface.co/yamz-labs/Qwen3.8-Flash-Next-EXL3-Yamz"><picture><source media="(prefers-color-scheme: dark)" srcset="doc/img/home/card-flash-next-dark.svg"><img src="doc/img/home/card-flash-next-light.svg" alt="Qwen3.8-Flash-Next on Strix Halo: 53 tok/s decode, 256K context" width="100%"></picture></a></td><td align="center" width="25%"><a href="https://huggingface.co/turboderp/Qwen3.8-27B-exl3/tree/SC_4.00bpw_H5_V6"><picture><source media="(prefers-color-scheme: dark)" srcset="doc/img/home/card-qwen27-dark.svg"><img src="doc/img/home/card-qwen27-light.svg" alt="Qwen3.8-27B on RTX 3090: 75 tok/s decode, 245K context" width="100%"></picture></a></td><td align="center" width="25%"><a href="https://huggingface.co/yamz-labs/DeepSeek-V4.1-Flash-EXL3-Yamz"><picture><source media="(prefers-color-scheme: dark)" srcset="doc/img/home/card-ds41-dark.svg"><img src="doc/img/home/card-ds41-light.svg" alt="DeepSeek V4.1 Flash on Mac Studio M5 Ultra: 62 tok/s decode, 983K context" width="100%"></picture></a></td></tr>
+<tr><td align="center" width="25%"><a href="https://huggingface.co/yamz-labs/GLM-5.3-Flash-EXL3-Yamz"><picture><source media="(prefers-color-scheme: dark)" srcset="doc/img/home/card-glm-dark.svg"><img src="doc/img/home/card-glm-light.svg" alt="GLM-5.3-Flash on Strix Halo: 32 tok/s decode, 633 tok/s prefill" width="100%"></picture></a></td><td align="center" width="25%"><a href="https://huggingface.co/yamz-labs/Qwen3.8-Flash-Next-EXL3-Yamz"><picture><source media="(prefers-color-scheme: dark)" srcset="doc/img/home/card-flash-next-dark.svg"><img src="doc/img/home/card-flash-next-light.svg" alt="Qwen3.8-Flash-Next on Strix Halo: 53 tok/s decode, 1,576 tok/s prefill" width="100%"></picture></a></td><td align="center" width="25%"><a href="https://huggingface.co/turboderp/Qwen3.8-27B-exl3/tree/SC_4.00bpw_H5_V6"><picture><source media="(prefers-color-scheme: dark)" srcset="doc/img/home/card-qwen27-dark.svg"><img src="doc/img/home/card-qwen27-light.svg" alt="Qwen3.8-27B on RTX 3090: 75 tok/s decode, 1,621 tok/s prefill" width="100%"></picture></a></td><td align="center" width="25%"><a href="https://huggingface.co/yamz-labs/DeepSeek-V4.1-Flash-EXL3-Yamz"><picture><source media="(prefers-color-scheme: dark)" srcset="doc/img/home/card-ds41-dark.svg"><img src="doc/img/home/card-ds41-light.svg" alt="DeepSeek V4.1 Flash on Mac Studio M5 Ultra: 62 tok/s decode, 3,001 tok/s prefill" width="100%"></picture></a></td></tr>
</table>
-<p align="center"><sub>Decode tok/s at 8K (RTX: 5K), served. Kyojin 1.8.10 on Strix Halo, 1.8.9 on RTX and Mac.</sub></p>
+<p align="center"><sub>Decode and prefill tok/s at 8K (RTX: 5K), served. Kyojin 1.8.10 on Strix Halo, 1.8.9 on RTX and Mac.</sub></p>
## Quick start
@@ -86,25 +86,17 @@ One prompt each, written by the model running on Kyojin and published as it came
All packs are EXL3 on Hugging Face: ours on [yamz-labs](https://huggingface.co/yamz-labs), Qwen3.8-27B from [turboderp](https://huggingface.co/turboderp/Qwen3.8-27B-exl3). Serve commands: [doc/models.md](doc/models.md).
-| Model | Size | Machine |
+| Pack | Machine | Size |
|---|---|---|
-| [GLM-5.3-Flash](https://huggingface.co/yamz-labs/GLM-5.3-Flash-EXL3-Yamz) | 100.1 GB | Strix Halo |
-| [Qwen3.8-Flash-Next](https://huggingface.co/yamz-labs/Qwen3.8-Flash-Next-EXL3-Yamz) | 95.4 GB | Strix Halo |
-| [Qwen3.8-27B-exl3](https://huggingface.co/turboderp/Qwen3.8-27B-exl3/tree/SC_4.00bpw_H5_V6) (turboderp, EXL3 4.0 bpw) | 15 GiB | RTX 3090 |
-| [DeepSeek V4.1 Flash](https://huggingface.co/yamz-labs/DeepSeek-V4.1-Flash-EXL3-Yamz) | 184.7 GB | Mac Studio, Strix Halo (SSD tier) |
-
-<details>
-<summary>Other packs</summary>
-
-| Pack | Size | Machine |
-|---|---|---|
-| [MiMo-V2.6-Flash-MOPD](https://huggingface.co/yamz-labs/MiMo-V2.6-Flash-MOPD-EXL3-Yamz) | 105.0 GB | Strix Halo |
-| [MiMo-V2.6-Flash-MOPD, uncensored](https://huggingface.co/yamz-labs/MiMo-V2.6-Flash-MOPD-EXL3-Yamz-Uncensored) | 105.0 GB | Strix Halo |
-| [GLM-5.3-Flash, uncensored](https://huggingface.co/yamz-labs/GLM-5.3-Flash-EXL3-Yamz-Uncensored) | 100.1 GB | Strix Halo |
-| [Flint-40B-A2.5B](https://huggingface.co/yamz-labs/Flint-40B-A2.5B-EXL3-Yamz) | 17.9 GB | RTX 3090 |
-| [Nanbeige4.3-33B](https://huggingface.co/yamz-labs/Nanbeige4.3-33B-EXL3-Yamz) | 18.7 GB | RTX 3090 |
-
-</details>
+| [GLM-5.3-Flash](https://huggingface.co/yamz-labs/GLM-5.3-Flash-EXL3-Yamz) | Strix Halo | 100.1 GB |
+| [Qwen3.8-Flash-Next](https://huggingface.co/yamz-labs/Qwen3.8-Flash-Next-EXL3-Yamz) | Strix Halo | 95.4 GB |
+| [Qwen3.8-27B-exl3](https://huggingface.co/turboderp/Qwen3.8-27B-exl3/tree/SC_4.00bpw_H5_V6) (turboderp) | RTX 3090 | 15 GiB |
+| [DeepSeek V4.1 Flash](https://huggingface.co/yamz-labs/DeepSeek-V4.1-Flash-EXL3-Yamz) | Mac Studio, Strix Halo (SSD tier) | 184.7 GB |
+| [GLM-5.3-Flash, uncensored](https://huggingface.co/yamz-labs/GLM-5.3-Flash-EXL3-Yamz-Uncensored) | Strix Halo | 100.1 GB |
+| [MiMo-V2.6-Flash-MOPD](https://huggingface.co/yamz-labs/MiMo-V2.6-Flash-MOPD-EXL3-Yamz) | Strix Halo | 105.0 GB |
+| [MiMo-V2.6-Flash-MOPD, uncensored](https://huggingface.co/yamz-labs/MiMo-V2.6-Flash-MOPD-EXL3-Yamz-Uncensored) | Strix Halo | 105.0 GB |
+| [Flint-40B-A2.5B](https://huggingface.co/yamz-labs/Flint-40B-A2.5B-EXL3-Yamz) | RTX 3090 | 17.9 GB |
+| [Nanbeige4.3-33B](https://huggingface.co/yamz-labs/Nanbeige4.3-33B-EXL3-Yamz) | RTX 3090 | 18.7 GB |
## Contributors
diff --git a/doc/img/home/card-ds41-dark.svg b/doc/img/home/card-ds41-dark.svg
index 9df30fd..de4743f 100644
--- a/doc/img/home/card-ds41-dark.svg
+++ b/doc/img/home/card-ds41-dark.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="320" height="200" viewBox="0 0 320 200" font-family="-apple-system,'Segoe UI','Ubuntu Sans','DejaVu Sans',Helvetica,Arial,sans-serif"><rect x="0.5" y="0.5" width="319" height="199" rx="10" fill="#0D1117" stroke="#30363D"/><rect x="0.5" y="0.5" width="319" height="8" rx="4" fill="#79A8F0"/><text x="22.0" y="50.0" fill="#E6EDF3" font-size="25" text-anchor="start" font-weight="700">DeepSeek V4.1 Flash</text><text x="22.0" y="78.0" fill="#9DA7B3" font-size="16" text-anchor="start" font-weight="400">Mac Studio M5 Ultra</text><text x="22.0" y="146.0" fill="#79A8F0" font-size="48" text-anchor="start" font-weight="700">62</text><text x="22.0" y="174.0" fill="#9DA7B3" font-size="17" text-anchor="start" font-weight="400">tok/s decode</text><text x="168.0" y="146.0" fill="#79A8F0" font-size="48" text-anchor="start" font-weight="700">983K</text><text x="168.0" y="174.0" fill="#9DA7B3" font-size="17" text-anchor="start" font-weight="400">max context</text></svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" width="320" height="200" viewBox="0 0 320 200" font-family="-apple-system,'Segoe UI','Ubuntu Sans','DejaVu Sans',Helvetica,Arial,sans-serif"><rect x="0.5" y="0.5" width="319" height="199" rx="10" fill="#0D1117" stroke="#30363D"/><rect x="0.5" y="0.5" width="319" height="8" rx="4" fill="#79A8F0"/><text x="22.0" y="50.0" fill="#E6EDF3" font-size="25" text-anchor="start" font-weight="700">DeepSeek V4.1 Flash</text><text x="22.0" y="78.0" fill="#9DA7B3" font-size="16" text-anchor="start" font-weight="400">Mac Studio M5 Ultra</text><text x="22.0" y="146.0" fill="#79A8F0" font-size="48" text-anchor="start" font-weight="700">62</text><text x="22.0" y="174.0" fill="#9DA7B3" font-size="17" text-anchor="start" font-weight="400">tok/s decode</text><text x="168.0" y="146.0" fill="#79A8F0" font-size="48" text-anchor="start" font-weight="700">3,001</text><text x="168.0" y="174.0" fill="#9DA7B3" font-size="17" text-anchor="start" font-weight="400">tok/s prefill</text></svg>
\ No newline at end of file
diff --git a/doc/img/home/card-ds41-light.svg b/doc/img/home/card-ds41-light.svg
index bbf3406..7b33f71 100644
--- a/doc/img/home/card-ds41-light.svg
+++ b/doc/img/home/card-ds41-light.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="320" height="200" viewBox="0 0 320 200" font-family="-apple-system,'Segoe UI','Ubuntu Sans','DejaVu Sans',Helvetica,Arial,sans-serif"><rect x="0.5" y="0.5" width="319" height="199" rx="10" fill="#FFFFFF" stroke="#D0D7DE"/><rect x="0.5" y="0.5" width="319" height="8" rx="4" fill="#3D6FB6"/><text x="22.0" y="50.0" fill="#1F2328" font-size="25" text-anchor="start" font-weight="700">DeepSeek V4.1 Flash</text><text x="22.0" y="78.0" fill="#59636E" font-size="16" text-anchor="start" font-weight="400">Mac Studio M5 Ultra</text><text x="22.0" y="146.0" fill="#3D6FB6" font-size="48" text-anchor="start" font-weight="700">62</text><text x="22.0" y="174.0" fill="#59636E" font-size="17" text-anchor="start" font-weight="400">tok/s decode</text><text x="168.0" y="146.0" fill="#3D6FB6" font-size="48" text-anchor="start" font-weight="700">983K</text><text x="168.0" y="174.0" fill="#59636E" font-size="17" text-anchor="start" font-weight="400">max context</text></svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" width="320" height="200" viewBox="0 0 320 200" font-family="-apple-system,'Segoe UI','Ubuntu Sans','DejaVu Sans',Helvetica,Arial,sans-serif"><rect x="0.5" y="0.5" width="319" height="199" rx="10" fill="#FFFFFF" stroke="#D0D7DE"/><rect x="0.5" y="0.5" width="319" height="8" rx="4" fill="#3D6FB6"/><text x="22.0" y="50.0" fill="#1F2328" font-size="25" text-anchor="start" font-weight="700">DeepSeek V4.1 Flash</text><text x="22.0" y="78.0" fill="#59636E" font-size="16" text-anchor="start" font-weight="400">Mac Studio M5 Ultra</text><text x="22.0" y="146.0" fill="#3D6FB6" font-size="48" text-anchor="start" font-weight="700">62</text><text x="22.0" y="174.0" fill="#59636E" font-size="17" text-anchor="start" font-weight="400">tok/s decode</text><text x="168.0" y="146.0" fill="#3D6FB6" font-size="48" text-anchor="start" font-weight="700">3,001</text><text x="168.0" y="174.0" fill="#59636E" font-size="17" text-anchor="start" font-weight="400">tok/s prefill</text></svg>
\ No newline at end of file
diff --git a/doc/img/home/card-flash-next-dark.svg b/doc/img/home/card-flash-next-dark.svg
index e23b475..fdc62df 100644
--- a/doc/img/home/card-flash-next-dark.svg
+++ b/doc/img/home/card-flash-next-dark.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="320" height="200" viewBox="0 0 320 200" font-family="-apple-system,'Segoe UI','Ubuntu Sans','DejaVu Sans',Helvetica,Arial,sans-serif"><rect x="0.5" y="0.5" width="319" height="199" rx="10" fill="#0D1117" stroke="#30363D"/><rect x="0.5" y="0.5" width="319" height="8" rx="4" fill="#FF5A6B"/><text x="22.0" y="50.0" fill="#E6EDF3" font-size="25" text-anchor="start" font-weight="700">Qwen3.8-Flash-Next</text><text x="22.0" y="78.0" fill="#9DA7B3" font-size="16" text-anchor="start" font-weight="400">Strix Halo, 128 GB</text><text x="22.0" y="146.0" fill="#FF5A6B" font-size="48" text-anchor="start" font-weight="700">53</text><text x="22.0" y="174.0" fill="#9DA7B3" font-size="17" text-anchor="start" font-weight="400">tok/s decode</text><text x="168.0" y="146.0" fill="#FF5A6B" font-size="48" text-anchor="start" font-weight="700">256K</text><text x="168.0" y="174.0" fill="#9DA7B3" font-size="17" text-anchor="start" font-weight="400">max context</text></svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" width="320" height="200" viewBox="0 0 320 200" font-family="-apple-system,'Segoe UI','Ubuntu Sans','DejaVu Sans',Helvetica,Arial,sans-serif"><rect x="0.5" y="0.5" width="319" height="199" rx="10" fill="#0D1117" stroke="#30363D"/><rect x="0.5" y="0.5" width="319" height="8" rx="4" fill="#FF5A6B"/><text x="22.0" y="50.0" fill="#E6EDF3" font-size="25" text-anchor="start" font-weight="700">Qwen3.8-Flash-Next</text><text x="22.0" y="78.0" fill="#9DA7B3" font-size="16" text-anchor="start" font-weight="400">Strix Halo, 128 GB</text><text x="22.0" y="146.0" fill="#FF5A6B" font-size="48" text-anchor="start" font-weight="700">53</text><text x="22.0" y="174.0" fill="#9DA7B3" font-size="17" text-anchor="start" font-weight="400">tok/s decode</text><text x="168.0" y="146.0" fill="#FF5A6B" font-size="48" text-anchor="start" font-weight="700">1,576</text><text x="168.0" y="174.0" fill="#9DA7B3" font-size="17" text-anchor="start" font-weight="400">tok/s prefill</text></svg>
\ No newline at end of file
diff --git a/doc/img/home/card-flash-next-light.svg b/doc/img/home/card-flash-next-light.svg
index 47ea582..393c202 100644
--- a/doc/img/home/card-flash-next-light.svg
+++ b/doc/img/home/card-flash-next-light.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="320" height="200" viewBox="0 0 320 200" font-family="-apple-system,'Segoe UI','Ubuntu Sans','DejaVu Sans',Helvetica,Arial,sans-serif"><rect x="0.5" y="0.5" width="319" height="199" rx="10" fill="#FFFFFF" stroke="#D0D7DE"/><rect x="0.5" y="0.5" width="319" height="8" rx="4" fill="#D6001C"/><text x="22.0" y="50.0" fill="#1F2328" font-size="25" text-anchor="start" font-weight="700">Qwen3.8-Flash-Next</text><text x="22.0" y="78.0" fill="#59636E" font-size="16" text-anchor="start" font-weight="400">Strix Halo, 128 GB</text><text x="22.0" y="146.0" fill="#D6001C" font-size="48" text-anchor="start" font-weight="700">53</text><text x="22.0" y="174.0" fill="#59636E" font-size="17" text-anchor="start" font-weight="400">tok/s decode</text><text x="168.0" y="146.0" fill="#D6001C" font-size="48" text-anchor="start" font-weight="700">256K</text><text x="168.0" y="174.0" fill="#59636E" font-size="17" text-anchor="start" font-weight="400">max context</text></svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" width="320" height="200" viewBox="0 0 320 200" font-family="-apple-system,'Segoe UI','Ubuntu Sans','DejaVu Sans',Helvetica,Arial,sans-serif"><rect x="0.5" y="0.5" width="319" height="199" rx="10" fill="#FFFFFF" stroke="#D0D7DE"/><rect x="0.5" y="0.5" width="319" height="8" rx="4" fill="#D6001C"/><text x="22.0" y="50.0" fill="#1F2328" font-size="25" text-anchor="start" font-weight="700">Qwen3.8-Flash-Next</text><text x="22.0" y="78.0" fill="#59636E" font-size="16" text-anchor="start" font-weight="400">Strix Halo, 128 GB</text><text x="22.0" y="146.0" fill="#D6001C" font-size="48" text-anchor="start" font-weight="700">53</text><text x="22.0" y="174.0" fill="#59636E" font-size="17" text-anchor="start" font-weight="400">tok/s decode</text><text x="168.0" y="146.0" fill="#D6001C" font-size="48" text-anchor="start" font-weight="700">1,576</text><text x="168.0" y="174.0" fill="#59636E" font-size="17" text-anchor="start" font-weight="400">tok/s prefill</text></svg>
\ No newline at end of file
diff --git a/doc/img/home/card-glm-dark.svg b/doc/img/home/card-glm-dark.svg
index 76ea1f5..45cf53c 100644
--- a/doc/img/home/card-glm-dark.svg
+++ b/doc/img/home/card-glm-dark.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="320" height="200" viewBox="0 0 320 200" font-family="-apple-system,'Segoe UI','Ubuntu Sans','DejaVu Sans',Helvetica,Arial,sans-serif"><rect x="0.5" y="0.5" width="319" height="199" rx="10" fill="#0D1117" stroke="#30363D"/><rect x="0.5" y="0.5" width="319" height="8" rx="4" fill="#FF5A6B"/><text x="22.0" y="50.0" fill="#E6EDF3" font-size="25" text-anchor="start" font-weight="700">GLM-5.3-Flash</text><text x="22.0" y="78.0" fill="#9DA7B3" font-size="16" text-anchor="start" font-weight="400">Strix Halo, 128 GB</text><text x="22.0" y="146.0" fill="#FF5A6B" font-size="48" text-anchor="start" font-weight="700">32</text><text x="22.0" y="174.0" fill="#9DA7B3" font-size="17" text-anchor="start" font-weight="400">tok/s decode</text><text x="168.0" y="146.0" fill="#FF5A6B" font-size="48" text-anchor="start" font-weight="700">500K</text><text x="168.0" y="174.0" fill="#9DA7B3" font-size="17" text-anchor="start" font-weight="400">max context</text></svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" width="320" height="200" viewBox="0 0 320 200" font-family="-apple-system,'Segoe UI','Ubuntu Sans','DejaVu Sans',Helvetica,Arial,sans-serif"><rect x="0.5" y="0.5" width="319" height="199" rx="10" fill="#0D1117" stroke="#30363D"/><rect x="0.5" y="0.5" width="319" height="8" rx="4" fill="#FF5A6B"/><text x="22.0" y="50.0" fill="#E6EDF3" font-size="25" text-anchor="start" font-weight="700">GLM-5.3-Flash</text><text x="22.0" y="78.0" fill="#9DA7B3" font-size="16" text-anchor="start" font-weight="400">Strix Halo, 128 GB</text><text x="22.0" y="146.0" fill="#FF5A6B" font-size="48" text-anchor="start" font-weight="700">32</text><text x="22.0" y="174.0" fill="#9DA7B3" font-size="17" text-anchor="start" font-weight="400">tok/s decode</text><text x="168.0" y="146.0" fill="#FF5A6B" font-size="48" text-anchor="start" font-weight="700">633</text><text x="168.0" y="174.0" fill="#9DA7B3" font-size="17" text-anchor="start" font-weight="400">tok/s prefill</text></svg>
\ No newline at end of file
diff --git a/doc/img/home/card-glm-light.svg b/doc/img/home/card-glm-light.svg
index 5287877..1bb7bdb 100644
--- a/doc/img/home/card-glm-light.svg
+++ b/doc/img/home/card-glm-light.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="320" height="200" viewBox="0 0 320 200" font-family="-apple-system,'Segoe UI','Ubuntu Sans','DejaVu Sans',Helvetica,Arial,sans-serif"><rect x="0.5" y="0.5" width="319" height="199" rx="10" fill="#FFFFFF" stroke="#D0D7DE"/><rect x="0.5" y="0.5" width="319" height="8" rx="4" fill="#D6001C"/><text x="22.0" y="50.0" fill="#1F2328" font-size="25" text-anchor="start" font-weight="700">GLM-5.3-Flash</text><text x="22.0" y="78.0" fill="#59636E" font-size="16" text-anchor="start" font-weight="400">Strix Halo, 128 GB</text><text x="22.0" y="146.0" fill="#D6001C" font-size="48" text-anchor="start" font-weight="700">32</text><text x="22.0" y="174.0" fill="#59636E" font-size="17" text-anchor="start" font-weight="400">tok/s decode</text><text x="168.0" y="146.0" fill="#D6001C" font-size="48" text-anchor="start" font-weight="700">500K</text><text x="168.0" y="174.0" fill="#59636E" font-size="17" text-anchor="start" font-weight="400">max context</text></svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" width="320" height="200" viewBox="0 0 320 200" font-family="-apple-system,'Segoe UI','Ubuntu Sans','DejaVu Sans',Helvetica,Arial,sans-serif"><rect x="0.5" y="0.5" width="319" height="199" rx="10" fill="#FFFFFF" stroke="#D0D7DE"/><rect x="0.5" y="0.5" width="319" height="8" rx="4" fill="#D6001C"/><text x="22.0" y="50.0" fill="#1F2328" font-size="25" text-anchor="start" font-weight="700">GLM-5.3-Flash</text><text x="22.0" y="78.0" fill="#59636E" font-size="16" text-anchor="start" font-weight="400">Strix Halo, 128 GB</text><text x="22.0" y="146.0" fill="#D6001C" font-size="48" text-anchor="start" font-weight="700">32</text><text x="22.0" y="174.0" fill="#59636E" font-size="17" text-anchor="start" font-weight="400">tok/s decode</text><text x="168.0" y="146.0" fill="#D6001C" font-size="48" text-anchor="start" font-weight="700">633</text><text x="168.0" y="174.0" fill="#59636E" font-size="17" text-anchor="start" font-weight="400">tok/s prefill</text></svg>
\ No newline at end of file
diff --git a/doc/img/home/card-qwen27-dark.svg b/doc/img/home/card-qwen27-dark.svg
index 987b465..cfd25df 100644
--- a/doc/img/home/card-qwen27-dark.svg
+++ b/doc/img/home/card-qwen27-dark.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="320" height="200" viewBox="0 0 320 200" font-family="-apple-system,'Segoe UI','Ubuntu Sans','DejaVu Sans',Helvetica,Arial,sans-serif"><rect x="0.5" y="0.5" width="319" height="199" rx="10" fill="#0D1117" stroke="#30363D"/><rect x="0.5" y="0.5" width="319" height="8" rx="4" fill="#76B900"/><text x="22.0" y="50.0" fill="#E6EDF3" font-size="25" text-anchor="start" font-weight="700">Qwen3.8-27B</text><text x="22.0" y="78.0" fill="#9DA7B3" font-size="16" text-anchor="start" font-weight="400">RTX 3090, 24 GB</text><text x="22.0" y="146.0" fill="#76B900" font-size="48" text-anchor="start" font-weight="700">75</text><text x="22.0" y="174.0" fill="#9DA7B3" font-size="17" text-anchor="start" font-weight="400">tok/s decode</text><text x="168.0" y="146.0" fill="#76B900" font-size="48" text-anchor="start" font-weight="700">245K</text><text x="168.0" y="174.0" fill="#9DA7B3" font-size="17" text-anchor="start" font-weight="400">max context</text></svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" width="320" height="200" viewBox="0 0 320 200" font-family="-apple-system,'Segoe UI','Ubuntu Sans','DejaVu Sans',Helvetica,Arial,sans-serif"><rect x="0.5" y="0.5" width="319" height="199" rx="10" fill="#0D1117" stroke="#30363D"/><rect x="0.5" y="0.5" width="319" height="8" rx="4" fill="#76B900"/><text x="22.0" y="50.0" fill="#E6EDF3" font-size="25" text-anchor="start" font-weight="700">Qwen3.8-27B</text><text x="22.0" y="78.0" fill="#9DA7B3" font-size="16" text-anchor="start" font-weight="400">RTX 3090, 24 GB</text><text x="22.0" y="146.0" fill="#76B900" font-size="48" text-anchor="start" font-weight="700">75</text><text x="22.0" y="174.0" fill="#9DA7B3" font-size="17" text-anchor="start" font-weight="400">tok/s decode</text><text x="168.0" y="146.0" fill="#76B900" font-size="48" text-anchor="start" font-weight="700">1,621</text><text x="168.0" y="174.0" fill="#9DA7B3" font-size="17" text-anchor="start" font-weight="400">tok/s prefill</text></svg>
\ No newline at end of file
diff --git a/doc/img/home/card-qwen27-light.svg b/doc/img/home/card-qwen27-light.svg
index b22a6ee..91f3491 100644
--- a/doc/img/home/card-qwen27-light.svg
+++ b/doc/img/home/card-qwen27-light.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="320" height="200" viewBox="0 0 320 200" font-family="-apple-system,'Segoe UI','Ubuntu Sans','DejaVu Sans',Helvetica,Arial,sans-serif"><rect x="0.5" y="0.5" width="319" height="199" rx="10" fill="#FFFFFF" stroke="#D0D7DE"/><rect x="0.5" y="0.5" width="319" height="8" rx="4" fill="#4E8F00"/><text x="22.0" y="50.0" fill="#1F2328" font-size="25" text-anchor="start" font-weight="700">Qwen3.8-27B</text><text x="22.0" y="78.0" fill="#59636E" font-size="16" text-anchor="start" font-weight="400">RTX 3090, 24 GB</text><text x="22.0" y="146.0" fill="#4E8F00" font-size="48" text-anchor="start" font-weight="700">75</text><text x="22.0" y="174.0" fill="#59636E" font-size="17" text-anchor="start" font-weight="400">tok/s decode</text><text x="168.0" y="146.0" fill="#4E8F00" font-size="48" text-anchor="start" font-weight="700">245K</text><text x="168.0" y="174.0" fill="#59636E" font-size="17" text-anchor="start" font-weight="400">max context</text></svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" width="320" height="200" viewBox="0 0 320 200" font-family="-apple-system,'Segoe UI','Ubuntu Sans','DejaVu Sans',Helvetica,Arial,sans-serif"><rect x="0.5" y="0.5" width="319" height="199" rx="10" fill="#FFFFFF" stroke="#D0D7DE"/><rect x="0.5" y="0.5" width="319" height="8" rx="4" fill="#4E8F00"/><text x="22.0" y="50.0" fill="#1F2328" font-size="25" text-anchor="start" font-weight="700">Qwen3.8-27B</text><text x="22.0" y="78.0" fill="#59636E" font-size="16" text-anchor="start" font-weight="400">RTX 3090, 24 GB</text><text x="22.0" y="146.0" fill="#4E8F00" font-size="48" text-anchor="start" font-weight="700">75</text><text x="22.0" y="174.0" fill="#59636E" font-size="17" text-anchor="start" font-weight="400">tok/s decode</text><text x="168.0" y="146.0" fill="#4E8F00" font-size="48" text-anchor="start" font-weight="700">1,621</text><text x="168.0" y="174.0" fill="#59636E" font-size="17" text-anchor="start" font-weight="400">tok/s prefill</text></svg>
\ No newline at end of file
diff --git a/tools/make_home_charts.py b/tools/make_home_charts.py
index 61a00d7..594e2bf 100644
--- a/tools/make_home_charts.py
+++ b/tools/make_home_charts.py
@@ -94,8 +94,8 @@ def line_chart(th, title, sub_lines, accent, series, xs, top=None, legend=False)
def svg_end(s): return s + "</svg>"
-def card(th, accent, model, machine, decode, ctx):
- """Model card: the model name is the title, the machine sits below, two figures (decode tok/s, max context)."""
+def card(th, accent, model, machine, decode, prefill):
+ """Model card: the model name is the title, the machine sits below, two figures (decode and prefill tok/s)."""
acc = th[accent]
w, h = 320, 200
s = (f'<svg xmlns="http://www.w3.org/2000/svg" width="{w}" height="{h}" viewBox="0 0 {w} {h}" {FONT}>'
@@ -103,7 +103,7 @@ def card(th, accent, model, machine, decode, ctx):
f'<rect x="0.5" y="0.5" width="{w - 1}" height="8" rx="4" fill="{acc}"/>')
s += tx(22, 50, model, 25, th["txt"], "start", "700") + tx(22, 78, machine, 16, th["sub"])
s += tx(22, 146, decode, 48, acc, "start", "700") + tx(22, 174, "tok/s decode", 17, th["sub"])
- s += tx(168, 146, ctx, 48, acc, "start", "700") + tx(168, 174, "max context", 17, th["sub"])
+ s += tx(168, 146, prefill, 48, acc, "start", "700") + tx(168, 174, "tok/s prefill", 17, th["sub"])
return svg_end(s)
@@ -171,13 +171,13 @@ def make_all():
ser, xs = mac_series(th, key); m = P["mac"]
return line_chart(th, f"{label}: {m['name']}", [f'{m["machine"]}, tok/s', f'Kyojin {m["version"]}, {m["date"]}'], "apple", ser, xs, legend=True)
write(f"{key}-mac", fn)
- # Model cards: model name as title, machine below, decode tok/s and max context
+ # Model cards: model name as title, machine below, decode and prefill tok/s
q = M[0]; g = next(m for m in M if m["id"] == "glm")
r = P["rtx"]["qwen27"]["points"]; mp = P["mac"]["points"]
- cards = (("glm", "amd", "GLM-5.3-Flash", "Strix Halo, 128 GB", f'{g["decode"]["8192"]:.0f}', "500K"),
- ("flash-next", "amd", "Qwen3.8-Flash-Next", "Strix Halo, 128 GB", f'{q["decode"]["8192"]:.0f}', "256K"),
- ("qwen27", "nv", "Qwen3.8-27B", "RTX 3090, 24 GB", f'{r[0]["decode"]:.0f}', "245K"),
- ("ds41", "apple", "DeepSeek V4.1 Flash", "Mac Studio M5 Ultra", f'{mp[0]["decode"]:.0f}', "983K"))
+ cards = (("glm", "amd", "GLM-5.3-Flash", "Strix Halo, 128 GB", f'{g["decode"]["8192"]:.0f}', f'{g["prefill"]["8192"]:,.0f}'),
+ ("flash-next", "amd", "Qwen3.8-Flash-Next", "Strix Halo, 128 GB", f'{q["decode"]["8192"]:.0f}', f'{q["prefill"]["8192"]:,.0f}'),
+ ("qwen27", "nv", "Qwen3.8-27B", "RTX 3090, 24 GB", f'{r[0]["decode"]:.0f}', f'{r[0]["prefill"]:,.0f}'),
+ ("ds41", "apple", "DeepSeek V4.1 Flash", "Mac Studio M5 Ultra", f'{mp[0]["decode"]:.0f}', f'{mp[0]["prefill"]:,.0f}'))
os.makedirs(OUT, exist_ok=True)
for key, accent, *args in cards:
for tn, th in THEMES.items():
diff --git a/tools/test_make_home_charts.py b/tools/test_make_home_charts.py
index ff4b4a9..cea8f9d 100644
--- a/tools/test_make_home_charts.py
+++ b/tools/test_make_home_charts.py
@@ -32,7 +32,7 @@ def test_numbers_come_from_data(tmp_path):
P = json.load(open(os.path.join(ROOT, "doc", "figures_platforms.json")))
assert ">74.6<" in rd("decode-rtx-light.svg") and P["rtx"]["qwen27"]["points"][0]["decode"] == 74.6
assert ">3,001<" in rd("prefill-mac-light.svg")
- assert ">62<" in rd("card-ds41-light.svg") and ">983K<" in rd("card-ds41-light.svg")
+ assert ">62<" in rd("card-ds41-light.svg") and ">3,001<" in rd("card-ds41-light.svg") and "max context" not in rd("card-ds41-light.svg")
def test_readme_uses_every_chart(tmp_path):