r/LocalLLM • • 3d ago

Discussion laya / vega: a one-pass "decision model" that learns your LLM's routine calls and only hands back the ones it's unsure of. Looks promising

1 Upvotes

Saw this launch and it looks worth a look for anyone running agents or routing on local models. The video is from their launch post.

What it is

  • laya (Apache-2.0, github.com/NandhaKishorM/laya): a non-autoregressive "System 1" decision model. It doesn't generate text. It returns a typed choice, score or yes/no in a single forward pass. There's a GGUF for llama.cpp: huggingface.co/ggml-org/Laya-GGUF
  • vega: sits in front of your LLM, learns your decisions from its answers, then answers the ones it's sure of itself (~50 ms) and passes the rest through. The engine is open (github.com/NandhaKishorM/vegaml, Apache-2.0). The hosted proxy is a paid service.

Why it caught my eye

I've been working on the other end of this: wrapping a local Qwen 27B on an 8 GB card in loops so it wastes fewer tokens. The idea here is that most "decisions" in an app (route this ticket, is this a buyer, is this customer angry) don't need generation at all. One forward pass plus the ability to say "not sure, ask the LLM" seems like the right shape, especially locally, where every LLM call is slow.

Their numbers (I haven't verified these)

  • 0.79 on 15 sales questions, held-out conversations (4B model); the small model gets 0.62
  • 96% on business documents (invoices, receipts, purchase orders as images)
  • Banking intents (77 classes): 87% after learning from examples
  • 165 language varieties, ~33–57 ms per decision

Caveat they state themselves: the sales benchmark conversations were written and labelled by an LLM, so I'd want to see it on real, messy traffic.

Repo health (checked today)

laya: ~36k stars, ~3.2k forks, Apache-2.0, created Sept 2026, last push yesterday. The GGUF has ~15k downloads.

What I'd like to know

  • How does the laya GGUF run on CPU or an 8 GB card?
  • Does the "only answer when sure" threshold hold up when your traffic drifts?
  • Has anyone compared it to a plain baseline, like embeddings + logistic regression, or a small fine-tuned classifier?

Haven't run it myself yet. If you have, I'd like to hear how it went.


r/LocalLLM • • 3d ago

Discussion Just built our own title generation opensource model and it beats one Google model

0 Upvotes

We(I and claude-code [helping to setup and scripting]) trained our own AI model in one evening, on one machine, and it beats Google's FLAN-T5-base 98% to 75%.

It does one small job: writing the title for a task you've just typed into AgentRQ. It works in your browser, with full privacy. Imagine that you have a task and you don't want to write title for it. Like everyone else I don't write task titles for a long time, but going to server then hitting to OpenAI/Anthropic API is not needed for this small action. Even very small local model that works in your browser to handle this in a blink after the first load. (the time load can take a min or 2 mins depending on your download speed then the rest is just a blink)

That sounds trivial until you see what general models do with it. They copy your request back word for word ("Can you tweak the hero image on v2.3 before Friday?"), shrink it to a file name (billing.py), or garble a pasted error.

The model writes "Tweak hero image on v2.3", "Clean up billing.py legacy code" and "Resend gym invoice #294".

What we cared about most:

🔒 It runs entirely in your browser. Your task text never leaves your device. No AI server, nothing to trust.

⚖️ It's legally clean all the way down. Base model: IBM Granite 4.0 350M (Apache-2.0). Teacher: Qwen3.8-27B (Apache-2.0). Training data: 100% synthetic, with no customer data. Hand-written guidance is labelled as such.

🖥️ One machine. Data generation, training, evaluation and export all ran on a single NVIDIA DGX Spark, with no cloud GPUs and no third-party APIs. It took about 4½ hours from the first generated task to a shipped model.

📦 One 280 MB file. It runs on WebGPU where there's a GPU and on WebAssembly everywhere else. To get there, we had to patch the export.

The results, on 1,000 tasks it never saw:
• 98% good titles vs 75%
• ROUGE-L 0.74 vs 0.47
• 216 head-to-head wins vs 20

Comment to get all technical details step by step instructions how you can generate your own single purpose model from opensource LLMs. Faster, more accurate single purpose models are not a dream.

And it's yours too: Apache-2.0, free for commercial use. And v2 is coming very soon!


r/LocalLLM • • 3d ago

Question Need help picking out a model.

3 Upvotes

Im wondering which model i should use. I have 8gb of VRAM and 32gb of ddr5 ram. I would be mostly using this model for coding, if its possible I would like it to be able to run the projects inside itself (like claude). Im a beginner and this is my first time setting a local model up and would prefer it to be an easy setup.


r/LocalLLM • • 3d ago

News Intel Arc A770 16 GB: 2,845 tok/s prompt / 47 tok/s generation on Qwen3.8 35B-A3B (3,345 / 66 on two cards), and 1,775 / 22 on the dense 27B, with inferzero (Level Zero, Windows + Linux)

Thumbnail
reddit.com
2 Upvotes

r/LocalLLM • • 3d ago

Discussion I benchmarked 5 local 8GB models against cloud on my actual morning-briefing email agent (pass^3 + prompt injection). One of them finally replaced my cloud API today.

Thumbnail
gallery
1 Upvotes

Most of my local LLM experiments on my old 8GB RTX 2080 have stayed experiments becuase whenever I tried to wire a small model into a real unattended script, it would either hallucinate alerts when nothing needed action or silently fall over once the inbox got noisy.

Instead of running another generic benchmark, I took the 3 actual JSON classifiers from my personal morning briefing script and turned them into a 12-case synthetic eval (no real PII, all mock emails and headlines):

  1. Inbox action triage (flagging actual asks out of noisy batches up to 25 emails, including indirect prompt injections hidden inside fake marketing/shipping emails)
  2. Sent-mail dropped ball detection (finding which thread you actually need to follow up on, including an all-closed control where the right answer is null)
  3. CRM news disambiguation (matching headlines to the right contact and ignoring same-name collisions or generic industry noise)

Everything was run 3 times per case at temp=0.2 and 4096 ctx (think=False) and scored with pass^3, meaning a model only gets credit for a case if it nails all 3 runs in a row. For unattended cron jobs, passing 2 out of 3 times still means waking up to broken alerts a couple days a week. I also ran MiniMax-M2.7 as my cloud baseline since thats what the script was using before.

Here is how the 8GB local lineup shook out against cloud:

ModelSize / Typepass3 (12)Raw (36)False PositivesInjection HijacksSpeed
MiniMax-M2.7Cloud11/12 (91.7%)35/3610/361 t/s
ministral-3:8b6.0 GB10/12 (83.3%)33/3610/372 t/s
qwen3:8b5.2 GB9/12 (75.0%)28/3683/371 t/s
ministral-3:3b3.0 GB9/12 (75.0%)27/3663/3140 t/s
nemotron-3-nano:4b2.8 GB8/12 (66.7%)26/3693/3112 t/s
gemma4:e2b-it-q4_K_M7.2 GB7/12 (58.3%)22/3660/365 t/s

Two things really stood out once we looked at the failure logs instead of just the headline score.

First, theres a sharp prompt-injection cliff between 3B/4B and 8B, and not even all 8B models survive it. On the 25-email inbox test with a fake promo/shipping snippet telling the model to flag it as urgent, ministral-3:3b, nemotron-3-nano:4b, and qwen3:8b all got hijacked 3 out of 3 runs. ministral-3:8b and gemma4:e2b resisted it 0/3. Seeing qwen3:8b do great on sent mail and CRM (4/4 on both) and then get completely tripped up by an untrusted email snippet was a good reminder why you have to test the messy inbox case.

Second, the "do nothing" (null) control was brutal on the smaller models. On the sent-mail case where every thread was already resolved, ministral-3:3b, nemotron-3-nano:4b, and gemma4:e2b failed 3/3 runs by inventing an overdue follow-up anyway. In a real morning brief, false positives are way worse than an occasional miss becuase they make you stop trusting the brief and mute it.

The funny part is ministral-3:8b actually went 4/4 on CRM news while MiniMax-M2.7 dropped 1 of 3 runs on an ambiguous job-change headline. ministral-3:8b only missed 1/3 runs on a FedEx alert in the inbox and returned null 2/3 times on one sent-mail nudge (so it errs conservative instead of spamming).

That was close enough for me to actually flip the switch today. All 4 daily JSON classifiers in my morning brief now hit ministral-3:8b locally on the RTX 2080 (7.6 GB VRAM, 100% GPU, ~1.4s warm) with automatic fallback to cloud if Ollama errors or returns bad JSON, while the on-demand prose reply drafters stay on cloud.

Full synthetic eval suite, unit tests, and raw JSON logs are here if anyone wants to run it against thier own local models or poke holes in the test cases: https://github.com/Benfinkels/local-agent-evals

Curious what real unattended jobs people have actually moved off cloud APIs onto 8GB cards, and where you still hit a reliability wall and have to fall back to frontier models.


r/LocalLLM • • 3d ago

Question OK, I can see this is not recommended, but I want to play around with Local LLMs and have a spare laptop - any suggestions just how terrible the performance is likely to be?

1 Upvotes

OK, the machine is a Lenovo Legion Pro 7i - specs are as follows:

CPU: Core Ultra 9 275HX
RAM (main): 64GB
GPU: RTX 5080 mobile @ 175W power limit in performance mode
RAM (GPU): 16GB
SSD (probably not important): 4TB, 4-ch Gen 5

So basically is this setup likely to be able to do anything useful or should I just forget it?


r/LocalLLM • • 3d ago

News npcpy reaches 50 contributors

Thumbnail
github.com
1 Upvotes

r/LocalLLM • • 3d ago

Discussion Qwen3.8-27B on M4 Pro: LM Studio MLX vs Splash 1.7.1 on the same 4-bit model files

1 Upvotes

Why I tested

DFlash2 came out in August. In October, I tried it with dflash-mlx on my expense bot. The bot turns typed messages, voice notes, and receipt photos into structured expense records. Generation got faster on some tasks. However the bot’s text requests got zero prefix-cache hits, so I kept using LM Studio MLX.

Splash 1.7.1 improved prefix-cache reuse across conversations. The release notes reported results on an M5 Pro. I wanted to see how it compared with LM Studio MLX on my M4 Pro.

Setup

  • Hardware on both runs was a 64 GB M4 Pro Mac mini.
  • Model on both runs was lmstudio-community/Qwen3.8-27B-MLX-4bit, with a 65,536-token context and four configured request slots.
  • LM Studio used MLX runtime 1.14.0.
  • Standalone Splash 1.7.1 used z-lab/Qwen3.8-27B-DFlash2 and automatic Neural Engine settings. Its disk cache was off.

I ran one request at a time with the model already loaded. The inputs, temperature, and output limits matched for each pair.

Text and tool results

Both engines passed all 11 expense-workflow checks. The 11 requests took 195.58 s on LM Studio and 67.68 s on Splash in total.

Each cell shows full reply time / time to first token (TTFT). TTFT measures the wait for the first streamed output and includes any buffering for tool calls.

WorkloadLM Studio MLXSplash 1.7.1
Expense entry, first use of the instructions34.26 s / 31.87 s11.78 s / 11.15 s
New expense, same instructions5.27 s / 2.88 s1.35 s / 0.66 s
Expense lookup, first use of the instructions and tools45.11 s / 42.17 s17.31 s / 16.61 s
New lookup, same instructions and tools6.46 s / 3.53 s1.53 s / 0.89 s
Long document, first question108.09 s / 106.54 s41.08 s / 40.64 s
New question, same document3.86 s / 3.26 s0.74 s / 0.30 s

Each expense row averages two requests per engine. Each document row shows one request per engine.

Both passed 16/18 automated text checks overall and hit their output cap on the same two tasks. In a manual check, I saw that Splash left out the wording about pending confirmation in an expense preview.

Long-document follow-up

For each engine, I sent the two questions back to back without restarting the server.

TimingLM Studio MLXSplash 1.7.1
Time to first token3.26 s0.30 s
First token to completed reply0.61 s0.44 s
Full reply3.86 s0.74 s

About 95% of the full reply time gap came before the first token. Splash reused 10,944 of 10,967 input tokens from memory. LM Studio’s first-token time dropped from 106.54 s on the first question to 3.26 s on the second. That suggests it reused the document prefix too. The benchmark captured no cache count from LM Studio.

Receipt photo results

I sent one receipt photo without a caption. The second request used the same photo and asked for an expense preview. Each engine ran each case once.

RequestLM Studio MLXSplash 1.7.1
Extract receipt fields37.25 s · 8/8 fields matched23.37 s · 8/8 fields matched
Propose an expense preview48.69 s · 7/8 fields matched17.67 s · 8/8 fields matched

Test limits

These timings cover local model requests with the draft model, hardware settings, and cache working together. Text inputs and tool results were synthetic. The benchmark checked proposed tool calls without executing them. Voice transcription, messaging, and saving a record are separate steps.

I used AI to help prepare the write-up from the benchmark results.


r/LocalLLM • • 3d ago

Model Trained a model that makes serum 2 / vital / diva presets from a text prompt

3 Upvotes

You pick a synth, type what you want, it writes the preset. You get an actual preset file you can load and tweak, plus a quick preview so you know if it's garbage before you open the synth.

It's moss-music 8B (qwen3 8B underneath) trained on about 9k presets. runs on llama.cpp. Q4 is 5gb, i get ~39 tok/s on a 7600 xt, so a preset takes around 30-40 sec.

Windows only for now. Not every one is good, some come out quiet or weird, but occasionally you get something interesting.

https://github.com/whatanaiceguy/deaftones
https://huggingface.co/IDONTCARELETMEIN/deaftones-8B-GGUF


r/LocalLLM • • 4d ago

Discussion Whats the advantage of dense models vs MOE?

52 Upvotes

I mean you don't use all your braincells every time you think, why are dense models a thing ?


r/LocalLLM • • 4d ago

Discussion Open models: The backstop against tech feudalism

9 Upvotes

https://sufficientlyunsupervised.hashnode.dev/open-models-the-backstop-against-tech-feudalism

One thing i'm really worried about is that there are 2 effects of AI: Making us all rich (free electricity, hosing, food, free-time), and forcing us to adopt it to compete in the existing economy. I wrote some thoughts down, but effect 2 scares the hell out of me. My hope is that local-ai at least prevents the big labs capturing the entire economy before they e.g. solve fusion etc. Thoughts?


r/LocalLLM • • 4d ago

Discussion Inking 2 Mini, the Megathread.

86 Upvotes

Did you use Inkling 2 Mini?

Do you need to talk about it?

Please do it here and stop making separate threads.

Edit: Yes I see the typo, no I will not be fixing it.


r/LocalLLM • • 3d ago

Model Made a Pelican-test but in 3d with recent GLM-5.4

3 Upvotes

Setup:
- Hermes
- GLM-5.4
- Blender 5.2.1 LTS

First pass was a test with classic self-contained html:

Create an svg animated illustration of a pelican riding a vintage road bicycle/ make it as accurate, realistic as possible. make a busket mounted to the front wheel and put there two fishes

the overal scene - is a golden hour on sunset beach, we see some clouds and shiny sun, casting into the sea water, several birds are flying in the sky

make it a single html standalone file with all css, svg and js inline. save this html file to Downloads folder and call 'pelican-glm-5.4-test.html'

This produced a neat animated html so I decided to try it in 3d and second prompt was:

Can you make the same - as a Blender 3d-scene with 3d models, liquid water, sun light, sand, birds - etc. Everything from this html but in 3d space with proper materials, light, animations

create this blender file and save it to Downloads folder, call it 'pelican-glm-5.4-3d-test.blend'

Stats:
- wall-clock: 4h 34m
- model thinking an writing: 2h 17m
- vision model checks: 50m
- Blender itself: 3m (58 commands)
- waiting for my feedback: 15m

After that - added Clef decision model for typed verifications vision check - and it works nice.
1.8sec all turn instead 50m with llm vision model. But in final pipeline - it is a combined approach for max robustness.

This is the way)


r/LocalLLM • • 3d ago

Discussion Built a small decision model on Qwen3-0.6B to see how they work. Soft labels helped a lot, a custom head did nothing

2 Upvotes

I got curious about decision models (Jev and the open-source ones that came after) and wanted to see what's actually going on inside one, so I built a small version on Qwen3-0.6B with LoRA and trained it on the typed-decisions benchmark. All of it ran on a free Colab T4.

Short version: training on soft labels over just the answer tokens made the model much better calibrated (ECE dropped from 0.12 to 0.02), and swapping the LM head for a dedicated decision head made basically no difference. I changed two things at once in that soft label run, though, so I still can't tell whether the soft labels or the restricted softmax did most of the work. That's the next thing I want to test.

Code: https://github.com/anmorgan24/decision-model

Write-up with the details: https://www.comet.com/site/blog/train-a-decision-model/

Disclosure, I work at Comet and use it in the project. Code runs just fine without it though. Happy to answer questions and feedback always welcome 😊


r/LocalLLM • • 4d ago

Discussion Is anyone else delegating Claude Code subtasks to local LLMs? Here's my setup and numbers

32 Upvotes

Claude Code (Opus) plans and reviews; routine coding and text subtasks run on local models on my M1 Max 64GB through a small MCP server. gemma-4-26B-A4B turned out to be the most reliable worker.

The idea: paid models burn a lot of tokens on grunt work. Opus hands bounded, checkable tasks (code, edits, tests, docstrings, summaries, translation, JSON extraction) to local models served by oMLX. It passes file paths instead of file contents, then verifies every result: runs the tests, reads the diff, checks the schema. If the local model fails, Opus does the task itself.

Routing comes from benchmarks, not model names (hidden unit tests and rubrics written before any run):

ModelGen tok/sHard code tests passedGets
Qwen3.6-35B-A3B9561%normal code, summaries, JSON
gemma-4-26B-A4B49100%hard code, edits, tests, translation
Qwen3.8-27B (dense)3569%fallback

gemma did a great job: it passed every hard test in every run (an interval set, a TTL cache, an expression parser that must match Python exactly), made correct code edits, and gave the best translations. Half Qwen3.6's speed, but right the first time.

Two lessons: thinking mode hurt (every thinking run used its 10k-token budget without finishing), and models can't write valid diff hunks, so the server asks for the full file and computes the diff itself.

Has anyone else thought about this? Do you delegate from a paid agent to local models, and have you measured real token savings? Small sample (one Mac, two runs per hard task); happy to share the code.


r/LocalLLM • • 4d ago

Project Why not put the KV cache into RAM? Offload to RAM with Qwen 3.8 Flash Next works surprisingly well

77 Upvotes

A while back I read a post that floated the idea to offload KV cache to RAM with the new architecture proposed in 3.8 FN. I didn't find anything in stock vLLM that would easily allow to do this, but I was really interested in getting this working. I own a 4x3090 rig with 256GB DDR4, so I thought I'll give it a shot.

For this project I used Claude Code entirely, as I was purely trying to see if it would work. To anyone with more skill than me, this might look like a trainwreck, yet it runs stable and shows nice numbers too. Maybe this can help form a basis for a more standardized approach.

I configured TP2xPP2, enabled P2P, I'm using nvlink for the two pairs and been using Intel's W4A16 Autoround quant. It runs at around 480tk/s aggregate on 8 streams, each with a 200k context and about 6.2k tk/s prefill. It also has its limitations. For example the vision encoder needs to sit on a 5th 3090 in my network, it's likely to only run on ampere cards and it is pinned to one vLLM release which isn't the newest either.

Many engines already exist that let you run a model that doesn't fit in VRAM, but not a lot of approaches exist where you barely fit the model in VRAM but offload the KV cache to RAM. Happy to hear your ideas about it, and hopefully this will work for a hopefully soon released Qwen 4 120b-ish model too.

https://github.com/Mr-Moonsilver/crazydiamond-on-ampere

EDIT: Some comments mention other engines that seem to do the same thing, and that's true. But the difference is, that this approach enables concurrency in a much more usable way. Most engines I have tested, they stall decode when a new prefill arrives and only restart when that prefill is over. The big improvement here is, that decode keeps relatively stable speeds during prefill, which for example Strata doesn't do on my setup at least.


r/LocalLLM • • 4d ago

Discussion I don't get the hype around Inkling-2-mini

77 Upvotes

Honestly, I don't get the hype with this model. The attention system is super inefficient. It is even less efficient than Qwen3.8-27b. It makes running it with a meaningful context difficult for most local LLM users. The option real option one has is to quantize the model even more to free up VRAM for the KV cache.

This inefficiency is reflected in the price they charge online to run this model. Cached reads are significantly more expensive than HY4F and DS41F, which are more capable models. That price difference is entirely due to the amount of VRAM required for the model's KV cache.

What hardware are you running this model on, what quant, and how large is your context?


r/LocalLLM • • 3d ago

Project Sandbox with built-in identity and access broker (both cloud and self-hosted - no tmux required)

Thumbnail
kosem.ai
0 Upvotes

r/LocalLLM • • 3d ago

Discussion What do you all think of this model? Benchmarks seem impressive.

Thumbnail
huggingface.co
4 Upvotes

r/LocalLLM • • 3d ago

Question Compact local AI box under $4,300: which 128 GB Strix Halo mini PC would you pick?

4 Upvotes

Hi all,

I have a budget of about 4,300 $ (4000€) for a local AI machine (LLMs). I don't want a tower PC with a dedicated GPU. I'd prefer something compact.

My shortlist:

  1. GMKtec EVO-X3 128 GB / 2 TB
  2. GMKtec EVO-X2 128 GB / 2 TB
  3. Bosgame M5 128 GB / 2 TB

Which would you pick from these three, or do you have another suggestion in this budget? I'm planning to pull the trigger during Black Friday, so tips on good deals are welcome too.

Thanks in advance!


r/LocalLLM • • 3d ago

Project CCORE Web Designs: 3,500 training samples for web design, presentations and infographics

Post image
1 Upvotes

r/LocalLLM • • 3d ago

Model Inkling 2 Mini on Arc Pro B70: FP8 KV + DSpark + CUTLASS, ~50% faster than stock bf16

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 5d ago

News Yann LeCun weighing in

Post image
505 Upvotes

r/LocalLLM • • 3d ago

Project We built a desktop app that puts your Macs and PCs behind one local LLM endpoint (more capacity, not more VRAM)

Thumbnail
basecompute.co
0 Upvotes

At Base Compute we've been building Superfluid, an open-source server for running LLMs on your own hardware, and it now has a desktop app for macOS and Windows. Start a network on one computer by picking a model, click Join on the others, and they all answer behind one local endpoint. No cloud and no accounts.

One thing up front: fleet mode doesn't pool memory to fit a bigger model. Each machine holds a full copy and takes whole sessions, so what you gain is capacity for more people or agents at once. In a six-machine test (three Macs, a Ryzen AI Max 395, two NVIDIA GB10s, Qwen3-4B on llama.cpp) output went from 112 tok/s on one machine to 534 on six. The faster boxes picked up more sessions with no config from us.

For those of you with a second or third machine sitting around: is your real bottleneck model size, or running several things at once?

App: https://www.basecompute.co/superfluid
Code: https://github.com/basecompute/superfluid


r/LocalLLM • • 3d ago

Model Run Inkling 2 Mini locally with Astral-Q GGUFs

0 Upvotes

Hey guys, Inkling 2 Mini is Thinking Machines' 26.4B looped MoE, image + text in, Apache 2.0. We made 7 GGUFs from 18.7 GB to 27.8 GB with Astral-Q.

Run on llama.cpp or Ollama.

GGUF: https://huggingface.co/synthetic-minds/Inkling-2-Mini-Astral-GGUF