so i've been working on bel for a while now and finally shipped v0.9.0.
a lot has changed since the last release. it's not just expert offloading anymore :0
still running on the same machine btw.
- RTX 3060 12GB
- i5-12400
- 16GB single-channel DDR4 (yes, still single channel)
performance:
| Context | Peak decode |
|---|
| 16K | 90 tok/s |
| 262K populated context | 29 tok/s |
the 90 tok/s figure is from repetitive coding tasks combining ngram speculation + DSpark width 7 + MLA/CISA + the learned routing oracle. it's a peak, not something you'll get on every prompt.
the interesting part is the KV cache!!
we now have native MLA-style latent KV compression with sparse attention (CISA) for Inkling 2 Mini.
in my measured mixed MLA development run at 262K, global KV occupied roughly 1.57 GiB. the theoretical uncompressed K8/V4 payload for the eight global visits is 3 GiB.
almost half the footprint. more room for experts to stay resident in VRAM.
the original NVFP4/MXFP8/BF16 target weights are retained. no additional target weight quantisation, expert skipping or skipping recurrent passes.
what about quality?
i've been running teacher-forced logit comparisons, KL divergence, error-rate checks, retrieval tests and output comparisons against the reference paths.
the exact execution optimisations produced byte-identical results in the tested parity cases. the compressed KV configurations also matched reference outputs in tested cases against K8/V4 and, in some cases, BF16.
MLA/CISA is still approximate attention though. i'm not claiming universal bit-exact equivalence for every possible prompt
the populated 262K mixed MLA retrieval test passed 5/5 needles.
Other supported Formats :- (Untested , as we use Mixed Ranks and precision)
| Cache format | 262K context | 1M context |
|---|
| | |
| Original BF16 | 8 GiB | 32.77 GB |
| Current K8/V4 | 3 GiB | 12.29 GB |
| Rank-1024 latent FP8 | 2 GiB | 8.19 GB |
| Rank-512 latent FP8 | 1 GiB | 4.10 GB |
| Rank-512 latent FP4 | 576 MiB | 2.30 GB |
| Rank-256 latent FP4 | 288 MiB | 1.15 GB |
| Rank-192 latent FP4 | 216 MiB | 864 MB |
other stuff shipped in v0.9.0:
- low-bit DSpark drafting (Quantisation done on fly)
- ngram speculative decoding
- native Windows support
- proper tool calling in bel-server
- improved server usability
i realised recently that making an engine 3x faster but 10x harder to use wasn't exactly a great idea lol. so i've been spending more time making bel usable outside my own machine
trying latent attention:
INK2_KV_LATENT=/path/to/latent.bin \
INK2_LATENT_FMT=fp8 \
INK2_LATENT_DECODE=tiled \
INK2_LATENT_MASK=3f \
INK2_CISA=4 \
INK2_CISA_WIN=1024 \
INK2_CISA_TOPK=32 \
INK2_CISA_MASK=3f \
bel-server --model /path/to/Inkling-2-Mini -c 262144 --host 0.0.0.0 --port 8080
i'm also preparing the trained oracle weights for Hugging Face so people don't have to train their own.
release:
https://github.com/Betelgeuse-AI/Betelgeuse/releases/tag/v0.9.0
Dspark Used : https://huggingface.co/Betelgeuse-AI/Inkling-2-Mini-DSpark
MLA Files : https://huggingface.co/Betelgeuse-AI/Inkling-2-Mini-MLA
would love to see how this performs on other hardware, especially cards with more VRAM or older CUDA architectures. most of my development and testing has been on a 3060.
as always it's open source. built on llama.cpp with earlier native Inkling work from Strata.