Skip to content

Commit c8d689c

Browse files
committed
Version 0.8.6: Inkling 2 Mini's smallest file (UD-IQ1_M, for 12 GB of RAM), the IQ1_S and Q2_0 formats
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 07e2467 commit c8d689c

4 files changed

Lines changed: 33 additions & 48 deletions

File tree

‎.github/release-notes.md‎

Lines changed: 30 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,56 @@
11
Pithos is a dependency-free C engine that runs Liquid AI's LFM2.5-24B-A2B, LFM2.5-8B-A1B, LFM3-1.7B
22
and LFM3-Audio-2B, and Qwen3.6-35B-A3B and Inkling 2 Mini (experimental), locally, with a terminal
3-
chat, the Pandora web chat, an OpenAI-compatible server and a terminal agent. This release adds
4-
Inkling 2 Mini, Thinking Machines' looped mixture of experts, and the IQ formats of the smaller GGUF
5-
files.
3+
chat, the Pandora web chat, an OpenAI-compatible server and a terminal agent. This release adds the
4+
smallest Inkling 2 Mini file, which fits in 12 GB of RAM.
65

76
## Downloads
87

98
| File | For |
109
|---|---|
11-
| `pithos-0.8.5-windows-x64.zip` | Windows 10 / 11, 64-bit (AVX2, AVX or scalar kernels chosen at run time) |
12-
| `pithos-0.8.5-linux-x64.tar.gz` | Linux x86-64 with glibc 2.34 or newer (Ubuntu 22.04+, Debian 12+, RHEL / Rocky 9+, Fedora 35+...) |
13-
| `pithos-0.8.5-linux-arm64.tar.gz` | Linux ARM64 (**experimental**): `pithos` for ARMv8.2 with dot product (Raspberry Pi 5, RK3566 / RK3588, Graviton 2+), `pithos-armv8` for older cores (Raspberry Pi 3 / 4) |
10+
| `pithos-0.8.6-windows-x64.zip` | Windows 10 / 11, 64-bit (AVX2, AVX or scalar kernels chosen at run time) |
11+
| `pithos-0.8.6-linux-x64.tar.gz` | Linux x86-64 with glibc 2.34 or newer (Ubuntu 22.04+, Debian 12+, RHEL / Rocky 9+, Fedora 35+...) |
12+
| `pithos-0.8.6-linux-arm64.tar.gz` | Linux ARM64 (**experimental**): `pithos` for ARMv8.2 with dot product (Raspberry Pi 5, RK3566 / RK3588, Graviton 2+), `pithos-armv8` for older cores (Raspberry Pi 3 / 4) |
1413
| `SHA256SUMS` | checksums of the archives |
1514

1615
The model is not included: download it as described in the README (LFM3-1.7B is 1.1 GB, the 8B
1716
model 5.2 GB, the 24B model 14.5 GB, LFM3-Audio-2B 1.3 GB with its audio projector, Qwen3.6-35B-A3B
18-
20.5 GB, Inkling 2 Mini 11.7 GB), put it in a `models` folder next to the program, then run for
19-
example `pithos --server --open`. Inkling's file comes from Hugging Face named `.gguf_file`: rename
20-
it to `.gguf` (on Linux, `bash build.sh --download-model=inkling-2-mini` does it for you).
17+
20.5 GB, Inkling 2 Mini 11.7 GB, or 8.0 GB for its smallest file), put it in a `models` folder next
18+
to the program, then run for example `pithos --server --open`. Inkling's files come from Hugging
19+
Face named `.gguf_file`: rename them to `.gguf` (on Linux, `bash build.sh
20+
--download-model=inkling-2-mini` or `--download-model=inkling-2-mini-iq1m` does it for you).
2121

2222
The Windows binary is not signed, so SmartScreen may warn about an unknown publisher. The ARM64
2323
binaries passed the kernel tests and a short generation on GitHub's ARM64 runners (Neoverse); they
2424
have not been tried on single-board computers yet. Reports are welcome.
2525

26-
## What's new since v0.8.0
26+
## What's new since v0.8.5
2727

28-
**Inkling 2 Mini (experimental).** [thinkingmachines/Inkling-2-Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini)
29-
is a looped transformer: the middle 12 of its 24 layers run three times with the same weights, so
30-
each token goes through 48 layers; its feed-forward layers are mixtures of 128 experts, 8 per token
31-
(26.4 billion parameters, 3.4 billion active per pass). Attention has no rotary positions but a
32-
learned relative bias, and the later passes of the loop get messages from the earlier ones. It
33-
reasons before it answers, with the model's own thinking-effort levels (`--reasoning`, or
34-
`reasoning_effort` in the API, also inside `chat_template_kwargs`), and calls tools in JSON, in the
35-
chat, the server, Pandora and the terminal agent. Images are not supported yet.
36-
37-
Pithos takes Unsloth's 3-bit file (UD-IQ3_XXS, 10.9 GiB), which fits in 16 GB of RAM; the 4-bit one
38-
(UD-Q4_K_M) runs too. With Vulkan, the default on a discrete NVIDIA GPU, every layer runs on the
39-
GPU and the routed experts on the CPU, the most used of them also in the VRAM that is left (about
40-
450 on a 4 GB GPU). On a laptop with a 6-core CPU, 16 GB of RAM and a 4 GB GPU, a 249-token prompt
41-
then 128 tokens:
28+
**Inkling 2 Mini in 12 GB of RAM (experimental).** Pithos now runs Unsloth's smallest file,
29+
UD-IQ1_M (7.5 GiB, 1–2 bits per weight), next to the 3-bit UD-IQ3_XXS (10.9 GiB), which stays the
30+
default. It is a little faster, but further from the original model: against the logits of the
31+
4-bit Q4_K_M file its KL divergence is 0.246 and its most likely token the same 85.6% of the time
32+
(UD-IQ3_XXS: 0.049 and 92.9%). Short answers, code and Italian came out right in our tests, with
33+
reasoning about as long as with the 3-bit file. On a laptop with a 6-core CPU, 16 GB of RAM and a
34+
4 GB GPU, a 249-token prompt then 128 tokens:
4235

4336
| Inkling 2 Mini | Prompt | Generation |
4437
|---|---:|---:|
45-
| llama.cpp b12670, CUDA, experts on the CPU, UD-IQ3_XXS | 5.5–6.1 tok/s | 4.0–4.6 tok/s |
46-
| Pithos, CPU only, UD-IQ3_XXS | 11 tok/s | 4.6–5.5 tok/s |
47-
| Pithos, Vulkan, UD-Q4_K_M | 6.0 tok/s | 8.1–8.4 tok/s |
48-
| **Pithos, Vulkan, UD-IQ3_XXS** | **17–19 tok/s** | **9.6–9.7 tok/s** |
49-
50-
Checked against llama.cpp on the same files and tokens: the same most likely token 97% of the time;
51-
the tokenizer gives the same ids as Hugging Face's and the chat template the same text as the
52-
model's own.
53-
54-
**New weight formats.** NVFP4 (the 4-bit format Inkling was trained in), Q5_0 and the IQ codebook
55-
formats IQ2_XXS, IQ2_XS, IQ2_S, IQ3_XXS, IQ3_S, IQ4_NL and IQ4_XS, with AVX2 kernels; their
56-
dequantization matches llama.cpp's bit for bit. On Vulkan, the IQ2 and IQ3_XXS experts go to VRAM
57-
in a compact layout of their own.
38+
| llama.cpp b12670, CUDA, experts on the CPU, UD-IQ1_M | 29.6 tok/s | 7.0 tok/s |
39+
| Pithos, CPU only, UD-IQ1_M | 11 tok/s | 5.3 tok/s |
40+
| Pithos, Vulkan, UD-IQ3_XXS | 17–19 tok/s | 9.6–9.7 tok/s |
41+
| **Pithos, Vulkan, UD-IQ1_M** | **18–20 tok/s** | **10.0 tok/s** |
5842

59-
**Other changes**
43+
Checked against llama.cpp on the same file and tokens: KL divergence 0.011, the same most likely
44+
token 96.9% of the time, as close as with the 3-bit file.
6045

61-
- The landing page groups the models by the memory they need (4, 8 or 16 GB).
62-
- Xbox: `xbox/deploy.py use MODEL` switches the console's model in one step, and the saved
63-
conversations stay within 256 MB on the console (those of a model that is not loaded wait on
64-
the PC).
46+
**New weight formats.** IQ1_S and Q2_0 (a 2-bit format in blocks of 64 values), the formats of
47+
Unsloth's smallest Inkling files, with AVX2 kernels; their dequantization matches llama.cpp's bit
48+
for bit. On Vulkan their experts go to VRAM too, Q2_0 with a kernel of its own. UD-IQ2_XXS loads as
49+
well, but it is slower than UD-IQ3_XXS here (9.2 tok/s with Vulkan), so it is not in the catalog.
6550

66-
The other models are unchanged: greedy answers are identical to v0.8.0 for LFM3-1.7B (CPU, Vulkan,
51+
The other models are unchanged: greedy answers are identical to v0.8.5 for LFM3-1.7B (CPU, Vulkan,
6752
Direct3D 12, OpenCL), LFM2.5-8B (CPU, Vulkan), LFM2.5-24B (CPU), LFM3-Audio-2B (transcription and
68-
speech), with the server and tool calls of the LFM models, and Qwen3.6-35B-A3B (CPU and Vulkan),
69-
and their speed is the same.
53+
speech on the CPU, Direct3D 12 and Vulkan), with the server and tool calls of the LFM models, and
54+
Qwen3.6-35B-A3B (CPU and Vulkan), and their speed is the same.
7055

7156
See the README for the full documentation and the measured results.

‎ROADMAP.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ generates 10.0 tok/s, with a lower quality.
174174
where every expert fits in VRAM.
175175

176176
## Done
177-
- Next release: Inkling 2 Mini's smallest file, UD-IQ1_M (7.5 GiB, for 12 GB of RAM): the IQ1_S and
177+
- v0.8.6: Inkling 2 Mini's smallest file, UD-IQ1_M (7.5 GiB, for 12 GB of RAM): the IQ1_S and
178178
Q2_0 formats on the CPU (AVX2) and on Vulkan, `build.sh --download-model=inkling-2-mini-iq1m`.
179179
- v0.8.5: Inkling 2 Mini (experimental), on the CPU and with Vulkan (every layer on the GPU, the
180180
routed experts on the CPU, the most used ones in VRAM): UD-IQ3_XXS by default, 17–19 tok/s of prompt

‎src/main.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#include <sys/auxv.h>
3232
#endif
3333

34-
#define VERSION "0.8.5"
34+
#define VERSION "0.8.6"
3535

3636
typedef struct {
3737
const char *model, *prompt, *system, *kernels, *tokenize, *ppl;

‎src/tools.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1833,7 +1833,7 @@ static void mcp_start(void *arg) {
18331833
s->reader = thread_create(mcp_reader, s);
18341834
Json *r = mcp_rpc(s, "initialize",
18351835
"{\"protocolVersion\":\"2025-06-18\",\"capabilities\":{},"
1836-
"\"clientInfo\":{\"name\":\"pandora\",\"title\":\"Pandora (Pithos)\",\"version\":\"0.8.5\"}}",
1836+
"\"clientInfo\":{\"name\":\"pandora\",\"title\":\"Pandora (Pithos)\",\"version\":\"0.8.6\"}}",
18371837
180000, err, sizeof(err));
18381838
if (!r) goto fail;
18391839
json_free(r);

0 commit comments

Comments
 (0)