MATE
Collection
2-to-4 bit CPTC-TQIR trellis-quantized checkpoints for MATE (Memory-Aligned Trellis Engine): dense, hybrid, and frontier MoE models. โข 20 items โข Updated โข 1
MATE mixed-bit (3.50 bpw, 13.09 GB) | 16-24 GB VRAM at 32K context
| Spec | Value |
|---|---|
| Base model | thinkingmachines/Inkling-2-Mini |
| Parameters | 26.6B total / 3.3B active (128 experts, top-8, 24->48 looped visits) |
| Quantization | Mixed-bit CPTC-TQIR (13GB) |
| Effective bpw / Size | 3.50 bpw / 13.09 GB |
| Built-in drafter | Bundled DSpark/DFlare MTP (mtp_drafter.safetensors, BF16/FP16) |
| KV cache runtime | 4-bit K / 2-bit V global (r4k_r2v) + FP8/BF16 sliding |
| Min GPU VRAM (32K context) | 16-24 GB |
| Quality (WT-2 PPL / KLD / Top-1) | 5.473 (+0.042) / 0.0139 / 95.21% |
| Variant | Min GPU (32K context) | When to Pick |
|---|---|---|
| 13GB (this repo) | 16-24 GB | Higher fidelity (native NVFP4/MXFP8 L6-L17 + 3b/4b experts) for 16-24 GB GPUs |
| 8.3GB | 12-16 GB | Compact 2b/3b/4b routed expert layout for 12-16 GB GPUs |
| Component (32K ctx) | FP16 KV | r4k_r2v Global + Sliding |
|---|---|---|
| Quantized weights (+ MTP drafter) | 13.39 GB | 13.39 GB |
| 32K KV cache | FP16 global + sliding | 4-bit K / 2-bit V global (r4k_r2v) + FP8/BF16 sliding |
mate run)
mate run inspects your GPU/RAM, configures KV compression, offload, and speculative decoding automatically, and loads the checkpoint:
pip install mate-llm[hf]
mate run Honkware/Inkling-2-Mini-MATE-13GB --ctx 32768
mate run Honkware/Inkling-2-Mini-MATE-13GB --ctx 32768 --serve --port 8000
Query the running server via OpenAI (/v1/chat/completions) or Anthropic (/v1/messages, ANTHROPIC_BASE_URL=http://127.0.0.1:8000):
curl http://127.0.0.1:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"model":"Honkware/Inkling-2-Mini-MATE-13GB","messages":[{"role":"user","content":"Write a C++20 lock-free ring buffer."}]}'
from pathlib import Path
from huggingface_hub import snapshot_download
from mate import load_checkpoint
local_dir = Path(snapshot_download("Honkware/Inkling-2-Mini-MATE-13GB"))
qms, extra, meta = load_checkpoint(str(local_dir / "model.mate.safetensors"))
# Companion loop buffers and DSpark/DFlare MTP drafter live in the same directory:
# local_dir / "inkling_buffers.safetensors", local_dir / "mtp_drafter.safetensors"
mate-serve)
cmake -S mate/csrc/runtime -B build/runtime -DCMAKE_BUILD_TYPE=Release
cmake --build build/runtime -j
./build/runtime/mate-serve --model ./Inkling-2-Mini-MATE-13GB --host 127.0.0.1 --port 8000 --max-batch 64 --max-kv-pages 1024
| Mode | Temperature | Top-P | Notes |
|---|---|---|---|
| General chat / coding | 0.6 |
0.95 |
Exact target-distribution parity with bundled MTP drafter (--speculative auto) |
| Greedy verification | 0.0 |
1.0 |
Exact token-for-token match against single-token decode |
This repository holds the Inkling-2-Mini 13GB quantized checkpoint (model.mate.safetensors, inkling_buffers.safetensors, and mtp_drafter.safetensors). Quality is evaluated on wikitext-2-raw-v1:test (seq_len=2048, ref PPL 5.431).
| Variant | bpw | Size | WT-2 PPL | KLD | Top-1 |
|---|---|---|---|---|---|
| 13GB | 3.50 | 13.09 GB | 5.473 (+0.042) | 0.0139 | 95.21% |
| 8.3GB | 2.50 | 7.82 GB | 5.813 (+0.382) | 0.1201 | 86.78% |
inkling_ctrl, and per-visit dyn_conv4 ring buffers.mtp_drafter.safetensors) with exact greedy and Joint Block Verification parity, paired with 4-bit K / 2-bit V global (r4k_r2v) and FP8/BF16 sliding KV caches.| Target | Compute Path | Notes |
|---|---|---|
NVIDIA Blackwell (sm_120a) |
Native CUDA (trellis_gemv_v3, r4kv, nvfp4_moe, inkling_ctrl) |
Full DP4A, PDL, Stream-K, 128-split R4KV |
NVIDIA Ada / Hopper (sm_89 / sm_90) |
Native CUDA (trellis_gemv_v3, r4kv, nvfp4_moe, inkling_ctrl) |
CUDA-Graph looped MoE decode, r4k_r2v KV, bundled MTP drafter |
NVIDIA Ampere (sm_80 / sm_86) |
Native CUDA (trellis_gemv_v3, r4kv, e8_v3) |
DP4A GEMV and compressed KV |
| CPU x86-64 / ARM64 (AVX-512 VNNI, AVX2, NEON) | Mojo 1.2 / MAX 26.7 ops (mate/libmate.so) |
Zero libmax.so runtime dependency; optional on CUDA hosts |
| Bare-metal C++20 runtime | mate-serve + libmate_runtime.so |
Zero-Python mmap, BPE/Unigram, Jinja2, epoll HTTP/SSE |
| Field | Value |
|---|---|
| Method | CPTC-TQIR trellis quantization with weight-space MSE, analytical scale alignment, and architecture-specific MoE/Engram packing (mode="mse"). |
| Base model | thinkingmachines/Inkling-2-Mini |
| Bitwidth & precision | Mixed-bit CPTC-13GB (native NVFP4/MXFP8 layers 6-17 + 3-bit/4-bit CPTC-TQIR routed experts, trellis_depth=10; bundled MTP drafter in BF16/FP16) |
| KV cache runtime | 4-bit K / 2-bit V global (r4k_r2v) + FP8/BF16 sliding |
| Engine commit | mate-llm 2b937d0 |
| Raw results | eval.json |
mate quantize thinkingmachines/Inkling-2-Mini -o Inkling-2-Mini-MATE-13GB.safetensors --bits 4 --routed-bits 3 --depth 10
Base model
thinkingmachines/Inkling-2-Mini