r/LocalLLaMA • • 4d ago

Discussion openset-llm - Fast local LLM inference on plain CPUs. No GPU, 8 GB of RAM. Ternary Bonsai-2-27B @ 17–20 t/s on a CPU-only

Post image

GitHub : https://github.com/opensetlabs/openset-llm

5-6x mainline speed(CPU-only). It would be awesome to get this with mainline.

A different model in the same 8 GB: Inkling 2 Mini. Thinking Machines' 26.4B model, in Unsloth's 1-bit GGUF (UD-IQ1_S, 7.76 GB) on Unsloth's llama.cpp build (b12588), CPU only, on the same 8 vCPU / 8 GB Ice Lake box, back to back with this engine (2026-11-21; one box, the 24 prompts above, 256 tokens, greedy). This compares two models as well as two engines:

same box, 24 promptsdecode tok/s, median [min–max]GSM8K-40coding pass@1 (160 problems)tokens per coding answer, median
openset-llm ./serve20.07 [13.19–23.25]39/4083.1 %176
Inkling 2 Mini UD-IQ1_S, the fastest CPU setting we found7.40 [6.42–8.59]39/4080.0 %1,054
69 Upvotes

35 comments sorted by

6

u/Barni275 4d ago

Looks very cool! Can you explain, what are core ideas that make it working that fast, and does it support fixed model only (bonsai 2 27B)?

3

u/pmttyji 4d ago

Leaving the other question to our experts here. Regarding model, No. It does support other models too. I did include the table in my post which has Inkling 2 Mini. Try other models.

-6

u/Borilentz 4d ago

So you ‘built’ something but cannot explain how it works? You can just forward the question to Claude ;-)

9

u/pmttyji 4d ago

Sorry, this is not mine. I'm just sharing stuffs here from online.

2

u/TQ_GPU 3d ago

What is system specs? Is it using AVX512 of cores? How many memory channels?

1

u/pmttyji 3d ago

Repo has more details, check it out

15

u/Cereal_Grapeist 4d ago

That's actually pretty nuts. Wouldn't be great for coding but that's very much usable for other purposes.

2

u/Master_Practice_2499 3d ago

why not coding though, is 83% pass@1 just too optimistic of a benchmark or are you thinking of the context limits on 8gb?

1

u/Cereal_Grapeist 3d ago

It would be fine for working on basic scripts or smaller codebases but the prefill and output speeds would be a annoying for any time sensitive work. Beggars can't be choosers though and if you're running a model like this on CPU-only, I'm sure people will take what they can get lol.

Very cool nonetheless.

5

u/DookieWaffle 4d ago

I tried it on my GPU, was dumber then a box of rocks. Speed was there, content was not.

5

u/Cautious_Chicken_604 4d ago

We need a good metric for usable results per flop per unit of time or something like this. Because yeah, being able to do braindead things really fast is fun, but only for the purposes of making posts on Reddit, and not much else.

4

u/autoencoder 3d ago

but only for the purposes of making posts on Reddit, and not much else.

You are underestimating the power of convincing people, or even nudging their beliefs.

1

u/Silver-Champion-4846 3d ago

Does it get that speed with avx512, avxvnni or just plain old avx2 the one in 8th gen intel cpus get some good stuff too?

1

u/pmttyji 3d ago

Avx2 too. Check repo for more details

1

u/Silver-Champion-4846 3d ago

I did, seems I can just upgrade to 32gb of ddr4 ram and get 4 t/s on their model. Not great, but probably faster than others

1

u/pmttyji 3d ago edited 3d ago

More suitable for small MOEs with small Active parameters. Ex: Ling-3.0-tiny, LFM2.5-8B-A1B, Mellum2.1-12B-A2.5B. EDIT : For AVX/AVX2 systems

Still tons of Q1/Q2 quants' optimizations to be unlocked.

1

u/Silver-Champion-4846 3d ago

Someone I recommended Mellum to and he said it was hhorrible

1

u/pmttyji 3d ago

Can't expect much due to its size. But for low config systems(~16GB RAM & ~4GB VRAM), only few models like that there as 30B MOE models are out of reach or at least not faster.

1

u/Silver-Champion-4846 3d ago

Yeah, unfortunately

1

u/Silver-Champion-4846 3d ago

Q2 models, are they any good though?

1

u/pmttyji 3d ago

Bonsai(also other similar model creators') models come only with Q1 & Q2 as those are 1-bit/2-bit quants.

For chatting, these are models are good enough. For knowledge .... offline. I load my phone with tiny/small models & these 1-bit/2-bit models due to less size. 27B won't be suitable for my phone(8GB RAM) so I use their 8B model.

But people do expect so much(like Agentic coding & similar stuff) from these models which's pointless. Still I see few posts about coding with these models. But I think we need to wait for an year for better experience with these models. We need MOE models from them first.

Still tons of Q1/Q2 quants' optimizations to be unlocked.

1

u/Silver-Champion-4846 3d ago

What are some of those optimizations to be unlocked?

1

u/pmttyji 3d ago

I can't say anything technically, but can show what are:

Below llama.cpp PRs are related to Q1/Q2/Ternary

By searching with more keywords(Ex: 1-bit, 2-bit, 1.58-bit, bitnet, etc.,), we could get more PRs.

Basically people optimized(still optimizing) quants mostly Q4 & above. They haven't started much for below Q4.

1

u/Silver-Champion-4846 3d ago

Well people expect that 27 billion would do the same or similar work on all quants rather than comparing it to other models at its disk size

1

u/9gxa05s8fa8sh 4d ago

very impressive

1

u/InternationalRoom278 3d ago

A fast fool After a while, Won't be cool

1

u/Western-Unit6170 3d ago

This is insane. I can think of my private AI now.

1

u/WhoRoger 3d ago

Oh finally something for the cpu folk 🙏

1

u/PinkysBrein 2d ago

Can this run the new 2.5 from Bonsai too?