|
1 | 1 | Pithos is a dependency-free C engine that runs Liquid AI's LFM2.5-24B-A2B, LFM2.5-8B-A1B, LFM3-1.7B |
2 | 2 | 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. |
6 | 5 |
|
7 | 6 | ## Downloads |
8 | 7 |
|
9 | 8 | | File | For | |
10 | 9 | |---|---| |
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) | |
14 | 13 | | `SHA256SUMS` | checksums of the archives | |
15 | 14 |
|
16 | 15 | The model is not included: download it as described in the README (LFM3-1.7B is 1.1 GB, the 8B |
17 | 16 | 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). |
21 | 21 |
|
22 | 22 | The Windows binary is not signed, so SmartScreen may warn about an unknown publisher. The ARM64 |
23 | 23 | binaries passed the kernel tests and a short generation on GitHub's ARM64 runners (Neoverse); they |
24 | 24 | have not been tried on single-board computers yet. Reports are welcome. |
25 | 25 |
|
26 | | -## What's new since v0.8.0 |
| 26 | +## What's new since v0.8.5 |
27 | 27 |
|
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: |
42 | 35 |
|
43 | 36 | | Inkling 2 Mini | Prompt | Generation | |
44 | 37 | |---|---:|---:| |
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** | |
58 | 42 |
|
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. |
60 | 45 |
|
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. |
65 | 50 |
|
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, |
67 | 52 | 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. |
70 | 55 |
|
71 | 56 | See the README for the full documentation and the measured results. |
0 commit comments