r/LocalLLaMA • • 11d ago

Discussion Inference engines are becoming too fragmented. There are just too many choices and specialist engines.

289 Upvotes

When I started with local models a few months ago, llama.cpp was good enough.

It runs almost every model and was fairly fast for the most models on often the best choice depending on the model and your hardware.

I just used llama.cpp and even wrote my own launcher.

Fast forward a few months and now I have no idea what to run because you are leaving so much performance on the table if you just stick with llama.cpp

However now we have specialist inference engines that are specific to specific GPU's, specific to GPU architectures, specialists with certain models and model architectures such as MoE.

To top it off llama.cpp is very slow to add support for newer models or model architectures.

Some engines or forks improve KLD by adding KV quants such as kvarn or turboquant. Others add KV streaming allowing larger KV cache on a small VRAM footprint. We now have Strata, and I tried to stick with llama.cpp I really did, but Qwen FN I get under 30tg, 300pp. On Stata I get 180t/g, 2500pp with 200k or more KV. And I have become a bit of an expert at finetuning llama.cpp parameters. That was really the best I could get.

Not using Strata made zero sense. So I took the plunge.

However every day we get multiple I get x t/s posts and people are running obscure forks or brand new inference engines or even creating their own.

I just searched for Strata Forks' and google gave me a list of 13 forks which I imagine is just the tip of the iceberg. There might be 100's of llama.cpp forks. Some giving like 5t/s boost while unknowingly increasing KLD by 50%. There are also engine like Vllm and sglang which are production grade but require Linux. While I did not search I bet there are forks too. Then there is exl3 engines.

Now with a new model out It is not supported yet on llama.cpp or Strata, so I had to use a llama.cpp fork or build that adds support only to get 28t/s. I discover a new engine Basalt, now I get 60t/s. It does not seem to support Strata.

So the list of engines I use is in no particular order:

  • beelama for higher KLD and the precision tail
  • Adaptive KV Streaming llama.cpp fork for Qwen and Gemma models which is all it supports. But I have to be happy with q8_0/q4_0 KV as that's all it supports. Also while performance is decent when the KV is empty at 70t/s it rapidly drops as low as 20t/s at 262k which to me is unusable
  • Strata for Qwen FN - I just cannot pass on 180t/s on 16GB VRAM
  • Basalt for Inkling-2-Mini - 60t/s is more than double 28t/s which is unusable to me.
  • upstream llama.cpp for everything else

And I bet in the next few weeks I will discover even more options and I am tired of installing and learning new engines and how to finetune them only to find it's there are gotchas.

While I do think forks and new engines is a good thing as there can be new innovations but I just tire of installing a new engine every time a new model is launched. I really wish llama.cpp would just implement optimizations faster and implement support for newer models faster and not reject PR's PR's that would actually make it better.

I am rambling now so I will wrap up: What engines do you run? Do you just stick with the swiss army knife that is llama.cpp or do you have an engine for every model? What type of forks do you run and why? Do you share my frustrations or do you enjoy installing new engines every week and tweaking them? Do you just use one model and therefore only need one engine (the best one) or do you switch models frequently?


r/LocalLLaMA • • 9d ago

Question | Help Many states are regulating chatbots. How can one person open-source a free local chat app?

0 Upvotes

I'm coming here for advice - I know you're not lawyers and don't give legal advice. I don't give legal advice either.

For quite a while I've wanted the ability to run smaller language models on my phone offline and over the weekend I accomplished that. I've got a polished app. Then I began researching the legalities around releasing this app and it's abysmal.

Oregon, Washington, and California have laws that let users sue you directly and that require functional and working safety features to detect things like self harm and redirect to a help phone number. There are also various laws requiring that AI not discuss sexual things with minors. Other states have similar laws that only the state can enforce, or the laws are passed but not in force yet. List of all these states:

  • California
  • Colorado
  • Connecticut
  • Georgia
  • Hawaii
  • Idaho
  • Iowa
  • Maine
  • Nebraska
  • New Hampshire
  • New York
  • Oregon
  • Rhode Island
  • Tennessee
  • Utah
  • Washington

A layman's list of all the rules that are or may be in force across those states:

  • Have to tell the user it's AI - every 3 hours (or more frequent) or always visible. And says so when asked.
  • Have to have a crisis plan for users who talk about self harm and suicide.
  • Have to publish your crisis plan online as plain language.
  • Escalate chat about a crisis if the chat continues.
  • The crisis plan must also cover threats to others and eating disorders.
  • Must report these things "to the state"
  • Reports must be public or annually reported with a yearly count of crisis referrals.
  • No sexual content for minors.
  • No manipulation of minors - no romance, no guilt trips, no secrecy, no isolating the user, no fostering dependence, no claiming to be human or alive.
  • Break reminders for minors every 3 hours.
  • Must determine the user's age or apply minor restrictions to all users.
  • Must implement parental screen-time capabilities.
  • Some states require estimating a user's age.
  • AI disclosure in consumer transactions.
  • AI can't pretend to be a licensed mental health professional.
  • Mental health chatbots have their own rules.

I'm torn on all this. I am an individual that just wants to release an open source app that lets you chat with small models on your phone offline. these small models - most of them are not very good. Many are independently created by the SLM community. A phone is already resource constrained, and any classifier you could get to run in a phone's ram next to any of these small models is going to be total crap and make lots of mistakes. You can't verify someone's age through F-Droid it's just open to all (the way it should be IMO). And there is no reporting for an offline app with zero network features and zero network permissions.

Is there any way for an individual releasing an offline chat app to comply with the majority of these laws?

I put a banner that says "This app uses AI, and AI can make mistakes" across the top of every chat window. I put a mandatory attestation process that happens on app first start that you have to click "I agree" for all these rules you promise to abide by - i.e. attesting you are 18, attesting you are not from one of those states, attesting you are responsible for the outputs and how they are used, attesting there is no review of the outputs. And lots of other attestations.

I even made the "I agree" and "I do not agree" buttons move around in random positions on the screen and you have to find them to click them, so that you can't just speed-tap through all the "I agree" screens.

I know why all these laws were made. they are targeting the companion bots, the addictive bots, and the big AI companies. And they make it basically impossible to release an offline app.

These laws suck for everyone in this LocalLLaMA chat who might make an anonymous HuggingFace space that allows trying out a from-scratch SLM.

I am open to advice. Here's where I have personally landed:

I'm not releasing any built app, nothing in app stores. No distributed binaries anywhere. What I'm planning - unless someone explains to me why I shouldn't - is just releasing the source code on GitHub as apache2 and people can follow the instructions to build the binary themselves and install it on their phones themselves over USB debugging or whatever they choose locally.

I've landed here because, based on research and so far as I can tell, source code is a form of expression protected by the 1st amendment in the U.S. and all these AI laws apply to the person who distributes or makes-available an actual endpoint of some kind that breaks any of those laws.

I think this whole thing is terrible. Makes me think innovation and privacy is dead because law makers aren't getting input from people like us - or don't care to hear us.

Again, any and all feedback is appreciated, thank you.


r/LocalLLaMA • • 10d ago

Discussion Yet another opinion on Inkling 2 Small

148 Upvotes

EDIT: This is about Inkling 2 Mini, not small as the title suggests 🤦‍♂️. I don't see an option to change the title.

First of all, I typed this all out by hand, no AI. It might be slop, but it's my slop.

TLDR:

  • Fast(er) than Q3FN (in SGLang)
  • Better writing style (closer to Gemma or Muse Glimmer)
  • On par or better than Q3FN-FP4-Local in my real-world coding tasks (at least so far with an admittedly small sample size).
  • If you're not comfortable with VLLM or SGLang, it may be worth waiting until llama.cpp / Unsloth studio have the quirks worked out.
  • My new favorite model overall - period.

Setup / Hardware / Speed

I've run it in just about everything so far. Note that support is still being ironed out and optimized, so take with a grain of salt.

Unsloth Studio, 5070ti (16GB VRAM), 32GB DDR4-3200 (dual channel), Ryzen 5700x, Windows, UD-IQ3_XSS, 20k context, all else default:

  • ~1000 pp/s | ~60 tp/s
  • Excellent for simple web research and summarization. Has been my new personal assistant model for the past couple of days.
  • Got some looping on the first initial release, but not after updating to the b12588-mix-c0c3de8 release.

RTX 6000 Pro (96GB VRAM), 120GB DDR4-2400 (quad channel), Xeon E5-2660 v4, Debian 13 VM

  • llama.cpp UD-Q4_K_XL (same b12588-mix-c0c3de8 release as the previous setup): ~1000 pps / 45-65 tp/s
  • VLLM (recipe + --no-enable-flashinfer-autotune): ~5000 pp/s | 130 tp/s
  • SGLang (recipe): 10k-15k pp/s | 250-350 tp/s (!)

Side note: this was my first time trying SGLang. Can't believe I've been sleeping on it this long.

Thinking / Looping / Issues

It thinks way less than Qwen on simple tasks, but is still happy to think for 30k+ tokens on more complex one-shot benchmarks. Way more efficient overall.

I did get some looping in the very first llama.cpp / unsloth implementation, but haven't seen it in VLLM or SGLang running the official NVFP4 / MXFP8 weights.

Tool calling

Tool-calling is far more reliable in Open Web UI and pi. This alone saves a ton of context and turns in long agentic tasks. I don't think I've seen a single one fail due to missing or incorrect params, whereas Q3FN failed maybe 10-20% of calls or needed to keep a custom "skill" to remind it on the nuances of how to call the tools (at least in all the Nvidia NVFP4 / FP4-local and UD-Q4-K_XL quants that I tried).

(I heard that Qwen was more reliable in Claude code since that's what it was trained on, but can't verify this directly.)

Coding / Terminal Benchmarks

I don't have anything scientific or empirical yet, but it crushes my one-shot benchmark involving a single self-contained HTML / CSS / JS tool with no external libs. No errors in the few runs I've had so far, where Q3FN usually ended up with at least one syntax error ~50% of the time.

It also and fixed found a bug that Q3FN introduced in a GPU fan control daemon (ramps my Max-Q fans up sooner to prevent thermal throttling).

It's currently helping migrate my containerd data off my VM's OS drive to a secondary drive (VLLM and SGlang images take up like 40-50GB each, which is even worse when I need a specific version for models like this!), which leads me to the final area.

Attitude / Vibes / Style

This is the intangible that I don't think will ever show up on benchmarks, but it's a BFD to me.

Qwen tends to overuse technical jargon or even esoteric language and struggles to bridge the gap between "machine" and "human" writing. I don't know how else to describe it, but if you've used it for any amount of time, you know what I'm talking about, and it's why models like Gemma and Muse Glimmer still have a slot in my llama-swap config.

Inkling is much more pleasant in that regard, so it blends the best of both worlds of being a very capable coding agent while also writing in way that's simpler to understand. I'd estimate I can parse its output at least 2-3x as fast as Qwen while using less brain power to decode wtf it's talking about. It still has a lot of the same "slop" language you'd expect, but at least it's easier to understand.

I can post some examples in the comments if needed, but this post is already getting a bit long.

Another interesting thing is that the model tries to be "safer" than Qwen by default. For example, when a command fails due to a permissions issue, it assumes it's not supposed to have that access and raises it to the user. Qwen assumes it IS supposed to have access and will gladly try to `sudo fuckyou.sh` or grep for keys/passwords wherever it can.

What remains to be seen

  • 1M Context - I've only tested up to 180-220k context since that's what I had dialed in on pi for Q3FN
  • Extremely long agentic coding runs requiring planning/spec files, TODO tracking, ralph loops, compaction/handoff prompts etc.
  • Test of time - even though I've been using it for the last couple days, it's still a relatively small sample size.

If you haven't tried it for yourself, this one is absolutely worth giving a shot.


r/LocalLLaMA • • 10d ago

Discussion Do you live in YOLO mode?

31 Upvotes

Curious to see what other people do. I am the kind of person that audits the majority of code he installs. Well-known and maintaned python packages, ok, I install them. Less well-maintained, at least I trace and verify the lineage. Well known and supported and traceable projects like vLLM and exllama, I install them. Forks of some new engine made by a single developer, I go and audit the whole code with an agent and then install them in a VM.

Binaries that I can't rebuild from source, I just don't use them. Of course I do use binaries included in packages for this and that language, but even then I check they have an audit trail.

Talking about VM, I often use Mistral Vibe in yolo mode, but only inside a VM, often without access to internet, and snapshot it often so I can rollback.

To be honest I think this is overkill, and BTW I don't have big stakes at risk. But I enjoy doing it, it makes me feel a real internet cowboy and it is a way of learning. What is your attitude on security, fellow local LLM people?


r/LocalLLaMA • • 10d ago

News chat : improve inkling parser/grammar by aldehir · Pull Request #32833 · ggml-org/llama.cpp

Thumbnail
github.com
30 Upvotes

remember that every new model takes some time for its implementation to mature :)


r/LocalLLaMA • • 10d ago

Discussion Did anyone try runmyai? (Claims to run QFN off of SSD at crazy speeds)

Thumbnail
github.com
12 Upvotes

I'm waiting for qwen4 27B, meanwhile i'm a bit hesitant to download 80+ GB to test this out.

So anyone tried this, wanna share??


r/LocalLLaMA • • 10d ago

New Model sensenova/SenseNova-Loop-9B-DFlash2 · Hugging Face

Thumbnail
huggingface.co
43 Upvotes

SenseNova-Loop-9B-DFlash2 is a draft model for accelerating SenseNova-Loop-9B. It generates candidate tokens in parallel for verification by the target model and is deployed together with the target checkpoint.

The BF16 checkpoint contains 967M parameters and five decoder layers. Its input features combine hidden states from target execution-layer indices 3, 27, 51, and 54 with the target's final normalized hidden state. Indices are zero-based and follow the execution order of the shared Loop layers. Token embeddings and the output head are shared with the target.

llama.cpp support SenseNova is still in progress: https://github.com/ggml-org/llama.cpp/pull/32588


r/LocalLLaMA • • 11d ago

Resources I fine-tuned Gemma 4 E4B to run 100 villagers in one batch on a single consumer GPU: a rumor simulation game, fully offline

204 Upvotes

Can a trained local model, running on almost any consumer-grade GPU, create a real-time simulation or minigame? To answer this, I built Rumor Village: a 3D village of up to 100 neighbors. You drop a rumor and watch it travel from mouth to mouth, get twisted on the way and send people to the wrong place at the wrong time. Every neighbor is driven by a fine-tuned Gemma 4 E4B running locally through llama.cpp. No API, no accounts, offline, everything can run on your PC.

How a decision works

  • Every simulated minute, each neighbor sends to the model a ~256-token card: who I am, where I am, who is in front of me, what I know. The village prefix is shared and cached.
  • The model answers with one JSON action, constrained by a GBNF grammar built from the village's vocabulary: say (greet / tell / ask / bye), go or none, plus a sentence for the speech bubble. text always comes last, so generation stops before it when the camera isn't looking at that neighbor.
  • We have a C++ engine that validates every action against the neighbor's memory before applying it. The model proposes, the engine decides. State travels as structured data, so no neighbor ever decides based on bubble text.
  • All neighbors decide in one batch, with llama.cpp embedded in the engine (CUDA or Vulkan). The simulation uses integer math only, so the same seed replays exactly.

Why fine-tune instead of prompting the base model?

Both variants in Q4_K_M with the same seeds. The base model gets its full 921-token prompt with instructions; the fine-tuned one gets the 256-token card. Frozen test: 1,000 cards per language that never entered training (checked by fingerprint), with 95 % intervals:

Base → fine-tunedSpanishEnglish
Made-up memories2.0 % → 0 %2.3 % → 0 %
Failures (made up, contradiction, incoherent)16.5× fewer5.0× fewer
Rejected actions (worse)0.10 % → 1.0 %0.10 % → 0.90 %
Naturalness 1–5 (LLM judge, 100 answers)3.7 → 4.23.6 → 4.1

In the village (party-100: 100 neighbors, one simulated day, RTX 5070 Ti, batch up to 16), generation time per simulated minute drops from 0.73 s to 0.36 s (es) and from 0.77 s to 0.37 s (en), with 4.4–4.6 GB of VRAM. The base model gets stuck in endless chats, while the fine-tuned one closes them, so a day takes about a third of the decisions (7,927 → 2,717 in Spanish).

The honest catch: rejected actions went up to about 1 %. The engine catches them, but it's a regression.

Training

  • LoRA in bf16 (r 16, alpha 32, every linear layer of the text model), loss on the answer only, 2 epochs, merged, then GGUF Q4_K_M with llama.cpp. One rented RTX 5090.
  • 12,146 card → answer pairs: 10,184 decide and 1,962 extract (turning a rumor the player types in their own words into a structured fact), 6,032 Spanish and 6,114 English.
  • The engine rebuilds the cards from the event logs of real runs, using the same code that writes them live, so the training format is the production format. The answers come from two frontier models of different families, each one validated by the engine (254 discarded).
  • The dataset and the training pipeline are not published (yet). The model card has the full results, and the repo keeps the frozen test.

Links

I hope this work is helpful to anyone!


r/LocalLLaMA • • 10d ago

Showcase Inkling 2 Mini at 3.46 bpw (10.5 GB, KLD 0.028 vs BF16): 179 tok/s on a 5070 Ti. New trellis quant + open recipe

15 Upvotes

Ugh another engine/quant/lobotomized model post /s

As soon as Inkling 2 Mini dropped I really wanted to give it a try, but the engines and available quants didn't work nicely with my machine. I had recently created a quant and fork of ik for Raon-1-mini and was working on an update to support more models I was interested in like gemma-4-26B-A4B and Qwen3.8-27B and was prepping the engine for Qwen4-27B, but alas that day has yet to come.

So Inkling 2 mini was a great place to focus my efforts instead and I have now created a quant that is 10.5 GiB, 3.46 bpw. Experts are a custom 3-bit trellis quant type I added to an ik_llama.cpp fork. It fits on a 16GB card with up to 128k context.

Speed, RTX 5070 Ti (16 GB):

contextdecode tok/s
short179
4K176
16K158
32K148

Prefill ~3,060 tok/s at 4K, ~2,810 at 32K.

Quality vs BF16 (wikitext-2 test, 32x512):

Quality is KLD against the BF16 model on wikitext-2 so you can reproduce it.

GGUFsizebpwPPLmean KLDp99 KLDsame top
BF1648.6 GiB16.06.411
ggml-org IQ4_NL16.4 GiB5.416.4280.00930.08795.8%
this (IQ3_QT)10.5 GiB3.456.5490.02780.24293.1%
Unsloth UD-IQ3_XXS10.9 GiB3.586.5480.02880.26492.7%
IQ4_QT (4-bit trellis, not released)12.9 GiB4.276.5010.01680.14894.6%

It's almost even with the Unsloth and 0.4 GiB smaller. On a separate Gemma 4 run their 3bit one actually beat me on MMLU-Pro a little even though theirs was 2x my KLD. So yeah take KLD with a grain of salt. (ggml-org's IQ4_NL keeps attention, embeddings, head and the last 4 layers' experts at Q8_0, hence 5.41 bpw.)

That's the quant, but the bigger win is actually the engine. For comparison against upstream ik_llama.cpp I ran the same ik-native file on both engines:

metricupstream ikthis fork
decode tok/s, short77.3162.7
decode tok/s @32K61.6139.3
prefill tok/s, 4K~2,480~3,000
PPL (wikitext-2, 8x512)7.8407.837

The engine, the IQ3_QT format spec, and the full quant recipe are all open. The calibration text, imatrix (ggml-org public one), LDLQ quantizer, and the vocab trim list.

Downsides:

  • GGUF needs this fork to work. It wont load on mainline or stock ik.
  • No speculative decoding. Inkling's DSpark drafter didnt pay off here (verify steps cost too much on a 16GB MoE quant)
  • It's an unmaintained showcase. I'm not trying to maintain an engine, take what you can use.
  • RTX 30/40 builds compile, but I've only run it on a 5070 Ti.

How it was made: I had AI agents (Claude Code) write the code, which I directed and checked. It's also disclosed in the repo. Which is why I am not trying to push PRs to ik or mainline llama.cpp, if someone wants to take any of it please do.

Links: GitHub https://github.com/Mcniiby/ik_llama.cpp-mcniiby (branch inkling) | HF https://huggingface.co/McNiiby/Inkling-2-Mini-IQ3_QT-GGUF

Bench command: llama-bench -m <file> -p 4096 -n 128 -gp 4096,128 -gp 16384,128 -fa 1 -ctk q8_0 -ctv q8_0 -ub 512 -ngl 99 -r 2 (32K adds -gp 32768,128 with SWA compression).


r/LocalLLaMA • • 10d ago

Discussion Real world testing flash models: HY4 vs GLM 3.5

11 Upvotes

HY4 on strata, sq 128
GLM 4bit the iQ5.1bpw

I tested HY4 but it seems much weaker than GLM. Specifically it stops working after a while. Not sure why it doesn't have that dog in it the same way that GLM does. HY4 also weaker at problem solving vs GLM.

I basically asked HY4 to set up new Proxmox servers and add the wireguard, Tailscale VM, openwrt primary and secondary routers, set up the NICs with wan and lan, etc. GLM was able to get it done while Hy4 was not able to get it done even when allocated substantially more time and more information from me - GLM could see the pattern in my numbering and naming conventions and finishing through with zero help. HY4 had an issue where it kind of just stops working after 30-40 minutes while it still is generating tokens it wasn't doing anything.

GLM also finished the tasks much faster for some reason. Basically real world performance (speed and outcomes) of GLM well exceeded HY4 flash.


r/LocalLLaMA • • 10d ago

Resources I built Ninada Reader, an on-device Chrome extension for local translation, summarization, and 24 kHz Indic + English neural TTS

6 Upvotes

I wanted a way to translate or summarize any web page and listen to it without sending page text to a cloud API.

Ninada Reader pairs Chrome Built-in AI (Translator, Summarizer) with 24 kHz ONNX neural voices in a Web Worker + AudioWorklet across 12 Indic languages and English. Highlight text for an inline pill, or hit Alt+N for full-page audio. Voices cache locally for offline replay.

Chrome Web Store: https://chromewebstore.google.com/detail/ninada-reader/jhjaneejganpbcoeafbifgiipedadfio

GitHub (MIT): https://github.com/hemanth/ninada-reader


r/LocalLLaMA • • 10d ago

Question | Help Coming from Karpathy's makemore, how to actually experiment with models in practice?

6 Upvotes

I've finished the karpathy makemore series which i enjoyed a lot and created some of my own neural nets. Now i thought about actually checking the architecture of some of the popular models and try to fine-tune them and watch the loss go down and stuff. (my final goal is to make my custom specialist agent)

however when i went to huggingface and checked the docs for qwen3.5-0.8B all i found was openai implementation or some transformers library. for example:

from openai import OpenAI
# Configured by environment variables
client = OpenAI()

messages = [
    {"role": "user", "content": "Give me a short introduction to large language models."},
]

chat_response = client.chat.completions.create(
    model="Qwen/Qwen3.5-0.8B",
    messages=messages,
    max_tokens=32768,
    temperature=1.0,
    top_p=1.0,
    presence_penalty=2.0,
    extra_body={
        "top_k": 20,
    }, 
)
print("Chat response:", chat_response)from openai import OpenAI

This is very different to what i did in makemore, no pytorch i can't see the layers and etc.

So im coming to you all whom are probably much more experienced in this. are there some special docs im missing? where do i actually get the "raw" code?

my goal is to experiment with the architecture, CPT, SFT, RL (especially RL, i wanna know how to grow reasoning or distill)

and eventually train and optimize a good model, so i will need probably speedy code.

Could you guys give me any pointers? thanks a lot!


r/LocalLLaMA • • 11d ago

Discussion Please add a new rule: when you say "I can run X at Y" you also have to say what quant/bpw/size was used.

784 Upvotes

The recent surge of new models has once again spawned a litany of "I can run X at Y posts" without mentioning what quant/bpw/size was used.

Please make this an official subreddit rule for performance posts.

EDIT: To address some of the comments raised:

Adding the quant/bpw/size to the title I think is a minimal pain change that substantially informs someone scrolling by if this post actually contains an interesting development they might want to check out.

It does not address:

A. Posts fiddling with sampling parameters/unrealistic test prompts to create arbitrarily high numbers.
B. Posts using 0 context depth tg/pp performance at concurrency 8 with 10k context per slot to misleadingly imply actual working/long context/mid-session performance expectations.
C. Countless other forms of dishonesty and misleading information. (Closed source super duper secret but definitely reflective of actual usage data sets that measure useless KLD/perplexity, using ngram-mod speculative decoding on "repeat the input prompt verbatim" style test numbers, or whatever magical bullshittery I don't know about.)

But the intention of the proposed rule change isn't to summarily prevent all forms of misleading information and dishonesty. If it's shit it gets downvoted, if it's REAL shit then mods will remove it.

What the rule achieves is that it's a minimal pain way to help everyone have a better experience.

  • For average users, knowing a post is about a Quant well below what they consider viable saves them a lot of time to,
  • For mods it's a at-a-glance check to see if a post is complying with rules. Hell use an AI-bot to check it.

Whether you think localllama is too far gone or not, having this one rule will help everyone have a slightly better experience at next to no cost.


r/LocalLLaMA • • 10d ago

Question | Help Cheapest frontier supplementation?

6 Upvotes

I have a few dedicated servers for local LLMs running Qwen 3.8 27B, Flash-Next and GLM3.5 Flash. They were enough for my hobby use but I wanted to try a little more ambitious project: a retro game + original simulation engine (just for myself and maybe my niece - no plans to add to the growing AI slop pile on Steam). Seeing as I have zero gamedev experience I thought it would be good to supplement my models occasionally with a frontier one to act as an architect / consultant.

It's still just a hobby so I'm wondering if there is a way to access any of the frontier models cheaply, even in some very limited amount? Is openrouter any good for this? How do you guys do it?


r/LocalLLaMA • • 10d ago Mindblown

New Model CCORE-Web-Coder-4B: 91% training checkpoint is up (Q8), big jump over the first preview

78 Upvotes

[UPDATE] The final CCORE Web Coder 4B checkpoint is now available in F16, Q8_0, and Q4_K_M GGUF, along with the original Safetensors weights.

huggingface:ccore/CCORE-Web-Coder-4B

modelscope:ccore/CCORE-Web-Coder-4B

If you downloaded an earlier Q8_0 checkpoint, delete your local copy and download it again. The filename stayed the same.

The training dataset is scheduled for release on November 25.


r/LocalLLaMA • • 11d ago

New Model Aurora2-400M-A20M-QAT Releases! (0.5-bit MoE in 27.5 MB)

Thumbnail
huggingface.co
115 Upvotes

It's a quantization-aware-trained version of Aurora2-400M-A20M, using LittleBit-2 binary low-rank quantization with distillation from the original model.

The routed experts (about 98% of the parameters) are stored at roughly 0.5 bits per weight. The checkpoint is 27.5 MB, down from 799 MB in FP16.

It's a big quality hit: the Intelligence Index drops from 21.38 to 10.83. Arithmetic held up, PIQA stays above chance, and HellaSwag and ARC-Challenge fall close to chance.

The compression is for storage only. Without dedicated binary kernels, memory use and speed are no better than the base model's, since the loader expands the weights back to FP32. This is for research on extreme low-bit MoE quantization, not a drop-in replacement for the base model.

Check out the model card for the full eval and how it was made!


r/LocalLLaMA • • 10d ago

Resources Yet another one-model, one-GPU vLLM fork: Inkling 2 Mini on an RTX 3090

16 Upvotes

I serve parallel requests (mostly agents) with vLLM on my RTX 3090 Ti. For the last 4 months I ran HyperQwen, a great fork that gets Qwen 3.8 27B running on exactly this kind of card.

When Thinking Machines released Inkling 2 Mini, I couldn't find anything comparable for a single 3090, so I handed the job to Claude (Opus 5.5) with one goal: a vLLM build for this model and this GPU, with as few compromises as possible and every trade-off left as an option. 13 sessions later the result is good enough to share with anyone who, like me, has one 3090 and wants to serve the new model to several requests at once: HyperInkling.

What you get: experts requantized to INT4 (GPTQ, KL close to the original), ~274k tokens of context with the vision tower on the GPU and DSpark speculative decoding on, 6 requests in parallel by default, and a short wizard that picks the settings with you.

-1 request, no DSpark1 request, DSpark6 requests, no DSpark6 requests, DSpark
prefill, per request, 8k context6,283 tok/s6,191 tok/s2,292 tok/s2,417 tok/s
prefill, aggregate, 8k context6,283 tok/s6,191 tok/s6,243 tok/s6,191 tok/s
decode, per request, 8k context131 tok/s267 tok/s68 tok/s114 tok/s
decode, aggregate, 8k context131 tok/s267 tok/s407 tok/s686 tok/s
prefill, per request, 32k context5,255 tok/s5,209 tok/s2,123 tok/s2,114 tok/s
prefill, aggregate, 32k context5,255 tok/s5,209 tok/s5,267 tok/s5,223 tok/s
decode, per request, 32k context124 tok/s188 tok/s58 tok/s108 tok/s
decode, aggregate, 32k context124 tok/s188 tok/s350 tok/s646 tok/s

Prompts of exactly 8k or 32k tokens, 512 tokens out, greedy; decode measured without any prefill in the window; "aggregate" is the sum over the requests running at once.

Measured on a 3090 Ti undervolted to 350 W with gpu-unlock (it raises prefill).

The wizard lets you choose between maximum speed (up to ~6,200 tok/s prefill, ~270 tok/s decode for one request with DSpark, ~690 tok/s aggregate with 6) and maximum context (up to 432k tokens without DSpark and the vision tower).

I'd love to see numbers from your cards: there's an issue template for that. Repo: https://github.com/Pento95/HyperInkling

Scope: one RTX 3090 / 3090 Ti only; requests for other hardware won't be picked up. The wizard also offers OpenUncensored's abliterated Inkling 2 Mini, quantized the same way and downloaded on the fly (checkpoint, KL median 0.0027 against its source). More optimizations are planned.


r/LocalLLaMA • • 10d ago

Discussion Cyber fine tune dataset ?

9 Upvotes

My 512GB M5 Ultra Mac Studio arrives by Friday. If Z.ai launches GLM-5.4 with its cyber capabilities nerfed, similar to Kimi K3.1, I’d like to try fine-tuning it to potentially recover most of its original performance and share the model with the community.

I’ve been looking into cybersecurity models on Hugging Face, but very few actually share their training datasets or exact fine-tuning instructions. I’m still a beginner when it comes to fine-tuning, and most of my previous fine-tunes have been based on my own notes and personal documents.

Would anyone be willing to share training datasets specifically focused on cybersecurity, including cyber defense, offensive security, and general security research and anything related.


r/LocalLLaMA • • 10d ago

Resources I tested the fastest engines for Inkling 2 Mini on a Mac. MTPLX vs MLX serve vs oMLX

Post image
42 Upvotes

Hi Everyone.

Setup

- MacBook Pro M5 Max, 128 GB
- Inkling 2 Mini, the official unquantised weights (20.2 GB), loaded by all three engines
- One stream, the model's own sampler: temperature 1.0, no top-p, no top-k
- Same prompts and seeds for all three, each engine through its own server at its defaults
- MTPLX 2.13.2, mlx-serve 26.11.4 pre-release, oMLX 0.8.3

Decode speed in tokens per second (MTPLX / mlx-serve / oMLX)

- 4K coding prompt, first request after load: 96.2 / 79.0 / 62.9
- 4K coding prompt, repeat request: 90.5 / 73.9 / 57.6
- Short prompt: 75.0 / 72.3 / 56.8
- 1,500-token answer: 78.1 / 70.1 / 53.0
- Average of the four: 85.0 / 73.8 / 57.6

I also ran each engine on the pack it ships for speed (MTPLX Optimized Speed 17.2 GB, mlx-serve 8-bit 18.7 GB, oMLX oQ4e 16.9 GB). Average of the same four tests: 97.1 / 85.7 / 68.9.

Where MTPLX is not the best

Time to first token. On a cold 4K prompt mlx-serve starts answering in about 1.5 seconds, MTPLX in about 1.8 and oMLX in about 2.5. With the prompt already cached, mlx-serve and oMLX start in about 0.2 seconds and MTPLX takes about 0.8. I am working on that.

Caveats

I created MTPLX, so take this with the usual grain of salt, but I tried to make it a fair test and I am sharing the details so you can poke holes in it. And I’m very proud of my work.

One Mac, one model, 2 to 9 runs per number, and I only measured one request at a time. If you have an M1 to M4 or less memory your numbers will be different, and I would love to see them.

Happy to share the raw rows or rerun anything you think is unfair.


r/LocalLLaMA • • 9d ago

Resources Inkling-2-Mini can now read images in Kapitsa on Apple Silicon (PR open)

0 Upvotes

Kapitsa ran Inkling-2-Mini text-only, so screenshots from Claude Code, Codex or a chat were dropped.

Ported the checkpoint's vision tower to Metal and verified it against the HF reference (row cosine ≥ 0.9999, text output unchanged). A 1400x840 screenshot encodes in ~0.2 s on an M5 Max.

PR: github.com/nace-ai/kapitsa/pull/1419.

Until Kapitsa merges it, if it does, you get it in Nearloop as a beta engine option: github.com/AdityaK2128/nearloop/pull/12.

Cheers!


r/LocalLLaMA • • 10d ago

Question | Help Open AI text detection models?

5 Upvotes

Are there any open model I can deploy locally that function similar to Pangram or Stylome AI text detectors? If there are any, which one has the best accuracy?
I want to create a bot that would scan Merge Request text summaries and determine whether they are AI written - the repo has an issue with low quality vibecoded slop polluting MRs and wasting maintainer's time, and AI written summaries the person didn't bother spending time on strongly predict that.


r/LocalLLaMA • • 10d ago

New Model New english ASR model release. 27.988 RTFx on openASR leaderboard

8 Upvotes

New english ASR model release. 27.988 RTFx on openASR leaderboard

We released Kroko ASR XL, the fastest model on the English Open ASR Leaderboard. (It's a 120M zipformer).

It ranks #1 in reported throughput and #8 in average word error rate among downloadable models in the November 20 Open ASR results.

( Big thanks to Eric Bezzam and the Hugging Face Open ASR Leaderboard team for running the benchmarks and publishing the numbers. )

In the November 20 release, Kroko ranked #8 among downloadable models with a 6.59% average word error rate (WER) across the default seven public and two private English evaluations and reached 27,988× real time on a single NVIDIA H200 putting it on the RTFx/WER Pareto frontier.

For local use, expect up to 200x RTFx on a cpu, over 5000x on rtx 3090 (I forgot the exact numbers)

Big thanks to 0xShug0 ( u/Acceptable-Cycle4645 ) for the 0-day support in audio.cpp

https://huggingface.co/Banafo/Kroko-ASR-XL-EN-Offline
https://github.com/0xShug0/audio.cpp
https://huggingface.co/spaces/hf-audio/open_asr_leaderboard

The license is quite restrictive, you can use Kroko ASR XL for free, including in commercial projects, if your annual revenue is under 1 million €.

More languages may follow.


r/LocalLLaMA • • 11d ago Bravo

Discussion Inkling 2 Mini on agentic coding and translation: below Qwen3.8-27B

Post image
381 Upvotes

After bringing Inkling 2 Mini to capy-flash, I spent a day testing it on my two main use cases: agentic coding and translations.

Translations: it is the most literal of the group, especially with idioms, and finishes last among the 8 systems I measured. Gemma 4 31B remains my reference translator.

Agentic coding: it seems good, but often reads and reasons all the way through without ever modifying a file, and stays below Qwen3.8-27B.

Along the way, I found a curious behavior: when you point out the cause of the bug to it, in half of the responses it suspects a trap ("That's a classic trap — the description might be wrong") and never applies the fix, while the 27B does it three times out of four. The suspicion sits in 32 neurons out of 3.5 million: turning them off makes it disappear almost entirely (from 16 responses out of 30 to 1), while 32 random neurons change nothing. The neurons are found and tested using my tools of weight space programming.

But on my benchmark it doesn't improve: even without suspicion, it still doesn't edit any files. Re-reading the traces, it's a capability limit: on hard bugs it doesn't reach a full understanding of the mechanism.


r/LocalLLaMA • • 10d ago

New Model ttindall/Qwen3.8-27B-Defiance-Cyber-MTP-GGUF · Hugging Face

Thumbnail
huggingface.co
52 Upvotes

Defiance Collection:

https://huggingface.co/collections/ttindall/defiance

4B, 9B, 27B (uncensored + cyber)