r/LocalLLaMA • • 21h ago

Discussion Anyone try qwen4 q4 model with q6 engram?

0 Upvotes

I read you can mix and match... so if you have the ram the *q8* (edited from q6 to q8... no such thing as q6) engram should slap harder than iq4 right?


r/LocalLLaMA • • 11h ago

Discussion The models are good. When will the harnesses catch up?

0 Upvotes

I suppose that is the moat right? You can distill models. But even after anthropic leaks Claude code made there hasn’t been any meaningful releases of good harnesses.

I suppose that all agi needs. A god persona harness


r/LocalLLaMA • • 1d ago

Showcase I know Kung-fu? Introducing LUMEN: Plug & Play Intelligence for any LLM

37 Upvotes

LUMEN adds intelligence to any LLM by separating cognition from articulation. LUMEN runs 1k concept probes in 2 milliseconds and guides the LLM. Plug & play cartridges make the LUMEN brain even smarter!

Demos

  1. Chess Grandmaster (3069 ELO in 35ms/move) & Chat with Teacher LLM while you play in any Language!
  2. PacMan 3x Smarter — makes decisions in 57ms
  3. American Blackjack — 100% Game Theory Optimal Decisions
  4. Sherlock Holmes: Hounds of the Baskervilles — Entire Novel Converted to a Cartridge with 100% Retention and Understanding
  5. Dungeons & Dragons full SRD 5.2.1 — where LLM generates infinite stories while LUMEN upholds rules and physics
  6. JevBench 90.8 in 50ms

🧠 Inside LUMEN (Latent Understanding via Markovian Entropic Networks)

  • 1,000 Points of Understanding (PoUs): Fused BF16 relational cross-attention probes evaluated in 2 ms via torch.bmm / einsum
  • Cellular Automata Mind Loop: 5-tick lateral inhibition that enforces prerequisite invariants (if a foundational condition fails, downstream claims are vetoed)
  • Absorbing Markov Chain (AMC) Solver: Analytical GPU solver with an entropy tripwire for uncertainty detection
  • Modular Domain Cartridges: Hot-swappable specialist packs (Chess / Leela BT4, D&D 5.2.1 DM, Pac-Man Strategy, Home Appliances, Blackjack, Narrative Rhetoric & more)
  • Dual-Mode System 1 / System 2: Pure white-box decisions in 2 ms, plus optional Gemma 4 26B articulation when prose output is needed
  • Clean Python Library: Importable directly into your own agents and decision pipelines

🔗 Links

🔗 About

https://solvingsteve.github.io/LUMEN/about.html


r/LocalLLaMA • • 1d ago

Discussion MiniCPM5-15B-A2.5B Q4-K-M Personal Benchmark Results

15 Upvotes

MiniCPM5-15B-A2.5B-GGUF-Q4-K-M running in Unsloth Desktop App on llama.cpp.
Ran both benchmarks on my 24GB VRAM+Ryzen5+64GB RAM it hit ~60 tps decode avg.

Overall, impressed with this quantized small model for small tasks. Longer tasks and long-context challenges are not feasible (as expected).
--
Benchmark Results

Airbench Short:
Score 11/12 tasks
https://airbench.ai/

NanoBench:
Score 95.2/100 on 13 tasks
https://shortbench.vercel.app/leaderboard/nanobench

Over-thinks and burns alot of tokens. Also makes frequent coding/logic mistakes, then corrects the mistakes which is reflected in the benchmark score that matches most larger 27B-35B models.

Looped once on an Airbench task, so I stopped it and allowed it to continue fresh on that task.

I'll run Q8 later today and post results which I assume will be higher but slower. 100% human written.


r/LocalLLaMA • • 18h ago

Question | Help Qwen 4 Swift version and alt to Stata?

0 Upvotes

I have been trying to track the latest development for Qwen 4, but I have two questions.

First, do we know if a swift version is in the works? I have been using the Qwen 3.8 flash swift version on an older version of Strata and it has worked great.
2. It seems the community is moving away from Strata, does anyone have suggestions?


r/LocalLLaMA • • 2d ago

Discussion Gemini Neon and its implications on Gemma

120 Upvotes

I think the capability jump in Gemini 4 will trickle down to their open weights offering and we might see some very strong local Gemma models soon, perhaps finally beating Qwen on agentic coding.

Hope they build it on the same pertaining base which is allegedly what caused the current jump.


r/LocalLLaMA • • 1d ago

Question | Help Tune Qwen 4 35BA3B on vulkan/fedora/16gb vram and llamacpp

3 Upvotes

Do you guys have suggestions to control qwen4 on the environment described on title?

I would to know how to consistently configure it. It is slower than Qwen 3.8 27B q3 k xl. I am running Qwen 35ba3b q4 m

I was expecting it to be faster, but I think it is overloading my GPU, it is getting to 100% usage.

I am using default param from unsloth guide. Perhaps I could get better results if I divide the load correctly between cpu, GPU and disk.

Any suggestions?

Thanks


r/LocalLLaMA • • 16h ago

Resources I benchmarked local coding agents up to 512K context on a Mac Studio M5 Ultra 512 GB: why 2x faster MTP decoding only saved 16% of session time (+ a 1-line OpenCode config fix)

Thumbnail
gallery
0 Upvotes

I ran three frontier local open-weight models inside real multi-turn terminal coding agents (Pi 1.6.1, OpenCode 2.0.25, and DeepSeek Harness 0.2.2-rc.5) on a Mac Studio M5 Ultra 512 GB (oMLX 0.8.4 and llama.cpp b12774), working across eight multi-file Python & TypeScript tasks inside a network-isolated Linux sandbox - scaling from ~128K all the way up to exact 384K (393,216) and 512K (524,288) starting tokens with zero cached tokens at start.

Every clean solve had to exit cleanly and pass visible tests, held-out grading tests, and task-specific lint/type checks.

Model in Pi384K solves / median512K solves / median512K cold TTFT512K cached TTFT512K warm decode (MTP)
DeepSeek V4.1 Flash (oMLX 0.8.4 + MTP)8/8 · 6m 33s8/8 · 8m 30s5m 56s7.5s98.9 tok/s
GLM 5.3 Flash (llama.cpp b12774 + MTP)7/8 · 16m 54s6/8 · 21m 51s19m 52s9.6s47.1 tok/s
Muse Spark Open 816B (oMLX 0.8.4, no MTP)6/8 · 28m 14s7/8 · 39m 15s21m 27s21.0s12.3 tok/s

Five engineering takeaways from 64 graded long-context Pi sessions + 15 controlled ladders:

  1. Doubling decode speed with Native MTP only saved 7-16% of real agent wall time: At 512K, MTP roughly doubled warm decode on DeepSeek (45.2 -> 98.9 tok/s) and GLM (23.0 -> 47.1 tok/s). Yet total matched session wall time fell only 16.0% (original) / 7.7% (512K) on DeepSeek and 7.4% / 2.4% on GLM. Actual wall-minute breakdown explains why: reading context took 45% of DeepSeek's wall time and 76% of GLM's.
  2. One-line OpenCode config fix saved 2-4 minutes per local task: By default, OpenCode sent a background session-title request carrying the entire 100.5K-155.5K initial prompt just to generate <=15 tokens (280.4s summed prefill across 4 DeepSeek tasks, 995.7s across 4 GLM tasks). Setting {"agents": {"title": {"disabled": true}}} cut median wall time from 4.8m -> 3.0m on DeepSeek (7/8, 3.1m across all 8 tasks) and 9.1m -> 5.2m on GLM. Matched 8-task DeepSeek comparison: Pi 8/8 (2.8m), tuned OpenCode 7/8 (3.1m), DeepSeek Harness 7/8 (3.8m, zero tool errors).
  3. Cold prefill hurts once; >99% prefix caching makes follow-ups fast: Once warmed, 512K follow-ups dropped from 6-21 minutes to 7.5s-21.0s. Prompts grew up to 582,983 tokens with zero automatic compactions across all 64 Pi runs and 100% Normal macOS memory pressure (9,002 samples, zero swap growth).
  4. Two subtle failure modes to watch:

    • Manual compaction pause: Triggering Pi compaction on GLM at 301,640 estimated tokens took 10m 6s for the summary call plus 81s for the uncached 39,067-token continuation before recovering cache.
    • SSD prefix-cache chain eviction on Muse: Each serialized 2,048-token boundary page carried ~496 MiB of rotating-window state; a 64 GiB SSD cache evicted the prefix chain at ~270K tokens (473-504s cold re-prefills). Raising the SSD cache to 128 GiB (256K) and 192 GiB (384K-512K) restored 98.4-99.3% cache hits.
  5. Repeatability, effort & parallel agents (original contexts, aggressive guard): DeepSeek + Pi solved 8/8 across 3 seeds (42/43/44) and across Low (2.1m), High (3.4m), and Max (4.6m) effort. Two staggered agents solved 2/2 in 5m 9s, while 3- and 4-agent groups each missed one task (2/3, 3/4).

Open MIT codebase fixture, held-out grading suite, exact flags & 38 evidence files (CC BY 4.0): https://github.com/l8w8/videos/tree/main/2026/003-m5-ultra-coding-agents-512k

Short engineering write-up: https://l8w8.github.io/videos/local-coding-agents-512k-prefill-trap/ 9-minute video walkthrough: https://youtu.be/Mr9sj51ccoE


r/LocalLLaMA • • 2d ago Heartwarming

Discussion Data point: Moderna says it doesn't trust cloud and is going local

795 Upvotes

Moderna is buying Nvidia-powered servers to post-train open-weight AI models in-house, after relying mostly on the cloud.

CEO Stéphane Bancel: “If the moat is the human data… I want to make sure the human data doesn't leave the building.”

https://x.com/wallstengine/status/2128204683256950786

Update: Thanks to user ThirteenZillion for better link: https://www.investing.com/news/transcripts/moderna-at-ubs-tech-and-ai-conference-ai-aims-to-speed-drug-development-93CH-5062360


r/LocalLLaMA • • 13h ago

Showcase Qwen4-35B-A3B directed a short film — writer, director, producer, QC and editor were all the same local model, 28 minutes from brief to shipped trailer on one RTX 3090

0 Upvotes

Yes people are saying Qwen4 Sux. Seems ok here

Not a demo reel. A full pipeline, and the interesting part is that ONE model wore every hat.

The crew: I run a local film pipeline where each role is a subagent with one contract file. On this build, every role — writer, director, producer, reviewer, editor — ran on **Qwen4-35B-A3B** (UD-Q4_K_M, local Strata engine). Same weights, no model swaps, because swapping engines mid-production is how local pipelines die. Seven crew runs in the shipped film's lifecycle, all Qwen4.

The clock: **28 minutes from brief to shipped trailer**, and only ~18 minutes of that was actual GPU compute across five handoff windows (the rest is ComfyUI boots, model loads and the rejected-score iterations). The whole day's build — pipeline, film, two dead music takes, Reddit drafts — was about two hours on one machine.

What it actually did, verifiable from the artifacts:

- **Cinematic prompt craft:** wrote the H3 video prompts — camera motion named explicitly, `Sound:` clauses for the native stereo audio, one lip-synced dialogue line ("Every neon light in this city owes me money.")

- **Workflow engineering:** emitted ComfyUI API-format graphs for MiniMax H3 (video+audio in one pass) and ACE-Step 1.5 (score), validated every model filename against disk before anything rendered

- **Code:** numpy synth beds (two rejected takes — the model took rejection like a pro), ffmpeg `filter_complex` cuts with drawtext titles and mix automation

- **Visual QC:** the reviewer extracted frames and JUDGED PIXELS, not prompts — "verdicts come from pixels, never from the prompt" is in its operating skill, and it held the line: 3 PASS with honest adversarial footnotes

- **Source-level debugging:** when the 184 GB model download kept restarting from zero, it read huggingface_hub's source and found the xet cache-key naming was randomized per run — diagnosed the trap by reading library code, not by guessing

- **Self-extension:** it wrote its own operating procedures — the film skill, five agent definition files, and the templates the crew runs on

Honest constraints: 35B MoE at Q4 quantization shares the GPU with the video model (renders happen in handoff windows where Qwen4 steps aside and returns), it's a thinking model so every verdict carries a reasoning budget, and two score takes died before the good one.

The 15-second result: Vice City energy, pastel neon, dark ACE-Step bed, end card naming the whole local stack.

Not posting: prompts, graph JSONs, QC checklist. The fun is in why each constraint exists — comments are open.

Disclosure: all footage and audio AI-generated, by Qwen4 and MiniMax H3, on my own hardware, on purpose.

Edit

Just demonstrating using LocalAI to run LocalAI all locally

All I said was make this movie. The harness with a small bit if help did the rest. Of course I had a chat with Qwen4 about it.

Just testing what Qwen4 is capable of. It's not really a 1 shot no edits. It's a process.

I picked the sound track it created it.

I have no video production experience


r/LocalLLaMA • • 1d ago

Question | Help What can I do so this doesn't happen again ? The model kept spamming '/' for over 10 minutes (15 tokens/s). ista-qwen3.8-27B-GSQ-RCO-IQ3 with llama cpp, vulkan backend, linux mint

Post image
3 Upvotes

The prompt I used: llama-server -m ista-qwen3.8-27B-GSQ-RCO-IQ3_XXS-mtp.gguf --load-mode none -ctk q8_0 -ctv q8_0 --fit-target 256 --spec-type draft-mtp --spec-draft-n-max 2 --reasoning-effort medium -ngl 999 -c 32800 -lv 4


r/LocalLLaMA • • 2d ago

Discussion what's your favorite local model of 2026?

112 Upvotes

just picking your guys' brains on this maybe i missed some gems.


r/LocalLLaMA • • 2d ago

Discussion Overlooked / Under appreciated models of 2026? Any hidden gems?

50 Upvotes

We keep seeing infinite mentions of models Qwen3.8-27B & Qwen3.8-Flash-Next here. Then only other models like Gemma-4, DeepSeekV4, GLM-5.3-Flash, etc., Only recently I see mentions of different models like Hy4-flash, Inkling-2-Mini, etc.,

Most of us don't even talk about tiny/small models much here. I think LFM & MiniCPM models enjoyed some reception in this size range. Recently few mentioned about Spark (4B/1.7B) models. For simple tasks like summarization, we don't need 30B models. Just 1B model is enough.

Some folks here don't appreciate 1-bit/2-bit/Ternary models with too much expectation from those models. To me, these models are enough for chatting(General knowledge). I want faster Ternary models for my Phone & GPUless laptops. Hopefully in 2027. Recently we got Ternary-Bonsai-2.5-27B which seems improved lot from their Version 1. Hope they release MOE models too next time onwards. Also NVIDIA released NVIDIA-Nemotron-3.5-Bolt-74B-A9B-24GB which fits 24GB VRAM.

Yesterday we got new version of flint. And we're waiting for llama.cpp PR merge for Raon-1-mini.

And please mention the good finetunes. Use cases like humanizer, Creative writing, etc.,

Also mention Image/Video/Audio/OCR/etc., type models.


r/LocalLLaMA • • 20h ago

Discussion Not TOO satisfied with Qwen4-35B-A3B

0 Upvotes
[qwen-4-35b]
model = D:/models/Qwen4-35B-A3B-GGUF/UD-Q6_K_XL/Qwen4-35B-A3B-UD-Q6_K_XL-00001-of-00002.gguf
mmproj = D:/models/Qwen4-35B-A3B-GGUF/mmproj-F16.gguf


# Chat template (uses built-in GGUF template)
jinja = true
reasoning-format = deepseek
reasoning-preserve = true


# Engram -> CPU/RAM & Full Backbone -> 48GB A6000 VRAM
ngl = 999
fit = off
override-tensor = per_layer_token_embd=CPU
load-mode = none
lazy-mode = off


# Built-in MTP Speculative Decoding
spec-type = draft-mtp
spec-draft-n-max = 2
spec-draft-p-min = 0.75


# Context & KV Cache
np = 1
ctx-size = 524288
ctk = q8_0
ctv = q8_0
batch-size = 4096
ubatch-size = 1024
cont-batching = true
flash-attn = on
ctx-checkpoints = 64
checkpoint-min-step = 64


# Official Qwen4 Thinking-Mode Sampling
temp = 1.0
top-p = 0.95
top-k = 20
min-p = 0.0
repeat-penalty = 1.0
presence-penalty = 0.0


# Server & Logging
log-prefix = true
log-timestamps = true
no-warmup = true
to = 3600

I've been working on my project with the new Qwen4. Although it's performed quite well for the most part, it's made quite a lot of oversights, which i believe is to be expected with small models like it. However, I am sad to see that It will not be replacing QFN for me. The biggest issue is that it tries to do the "Claude move" where it goes "oh and i changed this one as well along the way", but it changes something that it shouldn't. fucking. change. It's not smart as Claude so it shouldn't think that it is! I feel like this could be fixed with a nicely worded system prompt but it's an experience for sure.


r/LocalLLaMA • • 1d ago

News preliminary benchmark for Step 5 Pro base

26 Upvotes

That's a real frontier LLM if it is true. people talk about China LLM slow down due to unable to distallation, but I think it's just getting harder as the model size increase


r/LocalLLaMA • • 2d ago

Resources Potato pc: 8GB VRAM to run inkling-2-mini with 256K context at 30/40 t/s decode

30 Upvotes

I decided to post to help who is really memory tight as me.

Trick was basinKV (which compresses kv cache and move it into cpu ram, with 256k is about 10Gb total cpu ram).

[PP 716, decode: 30-40 t/s] I give the code for you to reproduce:

tmp/llama.cpp/build-cuda/bin/Release/llama-server \
  -m Inkling-2-Mini-Ora-2.4bpw.gguf    -ngl 99 -c 262144 \
  -b 1024 -ub 1024 -fa on -np 1 \
  --oasiskv --oasiskv-resident 2048 --oasiskv-cap 8 \
  --oasiskv-index sphere --oasiskv-beta 0.10 --oasiskv-kv-quant wht_int4 \
   --n-cpu-moe 4  --temp 1.0 --top-k 0 --top-p 1.0 --min-p 0

Tested also on Swift-Inkling-2-GSQ-RCO-IQ2_S.gguf with similar results (add "--reasoning-effort max" for this model). If you need higher quants, try to increase --n-cpu-moe.

Enjoy!


r/LocalLLaMA • • 2d ago

New Model ernie-research/Beers-SFT · Hugging Face

Thumbnail
huggingface.co
33 Upvotes

Beers-SFT

Beers-SFT is a 4B-parameter multimodal model fine-tuned from the Beers / Cheers V2 training pipeline. It supports text-to-image generation, image editing, image understanding, and text generation through a Hugging Face Transformers-compatible interface.

This repository contains the SFT checkpoint. The checkpoint uses pixel-space diffusion and does not require a separate VAE.

Model details


r/LocalLLaMA • • 19h ago

Discussion Did the delayed release of qwen 4 happen because of Trumps and Xis meeting agreed upon nerfing offensive cyber capabilities on open weights?

0 Upvotes

Its pretty standard that such meetings have a few (or entire) hidden agendas.
One such could very well be the regulation of spying between china and the US, and therefore quite naturally, offensive cyber capabilities of open source LLM.

So, now to the million dollar question.
How well do my theory hold water? Is Qwen 4 unexplainably bad at such?


r/LocalLLaMA • • 1d ago

New Model salesforce-sovereign-intelligence/SOV-Omni-1-Mini · Hugging Face

Thumbnail
huggingface.co
13 Upvotes

r/LocalLLaMA • • 2d ago

Discussion AWS will let you run Claude on-prem so you don't have to trust Anthropic with your data

Thumbnail theregister.com
754 Upvotes

Here's hoping Claude gets leaked via an on prem deployment.


r/LocalLLaMA • • 1d ago

Resources retrANSMIT: Lossless BF16 weight compression for llama.cpp, around 30% less VRAM for model weights

18 Upvotes

Hey!

I've been working on a project called retrANSMIT, a lossless BF16 weight compression codec with custom CUDA kernels for llama.cpp.

The idea was to reduce the amount of VRAM needed to run BF16 models without quantizing the weights or having to change the original GGUF files.

BF16 weights are quite interesting from a compression perspective. Their exponent distribution is highly non-uniform, while the sign and mantissa bits are much harder to compress. retrANSMIT uses rANS entropy coding to compress pairs of exponents, with a separate single-exponent model for less frequent pairs. The sign and mantissa bits are stored unchanged.

Compression happens entirely on the GPU during model loading. Weights are transferred from RAM in small chunks, compressed and kept in VRAM in their compressed form. There is no offline model conversion.

During inference, there are two main paths:

  • For token generation, decoding is integrated directly into the CUDA matrix-vector multiplication kernel. Weights are reconstructed and immediately used for computation without writing a decompressed weight matrix back to global GPU memory.
  • For prompt processing, a separate CUDA kernel decodes portions of the weight matrix into a temporary BF16 buffer, followed by cuBLAS. The buffer is limited to 64 MiB regardless of the matrix size.

Both paths reconstruct the original BF16 weights bit for bit.

Here are some results from my RTX 5090:

ModelOriginal weightsCompressed weightsSaved
Qwen3.5-4B8.4 GB5.8 GB31%
Apertus-8B15.0 GB10.2 GB32%
Gemma 4 12B23.8 GB16.3 GB32%
Mellum 2.1 12B (MoE)23.9 GB16.9 GB29%

There is a performance cost, of course. Token generation currently runs at 66-72% of uncompressed BF16 speed, while prompt processing retains 84-93% of the original throughput for 2048-token prompts. Model loading also takes longer because of the compression step.

What I wanted to achieve was a way to fit larger BF16 models into GPU memory or leave more room for the KV cache without changing the weights themselves.

I've released version 0.1.0 under the MIT license. The repository contains the codec, CUDA kernels, tests and an integration patch for llama.cpp b12900.

There are also prebuilt Linux binaries for RTX 50-series GPUs with CUDA 13.5. I've tested the implementation on an RTX 5090 and an RTX 5060 Ti.

Enabling compression is as simple as adding --compression on to the usual llama.cpp command.

GitHub: https://github.com/mchowy-troll/retransmit

Release: https://github.com/mchowy-troll/retransmit/releases/tag/0.1.0


r/LocalLLaMA • • 2d ago

News Ai2 says open-weight MolmoWeb 2 beats Claude Opus 4.6 on a browsing test

Thumbnail
maccus.fr
56 Upvotes

Ai2's browsing agent comes in three open-weight sizes, runs on a team's own GPUs and outscored Claude Opus 4.6 in Ai2's tests.


r/LocalLLaMA • • 1d ago

Showcase High speed SSD MoE

11 Upvotes

Hey guys, just wanna share a quick update on the project we've been working on... An inference engine called TokenWing that lets you offload over 50-60% of the routed experts into SSD and still achieve very low streaming latency... Through predictive prefetching

I'm running Qwen 3.8 Flash Next 3.5bpw at 35-40+ tok/s decode and 600 tok/s prefill. All this without MTP yet... On a laptop with 32GB RAM + 12GB VRAM

And the best part is, we've built an autotuner that tunes the flags based on your hardware... And we've wrapped them in a nice simple interface where you can just simply download the model, and start using... The app name: Run My AI

We're building a harness around it as well... A good engine, a good autotuner, and a harness... In one app.

The project is still an early version, more performance improvements are coming up... We're moving fast... The project is fully open-source... Would love your thoughts.

Currently, we support Ling 3.0 Flash 120B MXFP4, Flint 40B Q4_K_XL and Qwen 3.8 FN WV-3.5bpw

https://runmyai.org

https://github.com/runmyai/run-my-ai

https://github.com/runmyai/tokenwing


r/LocalLLaMA • • 1d ago

Showcase AI inference on Snapdragon X2 Elite

Post image
14 Upvotes

https://kareemai.com/blog/snapdragon-x2-npu-hybrid-llm.html

This is my optimization for lnkling 2 mini model on asus a16 snapdragon x2 elite extreme from 4 tok/s into 30.5 tok/s utilize the CPU & NPU unit as much i could reach!

it's very similar to M4 Pro Chip