I've been working on Betelgeuse, a custom inference engine for running MoE models on relatively low-end consumer hardware.
Over the past few days I've been working extensively on native Inkling 2 Mini support, originally based on baptisterajaut's work in Strata and subsequently integrated into Betelgeuse.
I think I've finally reached a point where it's worth releasing.
Hardware:
- RTX 3060 12GB
- Intel i5-12400
- 16GB single-channel DDR4
- Linux
The important part is that this uses the original NVFP4/MXFP8/BF16 checkpoint.
No additional weight quantisation. No expert skipping. No speculative decoding. All three recurrent passes are executed.
Results
All of these are real programming and reasoning tasks running through bel-server, generating 512 tokens each.
| Task | Generation speed |
|---|
| LRU cache + TTL | 44.51 tok/s |
| Directed cycle detection | 45.52 tok/s |
| Race conditions | 47.11 tok/s |
| Token-bucket rate limiter | 44.33 tok/s |
| Serializability reasoning | 45.27 tok/s |
| Median | 45.27 tok/s |
With an actual 16,338-token source-review prompt:
- Prefill: 1,232.8 tok/s
- Generation: 42.03 tok/s
- Prefill-to-decode transition: 203.4 ms
The prefill measurement is from a warm server but with an uncached prompt. All 16K tokens are processed again.
Cold prefill is around 819 tok/s, and the first request incurs approximately 11 seconds of one-time pinned expert arena preparation. Subsequent requests don't incur that full cost.
What i added :
Prefill uses its own temporary workspace and batched tensor-core computation. Once prefill finishes, the engine reclaims that workspace and uses it to expand expert residency for decode.
Other changes include native Ampere NVFP4/MXFP8 kernels, fused GQA, GPU-side greedy sampling, decayed-LFU eviction, staged PCIe transfers and context-aware expert placement.
Comparison with other implementations
Some of the community benchmarks I've been following:
| Engine / configuration | Hardware | Generation |
|---|
| Original Strata-style CPU expert execution, my earlier local tests | RTX 3060 12GB | ~25–29 tok/s |
| Unsloth llama.cpp, 4-bit, RAM experts | RTX 3060 12GB | ~18 tok/s |
| Unsloth llama.cpp, 4-bit, RAM experts | RTX 5060 Ti 16GB | ~20 tok/s |
| Unsloth llama.cpp, dual GPU | Two GPUs | ~46–47 tok/s |
| Strata SQ-10, more aggressively compressed weights | RTX 3060 12GB | ~35 tok/s |
| Strata, approximately 14GB quant | RTX 5060 Ti 16GB | ~44 tok/s |
| Betelgeuse, original checkpoint | RTX 3060 12GB | 45.27 tok/s median |
What about long context?
Earlier development builds achieved the following with actual populated prompts:
| Context | Decode |
|---|
| 16K | 41.1 tok/s |
| 32K | 37.8 tok/s |
| 64K | 32.8 tok/s |
| 128K, K8/V4 | 28.6 tok/s |
| 251K, K8/V4 | 15.8 tok/s |
The main problem at longer contexts is that KV storage starts displacing recurrent experts from VRAM.
Which brings me to something I've been experimenting with separately.
Training-free MLA for Inkling
Inspired by Telperion's recent training-free GQA-to-MLA conversion, I've implemented an activation-aware latent KV compression experiment specifically for Inkling's global attention layers.
No gradient-based training so far. Just calibration, covariance collection and low-rank factorisation of the original K/V activations.
Using a rank-512 FP8 latent representation:
| Context | Native K8/V4 global KV | Latent global KV |
|---|
| 16K | 0.22 GiB | 0.08 GiB |
| 64K | 0.80 GiB | 0.27 GiB |
| 128K | 1.59 GiB | 0.52 GiB |
That's approximately 3.06x compression, projecting to around 1 GiB of global KV at 262K.
Dense latent attention retrieved all five test needles at 16K and 64K, and four out of five at 128K.
I've also experimented with combining this with CISA, a training-free chunk-indexed sparse attention approach.
The combined prototype reached 31.4 tok/s at 128K while retaining the 0.52 GiB global KV footprint. Unfortunately, retrieval currently fails. There's an unresolved issue in the sparse latent attention implementation, so I'm not shipping it yet.
Theoretical storage calculations :
| Global 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 |
Memory compression alone isn't sufficient if the model can no longer retrieve information correctly.
Future plans
- Experiment with Intel integrated GPU expert execution using shared system memory and OpenVINO.
- Develop a learned routing oracle that predicts upcoming experts from earlier hidden states.
- Use those predictions to asynchronously prefetch experts before the original router selects them.
- Integrate DSpark for speculative decoding.
- Continue the training-free MLA and sparse attention research.
- Improve actual long-context performance rather than merely supporting larger allocated context windows.
At this point, ordinary native decoding on my 3060 is approaching the measured weight-streaming and host-memory bandwidth limits. I think prediction, weight reuse and better attention architectures are more interesting than spending another week shaving microseconds off GEMV kernels.
The release is Betelgeuse v0.7.0 (Alpha-Orionis).
https://github.com/Betelgeuse-AI/Betelgeuse
I'd be particularly interested in benchmarks from other people running the original checkpoint on 3060s, 4060 Tis and 5060 Tis, especially with dual-channel memory.
There's quite a lot more I want to do with this. But for now, I think it's finally time to ship :0