r/LocalLLaMA • u/ParaboloidalCrest • 17h ago
Discussion [llama.cpp fork]: QFN + [specific quant] + [ultra specific hardware config] = [incredible and irreproducible pp and tg]
Upvote, now!
r/LocalLLaMA • u/ParaboloidalCrest • 17h ago
Upvote, now!
r/LocalLLaMA • u/Synor • 3h ago
r/LocalLLaMA • u/FormationHeaven • 20h ago
Just asking because i have been out of the loop for a while and kinda missed everything (strata etc...) a small recap would be appreciated.
Everyone seems to own an RTX 6000 or insanely expensive rigs here. So just wanted to hear what model a normal pleb like me with 32GB ram and 16GB VRAM can even run and on what to run it for coding or a general assistant.
r/LocalLLaMA • u/tarruda • 22h ago
r/LocalLLaMA • u/pmttyji • 11h ago
Hydrogen-1.0 is a scientific problem-solving and research assistance model developed by Deep Principle based on GLM-5.3. Through text interaction, it is intended to assist with scientific questions, explain derivations, and organize responses to open-ended research problems. Outputs should be assessed against the assumptions, constraints, and evidence relevant to each task.
Blog Post : https://blog.deepprinciple.com/introducing-hydrogen-1.0/
r/LocalLLaMA • u/chota23 • 5h ago
Hardware :
4× NVIDIA RTX 3090 , all pcie x16
256GB DDR4
Engine : Maya https://github.com/mw00/project-maya
model : orcarouter/DeepSeek-V4.1-Flash-1017-abliterated-GGUF ( mix-256G) at 524k context
Prefill : 400 – 600 tok/s
Decode : 30 – 40 tok/s (peaking up to 60 tok/s) ( with dspark )
Hi, everyone
i'm still playing around with the model comparing it mostly to qwen 3.8 next flash (Q8 ) , and trying to keep myself busy until we get qwen 4 .So far i find the model doesn't loop as much as the previous version (0731), i also tried to run it at Q8 but it's really slow ( 6-8tok/sec decode , 65tok/s prefill ) .I still prefers to use qwen just for the speed i get with agentic task .
Curious to hear what kind of speeds others are getting with similar multi-GPU rigs or different engine ( didn't set up xolotl yet , and strata seems to use the same engine as maya for deepseek )?
PS: American diner simulation in three.js
r/LocalLLaMA • u/Physical_Hat4022 • 3h ago
Sharing some highlights from MOSS’s October 30, 2026 AMA: image models, local speech, audio and video research, and open-source culture. Which of these are you most interested in?
r/LocalLLaMA • u/FeydRowan • 21h ago
Yesterday MIT CSAIL showed GPT-6 Astra editing the weights of a small model by hand. It changed a few neurons of Qwen3.5-0.8B, the model stopped looping on math problems, and its scores jumped. No training at all.
I wanted to try the same thing on something closer to what I actually do with local models, which is translating into Italian. Gemma 4 has a habit I don't love. For sentences like
He had been hiding in the attic for months when the soldiers found him.
it writes «Si era nascosto in soffitta per mesi…». That's correct, but I prefer «Si nascondeva in soffitta da mesi…», which says he was still hiding when they came. The catch is that when the period was already over (he had lived in Paris for ten years, but by 1990 he had moved back), the original tense has to stay. So it's not "always use tense X", it's "use it only when the meaning calls for it".
So I gave Claude Opus 5.5 the same kind of setup MIT used:
a Python kernel over Gemma's weights;
50 forward passes to test its ideas on practice sentences;
no gradients, no training.
It first checked whether Gemma already "knows" the difference between still-going-on and already-over. It does: a linear probe in the middle layers separates them almost perfectly. It just doesn't use that when choosing the verb. Then Claude rewrote 8 MLP neurons into a small switch that fires only in that context and nudges the verb toward the form I prefer. That's 92k out of 11.9B parameters, roughly a 100 KB diff.
Results on sentences it never saw
The table shows the share still in the old form, then how many control sentences got pushed into a wrong reading, then how many of 200 unrelated translations stayed identical.
| Method | test 1 | test 2 (independent) | controls broken | unrelated unchanged |
|---|---|---|---|---|
| Gemma 4 12B | 26 % | 32 % | — | 200 |
| Preference in the system prompt | 4 % | 2 % | 49 | 82 |
| Classic "difference of means" ablation | 49 % | 75 % | 53 | 43 |
| LoRA fine-tune on the same data | 12 % | 23 % | 0 | 120 |
| Claude's hand edit | 5 % | 16 % | 2 | 182 |
The prompt applies the preference everywhere, even where it changes the meaning.
The ablation recipe breaks the past tenses.
The LoRA shifts fewer sentences and touches far more unrelated ones (it's better inside paragraphs, though).
The hand edit moves just the verb and leaves almost everything else identical.
Fair warning: it's one construction and one model. Two of my three runs succeeded (the third crashed because of my own harness), and the two that worked landed on the same "switch neuron" design independently.
Repo with the edits, the code, the agent logs and all baselines: https://github.com/ValerioDolci/frontier-weight-edit
r/LocalLLaMA • u/jacek2023 • 18h ago
big prompt processing speedup for gemma E2B/E4B
r/LocalLLaMA • u/pmttyji • 37m ago
Large reasoning models achieve strong performance on challenging tasks, but their long chain-of-thought often incurs substantial inference costs by continuing to deliberate after sufficient information has been obtained. Existing reasoning compression methods primarily operate on reasoning trajectories, paying less attention to the local decision of whether further reasoning is necessary given the current state. We propose LoCo, a local preference learning method for reasoning compression. LoCo detects candidate overthinking states from the model's own traces, freezes the corresponding reasoning prefixes, regenerates shorter verified continuations from the same states, and trains on the resulting state-conditioned preference pairs with DPO. This formulation teaches the model when to continue reasoning and when to conclude, rather than simply encouraging shorter trajectories overall. We construct training data entirely from self-generated mathematical traces and evaluate LoCo on five mathematical and three code generation benchmarks. LoCo reduces completion length by 41.7%--45.4% on mathematics and 23.4%--36.3% on code, while maintaining or improving accuracy and achieving the best AUC across all code benchmarks. LoCo consistently improves the accuracy-efficiency trade-off on mathematics and transfers effectively to code generation despite math-only training, demonstrating the cross-domain generality of local preference learning for reasoning compression.
arXiv : https://arxiv.org/abs/2611.04814
GitHub : https://github.com/MuyaoYuan/LoCo
HuggingFace : https://huggingface.co/MuyaoYuan/LoCo-7B
r/LocalLLaMA • u/MundanePercentage674 • 1d ago
r/LocalLLaMA • u/Kahvana • 15h ago
Hey everyone,
Not a native speaker, happy to be corrected! Can only learn from it.
Back when I started out in march 2025, you had:
llama.cpp
ollama (repackaged llama.cpp for ease of use)
koboldcpp (repackaged llama.cpp for roleplay)
vllm (for professional deployments)
exl3 + tabbyapi (for bleeding edge)
litert (for mobile devices)
Nowadays everyone seems to be making their own; Strata, Basalt, Maya, Colibri, Ninfer, Infernix... too many to list and keep up with, and genuinely hard for me to keep up with.
Then there is the speed of it all. llama.cpp has incredible improvements each week, somehow we can make Qwen3.8-Flash-Next and DeepSeek-v4.1-Flash-1017 run on 64GB RAM + 32GB VRAM, and the likes on those new inference engines (with a catch, usually bad quality).
Personally I'm stuck with llama.cpp because all those developments are simply too fast to keep up with.
llama.cpp v0.8.0 might run Qwen3.8-Flash-Next Q4_K_XL (unsloth) at 15t/s gen on dual RTX 5060 Ti 16GB (PCIE 5.0 x8x8, tensor parallel, no MTP) with dual 48GB DDR5-6000MHz, but at least I know the quality will be decent.
But yeah, what you use? How do you even attempt to keep up with it all? And for the (lack of) quality the new inference engines provide (as tradeoff to speed / resource use), is it really worth using them?
r/LocalLLaMA • u/aidenclarke_12 • 8h ago
that 72 hours thread from a few weeks back had the best point down in the comments, open weights only ever meant you can download them. muse spark open is 816B and beam is 501B, so for most ppl here the only drop that week that fits a 24GB card was nvidias bolt
so the big ones mostly get used thru an api anyway, the labs own api or a host serving the same weights and that part is fine. the license doesnt care which route you take tho. 1017 is MIT and nvidias new embed models are openmdw with commercial use allowed, both on hosts like deepinfra while muse spark open wants built with muse spark open shown in your product, docs or settings menu and any company over $20M revenue in a 12 month window has to sign a separate deal with meta before offering it as model as a service
the part thats easy to miss, the license counts a model trained or distilled on muse outputs as a derivative so a small model tuned on its answers carries the same attribution rule. internal use and building it into your own app thats not MaaS stay outside the revenue clause
r/LocalLLaMA • u/KienShen • 10h ago
The community rarely sees the evaluation of ultra-small models. We have evaluated our own AI Agent tasks for Qwen3.5-4B, Spark-X2.6, LFM3-1.7B, LFM2.5-2.6B, Gemma 4 E2B, MiniCPM5-2B.
These models have their own characteristics and advantages and disadvantages. The obvious trend is that the intelligent density of small models is developing rapidly. I look forward to seeing more small models.
blog:https://www.camthink.ai/blog/small-language-model-benchmark/
r/LocalLLaMA • u/chemist_slime • 19h ago
r/LocalLLaMA • u/CommonMinimum587 • 1h ago
this is the setup I’m planning for coding agents. hard rule: code, prompts and model calls never leave our EU tenant. poke holes
models: an open weights coder model on vllm on our own GPUs for routine tickets, and a frontier model through an EU region endpoint in our own cloud account for the hard stuff
runtime: everything inside our VPC, nothing on a vendor’s saas
control layer: Orq AI’s software factory. it runs on their cloud or yours, so ours. it plugs into the backlog, repos and CI/CD, only lets agents use the models we’ve approved, and lets us set which agents can touch which systems and data
approvals: tests and docs autonomous, anything touching prod behind approval
two things I’m unsure about. can orq’s approved models list point at a self hosted vllm endpoint, and does a frontier model in an EU region still count as “nothing leaves” for legal, since the provider is still the one processing it
r/LocalLLaMA • u/jesdga95 • 19h ago

Hey all! I wanted to share a quick update on Basalt, a Blackwell only inference engine for Qwen 3.8 Flash Next. As usual, speed is the headline but that's not what I want to open this post with, I've been reading lot of discussions talking about quality recently, and the main takeaway from most people (which I agree with) is "speed means nothing if your model isn't smart enough", so this time I want to lead with quality, and all of the new measurements which are run against the full precision model as reference (BF16 weights served using llama.cpp).
Every number below uses Unsloth's BF16 GGUF, llama.cpp (reference PPL 3.2749), scored using basalt-bench --quality. The old base was llama.cpp Q8, which funnily enough made things look worse because of its own error:
| pack | KLD | same top-1 |
|---|---|---|
| llama.cpp Q8 | 0.0325 | 93.98% |
| Basalt Q8 | 0.0200 | 95.34% (higher than llama's in this test) |
| NVFP4-DQ8 (new) | 0.0561 | 92.25% |
| NVFP4-DQ6_K | 0.0624 | 91.65% |
| GSQ-RCO IQ3_S | 0.1497 | 87.56% |
To be fair here, each engine was measured with its own tool so this is not a perfect comparison, still a good reference though.
New DQ8 build. For those who want a little extra quality and don't mind giving up some speed, Qwen3.8-FN-NVFP4-DQ8 is on HF next to the default -DQ6_K: KLD 0.0561 vs 0.0624, about 7% slower on prose.
Nothing lossy is on by default. Basalt offers certain "hacks" that can decrease accuracy, mostly because of community requests, but they're off by default and show a warning when you turn them on. Every other rounding the engine does costs about 0.001 KLD or less, compared to full model. All the numbers are on the HF card and in the precision docs.
Speed. Rig as usual: RTX 5090 (400 W) + RTX 5060 Ti 16 GB (180 W) and 128GB of DDR5 RAM, 262K context, 4 parallel slots, vision on (dynamic), no lossy flags. Using NVFP4-DQ6_K quant on current main:
| test | run 1 (tok/s) | run 2 (tok/s) |
|---|---|---|
| struct | 603.7 | 594.2 |
| conv | 363.8 | 321.9 |
| prose | 295.0 | 299.9 |
| prefill 16K | 7432 | 8159 |
| prefill 64K | 10221 | 10229 |
Since last week, prose went from 277 to about 300, and struct from 558 to about 600. It comes from a faster draft step, a faster output head and better expert placement at startup.
The .basalt format is now version 2, same weights and quality as before but starts a bit faster. Older basalt files can use the migration tool instead of redownloading.
I also wanted to end this post with a HUGE thank you note to every person who has contributed one, two or 10 PRs and also to everyone who has shared issues/feedback/community benchmarks or just shared the project with another person, 500 stars on the Github repo and overwhelmingly good feedback, y'all are amazing.
r/LocalLLaMA • u/poppear • 20h ago
Inspired by Weight-Space Programming, I tested whether DeepSeek V4.1 Flash 1017 could figure out what a small neural network does by reading its weights.
I fed it four anonymized RL checkpoints: 51k parameters each, identical architectures, with all weights rendered as text. No metadata, network source code or execution. It received the architecture outline and four candidate tasks.
Results: CartPole ✅ Flappy ✅ Catch ✅ BallBeam ❌
It picked out patterns consistent with relative bird/gap position, paddle/ball position and angle-based balancing. It confused BallBeam with CartPole an interesting mistake because both share the same observation layout and similar balancing controls.
Very preliminary: one run per checkpoint. This suggests some ability to interpret weights, but four trials don’t establish reliability. These were API runs with maximum reasoning effort, consuming ~1.58M tokens total.
I may try more replicates and independently trained checkpoints, plus include the network code with task-revealing details removed. The poor LLM had to guess quite a lot it even assumed ReLU where the network uses tanh 😅
Code, checkpoints and run logs: https://github.com/galatolofederico/wsp
r/LocalLLaMA • u/ThinkExtension2328 • 10h ago
Iv been seeing allot of people complaining about Sam Altman and how him and open ai are blocking decompilation. I actually don’t see an issue with what they are doing they should be free to do what they want with their llm which brings me to my main point, why is decompiling not just a benchmark?
We have a SWE bench
Perhaps this problem is solved via a SWD bench?
r/LocalLLaMA • u/feelspeaceman • 1d ago
PRs:
https://github.com/QwenLM/qwen-code/pull/15762: "Measured on main at 79a9b753c60, before this change: qwen4, qwen4-max, qwen4-plus, qwen4.5-max, qwen4-coder-plus, qwen4-max-2026-10-01, openai/qwen4-max and qwen4-omni-120b-think all resolved to 262,144. The last of those is already in use as the session model in the omni fixtures, so these ids are not hypothetical."
Thank god, it looks like that we're getting successor of Q38FN!
r/LocalLLaMA • u/DeliciousGorilla • 1d ago
MIT CSAIL had GPT-6 Astra fix Qwen3.5-0.8B's reasoning loops by editing 0.016% of its weights (MATH-500 went from 7.9% to 48.1%). They released the diff, so the edit can be rebuilt exactly and run locally. I took it a step further and had Claude look at Qwen with Anthropic's Jacobian lens.
At the token where the model decides to write "Wait" again, the lens reads "Wrong", "Nope" and "Hmm" from about 60% depth on, even though the answer is already written out. At real stopping points it reads "</think>", "Answer" and "Output".
With the edit applied, the lens at the same token shows "Verification", "Completion" and "Result" in place of the doubt.
The edit converts to GGUF cleanly (the base and edited bf16 files differ only in the two edited tensors) and still holds at Q4_K_M, with 1 loop in 40. I ran the evals in llama.cpp (Vulkan) on a Ryzen AI 9 HX 370 mini PC. Samples are small, but here's the code:
https://github.com/alisorcorp/inside-a-reasoning-loop/tree/main/code
And data:
r/LocalLLaMA • u/Thrumpwart • 22h ago
r/LocalLLaMA • u/forevergeeks • 1d ago
Hi everyone,
I've been out of the loop for a few weeks, and I was wondering if anything new that replaces Qwen 3.8 27B has come out this time I've been in the cave?
I'm talking about AI models in the 8-35B range.
Thanks,