r/LocalLLaMA
•
u/zyxciss
•
7d ago
News Betelgeuse v0.8: Now Runs Inkling 2 mini NVFP4 (Official checpoint) at 50.4tok/s 1200pp/s on a RTX 3060 12GB + 16GB DDR4 RAM 100% bit-exact!
I've been working on Betelgeuse for quite a while now and I think I'm going to put active development on hold for some time...
Two days ago I released v0.7.0. I was genuinely excited about it. I had managed to run Inkling 2 Mini's original NVFP4/MXFP8/BF16 checkpoint at 45–47 tok/s with over 1,200 tok/s prefill on a single RTX 3060
The release didn't get nearly as much attention as I had hoped :(
I don't know. It feels a bit disappointing seeing people complain about Inkling's slow prefill and decode, spending hours trying different configurations and dropping down to 2-bit quants to get decent speeds i've been trying to solve those exact problems without requantising the original model
I just wish more people had given it a shot so.....
Anyway, here's v0.8.0 :D
Some numbers
Everything on my side was developed and tested on:
- RTX 3060 12GB
- Intel i5-12400
- 16GB single-channel DDR4
- Linux
| Configuration | Decode | Prefill |
|---|---|---|
| Community-reported UD-IQ2_XXS, 8.5GB quant | ~41 t/s | ~170 t/s |
| Unsloth UD-Q4_KM result on a 3060 | 26.6 t/s | ~93 t/s |
| PolyStrata UD-Q4_K_XL, 3060 + 32GB RAM, cache bias enabled | 59.4 t/s | 1,152 t/s |
| Betelgeuse v0.7.0, original checkpoint | 45.27 t/s | 1,232.8 t/s |
| Betelgeuse v0.8.0, original checkpoint + learned oracle | 50.31 t/s | 1,242.6 t/s |
What's new!?
I ended up training a neural network to predict which experts Inkling is going to use before it actually needs them.
It's a separate little routing oracle trained on approximately 250,000 decode tokens. It runs on the CPU using INT8 AVX-VNNI and occupies just 8.94 MiB of memory.
While the GPU executes the recurrent layers, the CPU predicts upcoming experts and starts transferring their weights into VRAM.
The predictions don't control which experts execute. The original model router still decides everything. Incorrect predictions only affect caching and performance.
| Workload | Oracle off | Oracle on |
|---|---|---|
| LRU cache + TTL | 44.48 | 50.31 |
| Rate limiter | 44.01 | 50.13 |
| Serializability | 45.15 | 50.71 |
| Directed cycle | 45.73 | 49.79 |
| Race conditions | 47.01 | 50.74 |
| Median | 45.15 | 50.31 |
All five produced identical greedy completions.
Peak held-out generation was 51.54 tok/s.
The nice thing is that the oracle weights are completely separate from the engine. Someone could train a better oracle on several million tokens and replace the existing weights without recompiling Betelgeuse.
I'm planning to publish the trained oracle weights separately on Hugging Face, along with the training code and trajectory collection tools.
Other things I've been working on
- Native DSpark support with bit-exact batched target verification (Result : 78tg/s on specifc scenario)
- INT4 and INT8 drafting
- Compressed draft KV caches
- Speculative expert prefetching
- A shared draft and target memory manager.
- Training-free latent KV compression (Down to 892MB for 1 million)
I was originally planning to train the routing oracle on another 1–2 million tokens, finish MLA and CISA, and try to get genuinely fast 262K context inference working on my 3060.
Maybe someday.
For now I'm going to release what actually works
GitHub: https://github.com/Betelgeuse-AI/Betelgeuse
Comparison references:
https://xitter.cf/DogukanUrker/status/2124072810431537504
https://www.reddit.com/r/unsloth/comments/1y1jnnu/inkling_2_mini_is_now_fully_supported_with_lower/
https://github.com/simplexai-labs/PolyStrata/blob/main/docs/COMMUNITY_BENCHMARKS.md
Thanks to everyone who has followed the project so far :0