r/SmallModel • • 9h ago

On-Device AI Don’t give up on running frontier AI models locally

Post image
25 Upvotes

Hi!

I hope I am doing the right and proper thing by bringing this project to your attention.

With BigMoeOnEdge, any model that doesn’t fit into RAM can run anywhere and be perfectly usable.

Running MoE models bigger than your RAM by streaming the experts from flash. It's built on llama.cpp, and it measures your hardware at load to pick its own settings, with no per-model or per-device tuning.

A standard framework for running any large MoE model via streaming across all hardware and OS.

35B model running at 25+ tok/s on a 16GB Mac, 6 tok/s on a 12GB Android device, and 3 tok/s on iOS (300+ tok/s prefill on GPU/NPU)

Open source repo:.https://github.com/Helldez/BigMoeOnEdge


r/SmallModel • • 15h ago

A model about four times smaller can run on your laptop.

3 Upvotes

r/SmallModel • • 15h ago

Inkling 2 Small model goes multimodal with native vision

Thumbnail
gallery
3 Upvotes

r/SmallModel • • 1d ago

Small language models are finally getting good

Thumbnail
gallery
68 Upvotes

r/SmallModel • • 1d ago

Flint AI model runs coding tasks locally on a laptop

0 Upvotes

r/SmallModel • • 1d ago

Benchmark scores don't tell you which AI is best

37 Upvotes

r/SmallModel • • 1d ago

Micro language models run AI on your phone instantly

Post image
1 Upvotes

r/SmallModel • • 1d ago

Microsoft's 1-bit models run 100B parameters on a single CPU

196 Upvotes

r/SmallModel • • 1d ago

28 AI agents reviewing dashcam footage at once

0 Upvotes

r/SmallModel • • 1d ago

AMD's tiny AI PC runs large models locally without cloud

1.1k Upvotes

r/SmallModel • • 1d ago

Model quantization explained

6 Upvotes

r/SmallModel • • 2d ago

A robot that can feel touch is now open source

30 Upvotes

r/SmallModel • • 2d ago

31.7 MB TTS model beats models 1000x larger

Post image
19 Upvotes

r/SmallModel • • 2d ago

Build Showcase Inkling-2-Mini on one RX 7900 XTX: 80 tok/s with its draft head (llama.cpp: 25), 2,148 tok/s prompt, and a 524k context at 767 tok/s prompt with 10/10 needle retrieval. Benchmarks inside (my own Rust engine, LexiSuite)

Thumbnail
github.com
1 Upvotes

I posted earlier about getting Inkling-2-Mini running on my own inference engine the day after it came out. This is the follow up with a new image and a lot more numbers. Short version: it now runs at a 524,288 token context on one 24 GB Radeon, and the 262k numbers went up quite a bit.

Hardware for everything below: RX 7900 XTX 24 GB, i7-9700, 32 GB RAM, Linux, Vulkan. One card, whole model on the card, nothing in system RAM. 4-bit KV cache on both engines. Single runs, greedy decoding, nothing else running on the box.

The model file is 17.6 GB. It keeps the experts exactly as Thinking Machines shipped them (their own 4-bit format, bit identical to the checkpoint) and the rest is 8-bit. Both engines ran that same file.

BENCHMARKS, LexiEngine vs llama.cpp b12600, same card, same file

4,096 token prompt

LexiEngine: 2,245 tok/s prompt, 81.7 tok/s generation with the draft head (52.4 without it)

llama.cpp: 425 tok/s prompt, 25.4 tok/s generation

16,384 token prompt

LexiEngine: 2,148 tok/s prompt, 80.4 tok/s generation with the draft head (50.9 without it)

llama.cpp: 397 tok/s prompt, 25.0 tok/s generation

261,632 token prompt (262k context)

LexiEngine: 1,146 tok/s prompt (3 min 48 s), 40.2 tok/s generation

llama.cpp: did not finish the prompt in 55 minutes

523,264 token prompt (524k context)

LexiEngine: 767 tok/s prompt (11 min 23 s), 33.7 tok/s generation

llama.cpp: not run

MEMORY AT 524k

weights 17.62 GB

KV cache 5.02 GB

scratch 0.58 GB

total in use on the card: 23.7 of 25.75 GB

Load time is 13 seconds. A 1M context does not fit on 24 GB with this layout (the cache alone would be 9.85 GB), so 524k is the ceiling on this card for now.

DOES IT ACTUALLY READ THE CONTEXT

I planted ten facts through the prompt at 1%, 10%, 20% and so on up to 99%, then asked for each one back.

at 260,864 tokens: 10 of 10 correct

at 523,264 tokens: 10 of 10 correct

That is the test I trust more than a perplexity number at these lengths, because my CPU reference cannot run half a million tokens in any reasonable time.

DRAFT HEAD (the model ships its own)

Output is identical to plain greedy decoding in every run I checked, it only changes speed.

after 4k tokens: 81.7 tok/s (about 6 tokens per pass of the main model)

after 16k tokens: 80.4 tok/s

at 262k: 41.8 tok/s vs 40.2 plain

at 524k: 32.1 tok/s vs 33.7 plain, so it is slower there

served at 524k context with a short prompt: 51.0 tok/s vs 43.9

So it is a big win at short and medium depth and a small loss once you are half a million tokens deep, because the draft head's own attention over that much context costs more than it saves. I left that number in on purpose. It only applies to greedy requests in this build, and you have to point the instance at the model's checkpoint folder to turn it on (the draft head is a separate file from the GGUF).

WHAT CHANGED SINCE THE LAST IMAGE (262k context)

prompt: 791 -> 1,146 tok/s (+45%)

generation: 33.3 -> 40.2 tok/s (+21%)

Most of the prompt gain came from the attention kernel for the four layers that see the whole context. That was about half of the prompt time and I had not touched it before.

ACCURACY

Against a CPU reference of the published weights, 510 positions, 4-bit KV:

LexiEngine prompt path: mean KL 0.0038

LexiEngine token by token: mean KL 0.0043, same top token 98.6%

llama.cpp: mean KL 0.0037, same top token 98.8%

So accuracy is a tie, the difference is speed. With the KV cache left unrounded my engine matches the reference exactly (KL 0.00000 over 1,024 positions), which tells me the remaining error is the 4-bit cache and not a bug. For reference the 4-bit cache costs about 0.005 mean KL against about 0.002 for 8-bit on this model.

THINGS YOU SHOULD KNOW BEFORE TRUSTING ANY OF THIS

The llama.cpp numbers were measured the day before, with a disk copy running at the same time, and I have not re-run them. They could be a bit low. I do not think it changes the picture at 4x to 5x but I would rather say it.

llama.cpp's stock converter decodes the 4-bit experts and re-quantizes them, which gives a 27.8 GB file at 8 bits and does not fit a 24 GB card. To compare on the same card I used a file that keeps the experts as shipped, and llama.cpp needed a small loader patch to run that file correctly. The patch is printed in full on the wiki page linked below.

Everything is single runs on one machine. If you have a 7900 XTX I would genuinely like to know if you get the same numbers.

Not in this build: image input, the draft head for sampled (non greedy) requests, and a 1M context.

WHAT THIS IS

LexiSuite is my own stack, written in Rust: inference engine, control panel, a bootable OS image. It is not a wrapper around llama.cpp or Ollama. This is a development image, not a production release. The USB image has no models in it and writing it erases the stick.

Also new in this build if you care: prompt reuse between requests (a follow up turn only processes the new tokens), reasoning separated from the answer in the chat API, and LoRA adapter loading for this model.

Download and USB instructions: https://lexipanel.com/download/

Benchmarks and method: https://github.com/W61k3r/LexiSuite-Releases/wiki/Benchmarks

How the Inkling runtime works, with the llama.cpp patch: https://github.com/W61k3r/LexiSuite-Releases/wiki/LexiEngine-Inkling-2

Releases: https://github.com/W61k3r/LexiSuite-Releases/releases


r/SmallModel • • 2d ago

Chinese AI makers solving small everyday problems

0 Upvotes

r/SmallModel • • 2d ago

anyone any experience getting the most out of a LLM on a MBP M1 Pro 32 gigs ram model?

1 Upvotes

just trying toe squeeze as much efficiency out of this machine and any model i could potentially run on it


r/SmallModel • • 3d ago

Benchmarks Model distillation lets a small AI learn from a big one

3 Upvotes

r/SmallModel • • 3d ago

GPT-6 Astra learns robotics from video games with little data

2 Upvotes

r/SmallModel • • 3d ago

Small language models beat large ones in efficiency

27 Upvotes

r/SmallModel • • 3d ago

Inkling 2 Small competes with flagship models using 17B active parameters

4 Upvotes

r/SmallModel • • 3d ago

Discussion AirLLM runs a 70B model on a 4GB GPU

2 Upvotes

r/SmallModel • • 3d ago

Microsoft's new 2.3B model runs AI on-device in Windows

Post image
8 Upvotes

r/SmallModel • • 4d ago Bravo

Aleph Alpha's new open model beats Qwen and Mistral

Post image
309 Upvotes

r/SmallModel • • 4d ago

8 open-source AI models to watch in 2026

Post image
2 Upvotes

r/SmallModel • • 4d ago

Liquid AI's new 2B parameter model family does text, vision, and audio

28 Upvotes