Repository navigation
warpgrid v0.2.1
warpgrid v0.2.1 optimizes Apple Metal KV memory usage and budgeting for 16 GB Apple Silicon Macs, cutting single-slot Q3 + DFlash 2 KV overhead by ~270 MiB and unlocking 16K context out of the box — and 32K context (--max-seq-len 32768, 0.71 GiB KV, 722 ms warm TTFT, 23.06 tok/s) with sudo sysctl -w iogpu.wired_limit_mb=14336.
What's New & Fixed
- Skip duplicate local-SWA snapshot pool on single-slot 16 GB Macs: Avoids allocating ~240 MiB of redundant local-SWA prefill snapshots when
low_mem && max_slots == 1, freeing GPU wired memory directly for longer global context. - Actual checkpoint size + exact 5-layer DFlash 2 KV budgeting: Uses the real safetensors file size on disk, accounts for
low_memBF16-dense release, and models DFlash 2's fixed 5-layer × 2072-token sliding window accurately. - Hardware-verified on 16 GB Apple M4 Mac mini with
cglab-org/Inkling-2-Mini-Q3-warpgrid+incoai/Inkling-2-Mini-DFlash2(--max-chunk 256 --max-seq-len 32768withiogpu.wired_limit_mb=14336):0.71 GiBKV,722 mswarm TTFT,23.06 tok/s(mean_a = 4.00), exact Canary323, 8% free system memory with desktop apps running.
Prebuilt Binaries
| Asset | Platform | Requirements |
|---|---|---|
warpgrid-v0.2.1-macos-arm64.tar.gz |
Apple Silicon (arm64, Metal) |
macOS 15.0+ (embedded precompiled .metallib, links Apple system frameworks only) |
warpgrid-v0.2.1-linux-aarch64-dgx-spark-cuda13.tar.gz |
NVIDIA DGX Spark (aarch64, GB10 sm_121a) |
Linux aarch64 with CUDA 13.0 runtime (libcublas.so.13, libcublasLt.so.13) |
Verify checksums with SHA256SUMS.txt:
shasum -a 256 -c SHA256SUMS.txt