Skip to content

Ternzip v0.3.1

Choose a tag to compare

@synthrosai synthrosai released this 22 Nov 15:23

Ternzip v0.3.1 loads the 1.834 GB Ternary Bonsai 2 9B archive directly into its final Metal buffers. The archive retains all original weights and metadata and restores Prism’s official 1,997,486,976-byte PTQ1_0 GGUF byte for byte. The download saves 8.18% against PTQ1_0.

Ternzip v0.3.1 on Apple Silicon

The matched v0.3.0 → v0.3.1 comparison reduced median warm startup from 17.51 s to 11.27 s (35.6% less time). Median peak process memory during startup fell from 5.372 GB to 2.876 GB (46.5% lower). The loader unpacks bounded chunks directly into their final Metal buffers. Each version had three fresh starts with a warm filesystem cache. Matched startup measurements

v0.3.1 chat mode Median tokens/s Chats at 60+ CPU used by the chat thread Token streams matching Prism
Ordinary waiting (default) 58.83 6/24 7.9% of one core 24/24
--fast 61.08 23/24 98.9% of one core 24/24

Fast mode gained 2.25 tokens/s and used about one full CPU core during generation. Ordinary waiting uses less CPU on battery. Battery life was unmeasured. Each mode streamed 256 tokens per chat on eight English prompts across three fresh processes. Every generated ID, following-token and stopping decision, and streamed-text hash matched the Prism Q2_0 reference. Per-chat timings and CPU usage

Memory and hardware. The 2 GB budget covers weights, embedding data, cache and decoder reserve. These totaled 1,999,911,846 bytes, leaving 88,154 bytes. The 2.876 GB startup process peak includes other allocations. Direct chat requires Apple Silicon and Metal. We tested one 48 GB M4 Pro running macOS 26.5. 8 GB Macs are untested. A minimum RAM configuration has yet to be established. Allow additional memory for macOS, other apps and longer contexts.

Prism comparison by session

Earlier v0.3.0 three-format session Download size (bytes) Median tokens/s
Prism PTQ1_0 1,997,486,976 50.42
Prism PQ2_0 (Prism’s Mac default) 2,416,851,840 55.16
Prism Q2_0 2,556,640,128 55.09
Ternzip v0.3.0 1,834,157,871 60.12

The three-format session tested all four configurations on the same prompts. PQ2_0 had Prism’s highest median in that session. A separate, earlier v0.3.0 comparison measured 59.33 for Ternzip and 53.09 for Prism Q2_0. The v0.3.1 waiting-mode session compared ordinary waiting with --fast and used saved Prism reference outputs to check exactness. v0.3.0 benchmark data · Prism’s packing guide

Downloads and restore

Prebuilt Apple Silicon CLI · Metal backend · Release asset SHA-256 · 9B model archive · Tagged source

From the extracted CLI or source directory, run ./ternzip restore /path/to/ternzip-9b.trits. The prebuilt CLI uses ad hoc signing and has no Apple notarization. The source launcher requires CPython 3.14 and stable Rust. Mac setup and opening instructions

File SHA-256
Ternzip 9B archive 47f52b0d8e0ec4d38f61d61e7100ec3b17fec6dbe2fe58a7904fa4a57c07a66b
Restored PTQ1_0 GGUF 3561df7ac7d26a71ffa991ac2db740b10841c3a350aa2676ccd3ff5d428b4e8b