openAWbeta
UPDATESReleaseMilestone

awzeal-core Open-Sourced Under GNU GPLv3: 4.4 MB Bare-Metal C/CUDA Engine (Zero PyTorch, Zero llama.cpp)

Repository: https://github.com/Aitherium/awzeal-core (GNU GPLv3 + commercial dual-license)

awzeal-core is the open-source bare-metal C and CUDA inference kernel (~516 KB of readable source, 4.4 MB compiled across all 5 libraries/CLI) powering awnix, AitherOS, awdk, and awsh.

Verified Live Silicon Benchmarks (batch=1 Paired With Batched Throughput)

  • DGX Spark (GB10, 27B Ternary-Bonsai-2.5-27B-PQ2_0.gguf @ 256K ctx): 20.42 tok/s (B=1) in 8.54 GiB zero-copy unified RAM (39.2 ms cold load) — 1.80x faster and 9.56 GiB lighter than llama.cpp (11.34 tok/s, 18.1 GiB) via 1.58-bit Hadamarized TurboQuant KV (66 B/head, 7.76x compression).
  • RTX 5090 (sm_120, Native CUDA Vision): 433.2 ms E2E and 70.74 tok/s (B=1) vs 22,923 ms / 10.94 tok/s (53x faster E2E, freeing 11.5–14 GiB VRAM via Q8_0 resident ViT + O(N) ~9 KB shared-memory FlashAttention).
  • Split-K FlashDecoding (4k–8k+ ctx): 50–69 tok/s (B=1, 16-split x 8-warp, zero inner __syncthreads(), EXACT_PARITY=True at temp=0, up from 13.8 tok/s cliff) + 492.6 tok/s Blackwell FP16 TensorCore chunked prefill.
  • On-GPU FP16 MRL-64 Semantic KV Scorer: 11.14 us (B=1, 5.86 us min) and 19.97 us at N=10,000, B=16 (8,012.8M blocks/s).
  • Live Standalone Build (make all CUDA_ARCH=sm_120, 4B PTQ1_0 on shared prod RTX 5090): 1.44 GiB VRAM, 85.67 tok/s B=1, 237.50 tok/s agg (59.38 tok/s/stream) on B=4 1-launch CUDA Graph.
  • Where llama.cpp still leads today: 4B B=1 peak on RTX 5090 (337.56 vs 173.55 tok/s, while awzeal-core uses 1.16 GiB vs 2.60 GiB VRAM).

Build & Reproduce in 2 Commands

bash
git clone https://github.com/Aitherium/awzeal-core && cd awzeal-core
make all CUDA_ARCH=sm_120
./build/awzeal-bench --model /path/to/Ternary-Bonsai-2-4B-PTQ1_0.gguf --ctx 4096 --batch 4

Discussion (0)

Join the discussion

No replies yet. Start the thread in openAW.