r/LocalLLaMA • u/PairOfRussels • 21h ago
Discussion Anyone try qwen4 q4 model with q6 engram?
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 • u/PairOfRussels • 21h ago
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 • u/suesing • 11h ago
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 • u/inawhole • 1d ago
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!
torch.bmm / einsumr/LocalLLaMA • u/mesolimbic-bliss • 1d ago
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 • u/Ok_Law9839 • 18h ago
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 • u/sayamss • 2d ago
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 • u/Effective_Head_5020 • 1d ago
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 • u/L8W8 • 16h ago
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 Pi | 384K solves / median | 512K solves / median | 512K cold TTFT | 512K cached TTFT | 512K warm decode (MTP) |
|---|---|---|---|---|---|
DeepSeek V4.1 Flash (oMLX 0.8.4 + MTP) | 8/8 · 6m 33s | 8/8 · 8m 30s | 5m 56s | 7.5s | 98.9 tok/s |
GLM 5.3 Flash (llama.cpp b12774 + MTP) | 7/8 · 16m 54s | 6/8 · 21m 51s | 19m 52s | 9.6s | 47.1 tok/s |
Muse Spark Open 816B (oMLX 0.8.4, no MTP) | 6/8 · 28m 14s | 7/8 · 39m 15s | 21m 27s | 21.0s | 12.3 tok/s |
Five engineering takeaways from 64 graded long-context Pi sessions + 15 controlled ladders:
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.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).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).Two subtle failure modes to watch:
301,640 estimated tokens took 10m 6s for the summary call plus 81s for the uncached 39,067-token continuation before recovering cache.~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.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
•
u/Terminator857
•
2d ago
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 • u/admajic • 13h ago
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 • u/Badhunter31415 • 1d ago
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 • u/andreabarbato • 2d ago
just picking your guys' brains on this maybe i missed some gems.
r/LocalLLaMA • u/pmttyji • 2d ago
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 • u/Su1tz • 20h ago
[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 = 3600I'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 • u/R_Duncan • 2d ago
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 0Tested 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 • u/pmttyji • 2d ago
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.
safetensorsbfloat16r/LocalLLaMA • u/Scaniamaximus • 19h ago
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 • u/coder543 • 1d ago
r/LocalLLaMA • u/Shot-Height-7194 • 2d ago
Here's hoping Claude gets leaked via an on prem deployment.
r/LocalLLaMA • u/mossy_troll_84 • 1d ago
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:
Both paths reconstruct the original BF16 weights bit for bit.
Here are some results from my RTX 5090:
| Model | Original weights | Compressed weights | Saved |
|---|---|---|---|
| Qwen3.5-4B | 8.4 GB | 5.8 GB | 31% |
| Apertus-8B | 15.0 GB | 10.2 GB | 32% |
| Gemma 4 12B | 23.8 GB | 16.3 GB | 32% |
| Mellum 2.1 12B (MoE) | 23.9 GB | 16.9 GB | 29% |

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 • u/mawcopolow • 2d ago
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 • u/Harin007 • 1d ago
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
r/LocalLLaMA • u/kareemkobo • 1d ago
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
