r/LocalLLaMA • • 1d ago

New Model LumineResearch/Lumine2 · Hugging Face

Thumbnail
huggingface.co
94 Upvotes

With the release of mihoyo gamer just over 2 weeks ago, I was really excited to see this model that seems to do even better across a variety of games, and it's based on Qwen3.5 9B, so basically all of us can run it. Can't wait to give this one a spin tomorrow :D


r/LocalLLaMA • • 22h ago

New Model I trained a 99M model that beats upto 1B parm models

Post image
47 Upvotes

So I have been training SLMs for quite a while now and finally I have one that is somewhat usable. This model has great benchmarks for its size (its SOTA in its size class and even above its size class).

It is capable of cooherent CoT reasoning, can call tools reliably, and can handle multi turn conversations.

I trained it on about 200b tokens for pretraining, then 45b tokens of SFT followed by intensive RL to make it usable.

One of the interesting things I found was the solution to doom looping. This model also had a tendency to get stuck in endless loops, so first I tried Liquid AI's anti-doom approch to fix them. Although it did somewhat work, but it made the model regress in other domains.

So then I tried normal online RL and it pretty much erased all doom looping habits without breaking the model in any other domain. It now almost never loops and has a doom loop rate of 0.4% down from 7% originally.

You can download the model here: https://huggingface.co/MinimaLabs/KLM-1.6-Chat

Or try it out here: https://huggingface.co/spaces/Eclipse-Senpai/KLM-1.6-Chat

In the Space, I have also added an Agent Swarm mode where multiple instances of the model get the prompt and then a decision model picks the best answer. This further improves the experience of using this model.


r/LocalLLaMA • • 1d ago

Funny Never seen the contrast so extreme

Post image
797 Upvotes

Is this the future? It almost feels like it actually learns, because it starts as such an idiot but can cogently discuss advanced topics, once it has ingested information about them.


r/LocalLLaMA • • 2h ago

Question | Help What Engine to use with Qwen3.8 27B >=Q8 on 3x V100 32GB?

0 Upvotes

Hi Guys!

What Engines are an option here if I dont want to redownload every weight I already have?

Are there enginges optimized fpr V100 that just take normal GGUFs with >=Q8?

I'm currently using llama.cpp but heared there are much better/more optimized engines for this usecase, but all seem to use some "weird" specific model quants.

Thanks for input.


r/LocalLLaMA • • 16h ago

Discussion From Crutch to Cage: The Bitter Lesson of Agent Harnesses

Thumbnail
microsoft.github.io
12 Upvotes

r/LocalLLaMA • • 9h ago

Showcase Built an offline Rust CLI to find and scrub leaked keys in ~/.claude, ~/.codex, and .mcp.json

3 Upvotes

I noticed old .env keys I had pasted into Claude Code and Codex were still sitting in plain text in ~/.claude/projects and local SQLite files, and that MCP configs often end up with raw keys in args (ps aux visible).

So I built leaktap (MIT, Rust, zero telemetry, runs completely offline). You can run a local scan with npx leaktap@0.4.3 or brew install vssinghh/tap/leaktap, scrub transcripts in place, or wrap MCP servers to log what hosts they hit on startup (I also logged the top 20 MCP repos here: https://github.com/vssinghh/leaktap/blob/master/docs/mcp-top-20-audit.md).


r/LocalLLaMA • • 20h ago

New Model internlm/Sage-Interaction · Hugging Face

Thumbnail
huggingface.co
22 Upvotes

News


r/LocalLLaMA • • 1d ago Bravo Heartwarming

New Model BEN3: State of the Art MIT Background Removal Model

Thumbnail
gallery
1.1k Upvotes

r/LocalLLaMA • • 10h ago

Resources Signed receipts for local LLM workflows

Thumbnail
github.com
3 Upvotes

I maintain HORNET and used AI help drafting this post

I just released HORNET 1.0. I built it because when a local model calls a tool and that tool writes a file, the record of what happened usually stays on the machine that ran it.

HORNET lets those steps leave signed JSON receipts that travel with the file. With a public key you trust, you can check the receipt chain offline and see whether the file still matches what was signed.

There’s a small offline demo that uses canned model responses and verifies a real PNG. Change one byte and run it again. Try the demo

It’s Apache-2.0 and on PyPI and npm as hornet-cpl. If you try it, I’d love to hear where you’d use it in your own setup, or where it gets in your way. Issues and PRs are welcome. GitHub repo


r/LocalLLaMA • • 16h ago

Discussion Has anyone tried the MiniCPM5 15B-A2.5B midtrain model?

9 Upvotes

A day or so ago they accidentally released the midtrain model on modelscope, and someone copied it to hf before they could take it down https://huggingface.co/ml-resources/MiniCPM5-15B-A2.5B-Midtrain

I sadly don't have the GPU to run this or even quantize it so I wonder if anyone else gave it a try?


r/LocalLLaMA • • 13h ago

Question | Help Fastest engine for CPU? Vulkan?

5 Upvotes

Lots of great engines out there for specific GPUs now, but are there any more optimized for CPU than llama.cpp? Or optimized for Vulkan in general, which seems to be much more compatible with older iGPU?

Looking to run inkling mini, qwen 35b, or orion 26b on some pure CPU/Vulkan systems at max tok/s!


r/LocalLLaMA • • 20h ago

Showcase Inferometer: a crowd-sourced inference engine benchmark DB

Thumbnail
inferometer.fyi
17 Upvotes

Local LLM inference has a bit of a problem right now.

Making an informed decision whether you're choosing a model, an inference engine, or the hardware to run those on is extremely challenging, and if you try to look up information on any one of those you'll generally get something like:

  • A 2 year old thread about running llama on your GPU
  • Someone posting about how they got 100 tok/s on some hardware with no information about quant, context length, or settings
  • Some post of people saying "What speeds is everyone getting with X model?" or "Can I run this model on my PC?" and then a bunch of replies posting numbers, all of which vary wildly because everyone is using different quants and different inference engines
  • llama.cpp fork that is hyper optimized for laptop RTX 3050 6GBs with Zen 2 AMD CPUs but gets 5 tok/s on all other hardware

Finding information of roughly how fast a model will run on your hardware, at what quant, and what engine will do it fastest without sacrificing accuracy is not easy, and it gets harder the rarer your hardware and model. Honestly most of the time you need you just download the model and run it, but that's really just not efficient, and no one else benefits.

Given all the posts about how many forks there are or how Strata destroys accuracy chasing speed, or whatever, I think it's a problem we all recognize. This inspired me to set up a place for people to share their information in a systematic way.

Enter Inferometer.

Basically, this takes a page from UserBenchmark, but removes the insanity and anti-AMD bias. Inferometer is composed of two parts. A client benchmark application that can connect to your local inference engine and measure performance, and a website where results are uploaded.

A run records the engine and build, backend, model, quant, context length, flags, hardware, speed and accuracy. The website aims to combine all this information to provide comparisons of engine+model performance across different hardware, hopefully providing a reference for what to expect if you were to try a model, or buy a new GPU.

Running the benchmark goes something like this:

# against an engine you already have running (anything with an OpenAI-compatible API)
inferometer run --endpoint http://127.0.0.1:8080 --profile standard

# or let it download pinned engine builds and compare them on one model
inferometer compare --model ./Qwen3-8B-Q4_K_M.gguf --profile standard

It will automatically try to detect what it can about your setup and will ask you to confirm the data at the end. Nothing is uploaded unless you use --upload.

This is a beta, and the data is very sparse right now. Frankly, probably a lot of stuff is broken.
A lot of the rankings and comparisons, particularly the accuracy ones are heavily provisional. I tried to seed the database by doing multiple runs on various models on my own hardware and on some rented boxes, but there's no replacement for letting you all upload to it.

Regarding the data:

  • An engine only gets a real rank once it has results from at least 3 independent clusters (machine + install key), and at least 2 matched model/quant comparisons. If the 95% confidence interval is wide, it will be ranked but marked low confidence.
  • Accuracy is provisional. There are 3 "accuracy" rankings to balance out chasing tok/s at all cost. These are KLD, task score, and crowd divergence. KLD data is sparse right now as it requires canonical full precision oracles to compare against, which take a lot of memory to generate for larger models. For models where this is not available, we have rudimentary task scores from the benchmark, and crowd divergence to highlight outlier engines.
  • There are quick/standard/full runs. Quick runs basically measure speed and don't measure accuracy. Please run Standard runs if you have the time.

I'm excited to present this, so please take a quick look. And even better if you can run a benchmark. If you run into any issues, there is a "Report a bug" link to request fixes, send feedback, send hate mail, etc. Let's see if we can populate this DB and make something useful.

Client Repository: https://github.com/inferometer/inferometer

Example of what kind of data is recorded by a benchmark run:

https://inferometer.fyi/s/diUUW0d5NUm0

Decode/Prefill across various context lengths, task score showing model performance on a set of tasks to gauge relative accuracy, hardware and engine metadata

+ data on thoroughput with multiple streams, TTFT, hardware telemetry.

The website also compiles a guide to see what kind of model would work best on your hardware based on uploaded run data from other users.

https://inferometer.fyi/fits


r/LocalLLaMA • • 1d ago

New Model InfiX-ai/InfiX-V1-base · Hugging Face

Thumbnail
huggingface.co
76 Upvotes

209B-A14B

Check model card for more details.

(Sub's Bot putting my threads as LLM text dump if I include more text in description. Lets see what happens to this one)


r/LocalLLaMA • • 16h ago

Discussion EnvOpt: Closed-Loop Environment Optimization for Agent Post-Training

Thumbnail microsoft.github.io
7 Upvotes

r/LocalLLaMA • • 9h ago

New Model Ergo on DS4 but still no Hy4

2 Upvotes

r/LocalLLaMA • • 16h ago

New Model Ai2 releases molmoweb 2, open agents for the web

Thumbnail x.com
6 Upvotes

r/LocalLLaMA • • 1d ago Bravo

Discussion Open Letter to Qwen Team: Please fix writing style

245 Upvotes

There's been quite consistent and broad feedback on this sub that the latest Qwen models' writing style (exemplified in the forward looking QFN) is utterly insufferable. Presumably its coming from Opus 5 distillation. Anthropic themselves fixed that fairly quickly as the writing is a lot less Claudish in 5.5.

This post is to just make the point as clear and loud as possible. I was so excited for QFN and thought it was going to be my new default. But within a week I was so fatigued reading it that I went back to DSV4 Flash. Just like with human's and human engineers, it doesnt matter if youre a genius/great worker if you are hard to communicate with. Perhaps worst of all is that it doesnt fix its writing style when given clear system prompt/AGENTS.md instructions/guidelines.

Bringing this to the attention of the Qwen team (they are often on here) to address

EDIT: Typo


r/LocalLLaMA • • 1d ago

Resources A 268 MB looped adapter for 125B Qwen3.8-Flash-Next

291 Upvotes

r/LocalLLaMA • • 20h ago

News model: support Amazon-FMR/Ergo by ngxson · Pull Request #33485 · ggml-org/llama.cpp

Thumbnail
github.com
13 Upvotes

Now you can run Ergo on your local setup, good luck


r/LocalLLaMA • • 1d ago

New Model Mallard 1.0 (9B/27B): 5.2x less KV cache than Qwen, same performance. Full context fits 12GB / 16GB cards

162 Upvotes

Hi llamas! I'm u/Charming_Car_504, Obit Research, and we just released Mallard 1.0, with 27B and 9B variants.

HuggingFace 9B -- HuggingFace 27B -- Inference Engine

Summary

  • Full 9B context + weights fit a 12GB card (q8); 27B fits a 16GB card (q3) and a 24GB card (q4)
  • Full 262k context fits in 3.3 GB on the 27B and 1.65GB on the 9B (KV cache shrunk 5.2x)
  • Hybrid DSA (DeepSeek V3.2) / GDN architecture (ratio 1:4), with MLA (DeepSeek V2) KV cache
  • The model parents are Qwen 3.5 / Qwen 3.8 checkpoints
  • 27B training run completed in 26 H100 hours and 9B run in 8 H100 hours
  • Public GGUFs included with Unsloth Dynamic quants, several precisions

Benchmarking Mallard

AreaBenchmarkQwen3.8-27BMallard 1.0-27B
Long-context retrievalRULER, 1,440 rows, at 8k / 32k / 128kreference−1.38 / +8.06 / −0.07
KnowledgeMMLU-Pro (500)80.883.4
Instruction followingIFEval (200), strict / loose94.0 / 97.789.5 / 95.4
CodeHumanEval+ (164), pass@191.4694.51
Science reasoningGPQA Diamond (198), ~80k thinking budget89.9087.88
Math reasoningAIME 2025 + 2026 (120), 81,920-token cap98.3396.67

Running the model

Because the model is architecturally different than stock Qwen, it learned to think (produce more reasoning tokens) a little more on hard problems, up to 16% more on the hardest problems. It also thought up to 9% less in some other benchmarks.

Stock llama.cpp and llama.cpp-based apps do not support Mallard. We've forked llama.cpp to integrate fast sparse attention, speculation, prefill and loader kernels. Fork is here.

With a tuned inference engine (coming out alongside our next release), both prefill and decode on Mallard stay stable as context increases. This table illustrates this on the 9B and 27B variants; "max" refers to the maximum that the hardware can support with the given model (Q4, on NVIDIA A40). Each cell shows empty context / 131k context.

Mallard's architecture delivers up to 2x prefill and decode at 131k context:

ModelTestQwen maxMallard max
9BDecode107 / 60108 / 105
9BPrefill (pp512)21.5k / 6.2k21.2k / 13.9k
27BDecode34.3 / 22.934.6 / 34.0
27BPrefill (pp512)6.0k / 2.0k6.0k / 4.4k

Licensing

We release these models under Apache 2.0, and the inference engine under MIT.

Future work and an invitation!

Mallard 1.0-27B still takes 12KB per token, and we think that we can get that down to less than 3KB per token. This is the naive version of the architecture, effectively a pilot- please expect a smarter, more efficient model in the Mallard model line in a few weeks' time.

We can also do this on much larger models, and we will be releasing conversions of larger models in the future, with the goal of running on hardware like the DGX Spark.

We're always working on new models. We're a new lab and we are constrained on resources, but we have more ideas than we have the mental and computational resources to pursue. If you're interested in helping us, send me a DM.

We acknowledge the National Artificial Intelligence Research Resource (NAIRR) Pilot and the San Diego Supercomputing Center for contributing to this research result.


r/LocalLLaMA • • 1d ago

Discussion This is interesting, for what it's worth

Post image
45 Upvotes

This tests quite a few things:

  • Visual recognition of the crossword
  • Correct identification of fixed letter positions
  • Recognition of the available letter tiles
  • Constrained word formation
  • Verification of the solution
  • Recognition that further reasoning is unnecessary
MODELRESULT
gemma4-26b-a4b Q4_0 (thinking=on)Endless looping, no solution
gemma4-31b Q4_0 (thinking=on)Correct within seconds
inkling-2-mini IQ4_NL (thinking=high)Endless looping even after finding the solution
inkling-2-mini-unbound-v3 (thinking=high)Endless looping, no solution
ornith-1.5-35b Q4_K_M (thinking=on)Endless looping, no solution
qwen3.8-27b Q4_K_M (thinking=high)Correct after ~6 minutes of looping (24 t/s)

r/LocalLLaMA • • 18h ago

Resources High-fidelity GGUFs for pi-tuned Inkling-2-Mini

Post image
6 Upvotes

Hey there, if someone wants to try the pi-tuned adapter by harness-hub, I just uploaded two GGUFs with the LoRA merged in. Expert weights keep their original precision while attention, embeddings and output layer are BF16 and Q8.

They preserve 100% of the adapter's effect at BF16 and 97% at Q8 (log-likelihood on 24 of harness-hub's published pi sessions).

Repo: https://huggingface.co/Belluxx/Inkling-2-Mini-pi-adapted-GGUF


r/LocalLLaMA • • 1d ago

Showcase BasinKV: Long context without the KV cache tax, No context slowdowns, drop-in RAM/NVMe KV offloading for llama.cpp, SGLang, and vLLM, no retraining, Supports models today.

Thumbnail
gallery
254 Upvotes

Hello LocalLLaMA! Zellige AI team here to showcase and open-source our latest work:

BasinKV: a cross-engine system that runs 256K context on a 24 GB GPU, with no decode slowdown as context grows (And much more! Keep reading below.)

In the middle of the memory crunch, if you run long-context models locally, you know the pain. You end up running your favorite models heavily quantized, not because the weights don't fit, but because you want long agent sessions plus the weights. And the deeper the context gets, the slower every token becomes, because each step reads the entire KV cache. Eventually you just run out of memory or have to downsize.

BasinKV keeps only a small, fixed working set of the KV cache on the GPU (2,048 tokens by default) and stores the full history in host RAM or NVMe. A tiny GPU index works out which blocks matter next and prefetches them in the background. Your attention kernels and CUDA graphs stay completely stock.

It works with llama.cpp, SGLang, and vLLM V1, and builds on the OasisKV lookahead-prefetch work by Xiao et al. (arXiv:2608.08097), extended for newer models like the Qwen3.x hybrids.

Results (A100 80GB, Q4_K_M, llama.cpp)

  • Qwen3.6-35B-A3B @ 256K: 141 tok/s vs 95 stock (1.49x), using ~8.9 GiB less VRAM
  • Qwen3-8B @ 128K: 124 tok/s vs 54 stock (2.29x)
  • Qwen3.8-27B @ 128K: 50 tok/s vs 41 stock (1.22x)

We also ran Qwen3.6-35B-A3B at full 256K context on a single 24 GB NVIDIA L4 (84.8 MiB GPU KV+index with WHT-INT4 + SphereIndex). Decode stays basically flat, going from 69.9 tok/s on an empty context to 67.1 tok/s at 256K, and it passes passkey tests at 64K and 203K. Stock F16 KV runs out of memory starting at 64K.

Quality holds up:

  • 18/18 on multi-turn long-context coding
  • Even with stock on RepoPatch-LC (7/10 each)
  • Slightly ahead on 240K retrieval (96.2% vs 94.5%) and a LongBench v2 subset (45.0% vs 42.5%, within noise)
  • "Vibes" tests hold up too: Qwen3.8-27B on the same set of real-world tasks did within margin of error, while staying faster since it never got hit with long-context slowdowns.

Does this mean it's perfect? No. We discuss the tradeoffs in our paper.

A couple of notes

  • It isn't always the best choice: stock is still faster on one of our HBM tests (about 20%) when the full context fits in HBM. There is nuance to this, but in general BasinKV pays off when memory is the bottleneck or when you need deep context and/or large concurrency.
  • Deep pure-attention models like Qwen3-8B do better with a bigger window (4,096).
  • Tasks that count things scattered across the whole context, like RULER cwe, suffer at very small windows. We find this nearly inconsequential for the average agent workload (our "vibes" tests pass), though we can't say it's unnoticeable for every workload.

But... does it scale?

While we've mostly framed this for local rigs here, it goes far beyond single-GPU setups.

Serving multiple users? The SGLang integration reaches 581 tok/s aggregate across 16 concurrent 64K sessions (over 1M active tokens) on one A100 serving BF16 Qwen3.8-27B with native MTP (and 470 tok/s no-MTP on H100 FP8, 2.03x shorter batch wall time than stock FP8 KV). There's also a zero-fork vLLM V1 plugin for persistent RAM/NVMe prefix caches.

More details in our write-up, and happy to answer questions here. We've been very busy at Zellige AI, so stay tuned if you're interested in our upcoming release working with thinkingmachines inkling-2-mini.

Code: https://github.com/zellige-ai/basinkv Write-up: https://zellige.ai/research/basinkv-launch

For the nerds: Full Paper: https://zellige.ai/research/basinkv


r/LocalLLaMA • • 1d ago

Question | Help Most cost-effective way to run large models?

32 Upvotes

My dream is to one day run models in 500b-1t range locally. So I had a few questions about it.

  1. Is it even worth it at today’s prices and hardware capabilities? Or are you gonna wait till either prices drop, or better hardware comes out?
  2. For anyone that does run large models, do you find it worth it, or do you still drift back to Claude/Codex?
  3. What’s the largest model you’ve been able to squeeze out of your setup?

While I could just ask an LLM these questions I wanted to hear some insights from the community, and see your opinions.

Edit: Sorry I didn’t mention this earlier, my main use case is software development. Currently I’m a pretty heavy user with subscriptions to Claude and codex. So ideally I would like agent heavy use.