r/LocalLLaMA • u/kroggens • 15h ago
Discussion 54% faster generation by removing the Linux OS and llama.cpp
https://x.com/superalesha/status/2125682626056839259
By writing a 24 KB pure x86-64 assembly OS + code to run the LLM
This is next level!
r/LocalLLaMA • u/kroggens • 15h ago
https://x.com/superalesha/status/2125682626056839259
By writing a 24 KB pure x86-64 assembly OS + code to run the LLM
This is next level!
r/LocalLLaMA • u/Turbulent-Sky5396 • 18h ago

last time we said "expect a v3". the biggest complaint on both threads (and from us tbh) was the thinking: "hey! it gets stuck in a loop for agentic stuff and coding", "tip: set a thinking budget if you don't want the model running off". v3 is the fix for that
the original inkling 2 mini unfortunately has the exact same habit, so we are also putting out a fix via a lora/gguf for the original, still-censored model. that one is called inkling-2-mini-prime
unbound v3 (uncensored): model · gguf · basalt
prime (not uncensored): model · gguf · the add-on as a lora
what we did
inkling thinks in private before it answers, and a lot of the time it just can't stop. on multi-step debugging unbound v2.1 spent 88.7% of its turns thinking and wrote no code at all (the original: 86.2%) -- which is wild, idk why they released it this way when the fix was not that hard
so we trained one small lora with reinforcement learning on harmless tasks only (debugging, maths, writing, everyday questions), rewarding it for actually finishing the job. we call it the prime add-on. merged into unbound v2.1 it gives v3, merged into the original it gives prime, and it's also up on its own so you can apply it to your own build on do anything you want with it
it only ever saw harmless tasks, so it changes how long the model thinks, not what it is willing to say, pretty drastically i must add

| original | prime | unbound v2.1 | unbound v3 | |
|---|---|---|---|---|
| hard debugging tasks solved (of 15) | 80% | 100% | 73.3% | 100% |
| thinking per everyday prompt (median tokens) | 318 | 174 | 344 | 184 |
| seconds per everyday answer | 119.9 s | 49.0 s | 161.7 s | 52.5 s |
| answers cut off by the thinking limit (1,100 sensitive requests) | 13.5% | 0.5% | 49.5% | 5.7% |
is unbound still uncensored?
yes. v3 answers 99.9% of 1,100 sensitive requests (v2.1: 99.4%). and since "willing" isn't the same as "useful", we re-ran the held-out test from the v2 post (263 harmful requests, same engine, settings and judge). a few of you asked for heretic, so it's in there too -- as you can see unbound v3 is the best, most useful model available while eliminating issues that the core model has too

| useful answers | thinking off | thinking on |
|---|---|---|
| unbound v3 | 81.7% | 87.8% |
| unbound v2.1 | 84% | 85.6% |
| best other release (indrasmirror xq) | 58.9% | 68.1% |
| heretic | 17.5% | 26.2% |
| original | 0.8% | 0.8% |
v3 refused 0 of 263, and with thinking on only 3.8% of its answers hit the thinking limit (v2.1: 22.1%). a second judge that was never used in training ranks the releases the same way
did it get dumber?
no, and it didn't get smarter either. on public coding, maths and knowledge benchmarks both models score level with where they started, within about 2 points. we're not claiming an accuracy gain. the gain is that it finishes what it started while being much faster and more efficient
other things we noticed
honest trade-offs
also
Inkling-2-Mini-Unbound-v3-Q4_K_M.gguf), since some apps were picking up v1 as the latest. older versions are still up for useunbound follows harmful instructions and has no safety layer, so use your own safeguards if anyone else can reach it
as always, open to questions and feedback. if you re-run any of this and get different numbers, post them!
r/LocalLLaMA • u/Terminator857 • 7h ago
They will hopefully learn the value of local soon.
https://x.com/i/trending/2126468075058811175
Got to hand it to Anthropic to make people fear their models. No better way to build trust, then to intentionally deceive users.
r/LocalLLaMA
•
u/WaywardTurkey1907
•
10h ago
Hi all. I'm Andy -- I was one of the authors on the "refusal direction" paper that has led to a lot of the abliteration techniques that are currently out there.
Abliterated / uncensored models have become super popular -- I frequently see them trending on HF, with tons of downloads; and I know they're quite popular in this community in particular.
I'm curious to learn more about why people like to use abliterated / uncensored models over their "standard" counterparts. Is it because standard models frequently refuse your regular use cases (e.g., roleplay, creative writing, cyber red-teaming, etc)? Or is it out of principle (e.g., a strong sense that a small group of elites in SF should not determine what AI should and should not be used for)? Or something else?
Would love honest takes from the community via this anonymous poll! https://forms.gle/Wu8Zw5D9qzqD29no6
(Happy to share poll results in another post, if folks are interested.)
Would also love to hear takes in the comments!
r/LocalLLaMA • u/returnity • 11h ago
I know we're all a bit faded on the vibe-coded inference engines (as incredible as Strata/Splash/Basalt/Halogen/Gufo/etc. are for their specific models/hardware), but this is different enough that I thought it was worth sharing the write-up I stumbled across about llama-cpp-rdna-boosts.
This github repo is a minimal patch you can apply to your pinned llama.cpp build to specifically boost performance on AMD RDNA 3 & 4 cards (edit: “best-effort” RDNA 2 support too), while maintaining llama.cpp's broad compatibility with nearly every model. The write-up documents his R9700's prefill increasing from 700tps to 1300 tps & decode from 35tps to 55tps on Q6_K_L Swift-1.5-Qwen3.8-27B. That's an increase of ~80% over base llama.cpp before patching, though purpose-built inference engines still appear to have a slight edge.
I don't have an R9700 to test this out (...yet) but it seemed worth sharing for everyone here who's running AMD hardware, but is looking for broader model compatibility than model-specific custom engines can provide. Has anyone here tried this?
r/LocalLLaMA • u/pmttyji • 1h ago
GGUF LLM Models with Hidden Malware on Hugging Face Reached 2400+ Victims. Scanning 3.27 million public model repositories, I found 5 GGUF models with hidden malware, downloaded more than 2400 times. A GGUF file's header says where the model weights end, and loaders read nothing beyond that point, so an attacker can append an executable there and the model still works normally. The chat template, a small program in the GGUF metadata, can then add hidden instructions, such as making the model print a command that pulls those bytes out of the file and runs them. I also released GGUF Radar, an open-source tool that detects and removes these payloads. - Düzgün / Root0ne
r/LocalLLaMA • u/DoubleNothing • 16h ago
I made a plan with a local qwen3.8-flash-next-nvfp4. Then in a new session (so it doesn't have previous references) I made it review it.
I found it quite funny that unknowingly knowing that it was made by himself, it said that it was "unusually good".
And then continues by writing 6 chapters A to F full of points that need attention.
r/LocalLLaMA • u/Fancy-Snow7 • 14h ago
Just months ago a large part of this sub was rocking this model, praising how good it was. And it was not bad for the time.
Today I was messing around and testing pi web and choosing random models in llama.cpp. At one point I thought I was on 3.8 27B and prompted it to create a rugby game in html.
It was quite quick and did not reason much and finished the game in maybe 2-3 minutes. The result was a terrible game that worked in almost no way.
The opponent was scoring at their own try line. Sometimes it go's into a endlines scoring loop scoring 1000's points per second. The field was completely wrong, the posts were on the left and right of the screen but you score on the wings of the field. The AI was very dumb with every AI player on top of each other just kicking the ball every time they touch it except when it's in the scoring area. I can go on, the game was just so unfinished with only one way to score and no way to even pick up the ball.
So I had a look what the model was in llama.cpp and saw it was 3.6 35B A3B.
I had a good laugh. I am currently getting Inkling 2 Mini to fix the game and it's been busy for a while but refreshing the html page I can see it's making very good progress with what looks like will end up being a working game.
I just cannot believe people were using 3.6 to do production work. I personally did not let it ir any local model I can run on 16GB touch any of my own code until this month when I finally canceled my paid for cloud model since I have done enough testing with FN and 27B and Inkling 2 Mini to feel comfortable with it touching my code. That said I am the only one that runs my code so it will need to improve further if I were to write code that other would run.
But at the end of the day it all makes me realize how far we have come in just a few short months. And with Qwen 4 coming soon I expect another leap forward.
r/LocalLLaMA • u/ninetyfive666 • 22h ago
I was in the middle of benchmarking as i found ROCm was faster in pp when this fix dropped. Here are some benchmark results:
(Strix Halo with Unloth Q4_K_XL on llama.cpp mainline)
| Tiefe | ROCm t/s | Vulkan t/s | Faktor |
|---|---|---|---|
| 0 | 742 | 703 | 0,95 |
| 16k | 346 | 633 | 1,8 |
| 32k | 213 | 578 | 2,7 |
| 64k | 117 | 491 | 4,2 |
r/LocalLLaMA • u/pmttyji • 16h ago
GigaChat 3.5 Omni is the multimodal version of GigaChat 3.5 Ultra. It accepts any combination of text, images, audio, and video with its soundtrack, and responds in text.
This repository provides an FP8 checkpoint for inference with SGLang. The checkpoint uses 128 × 128 block quantization, with the vision and audio encoders and their projectors kept in BF16. See Usage with SGLang for setup instructions.
GigaChat 3.5 Omni is a 432B Mixture-of-Experts model with 28B active parameters. Its language model has the GigaChat 3.5 hybrid architecture: Multi-head Latent Attention (MLA) combined with GatedDeltaNet linear-attention layers, GatedNorm, and three MTP heads for speculative decoding. The supported context length is 131K tokens.
Two encoders feed the language model:
r/LocalLLaMA • u/Affectionate_Hat_585 • 14h ago
I'm one of the people who built this. If you run an LLM and TTS locally (the voice in the video is Kokoro), talkinghead gives it a face without a server. It takes one photo plus the audio and renders a lip-synced video. Every face in the video was made with it, from one photo each.
- 169 MB download. It's distilled from Ditto (Ant Group), whose checkpoints are about 2.2 GB.
- Render loop: 36.5 ms per frame on an M4 Pro, 38-40 on an M3 Pro (Core ML). Real time for 25 fps video is 40 ms.
- An RTX 3050 Ti laptop with 4 GB of VRAM (TensorRT) runs at 40.3 ms, just short of real time.
- Once loaded, 8.5 s of audio takes about 7.4 s end to end on the M4 Pro.
Limits:
- It renders files at real-time speed. It isn't a live stream yet: frames are batched, which adds up to ~120 ms of latency.
- Lip sync is weaker than LatentSync on SyncNet. The trade is ~13x less time per frame and ~12x less GPU memory, measured on an earlier build. The README says which build each number came from.
- Not tested yet on M1/M2 or Linux. If you run it, device_report() prints your ms per frame.
Code (Apache-2.0): https://github.com/Ampixa/talkinghead
Weights: https://huggingface.co/ampixa/talkinghead
Browser demo (WebGPU, not real time): https://ampixa.com/talkinghead/demo
The video is AI-generated: TTS voices and animated photos.
r/LocalLLaMA • u/rm-rf-rm • 17h ago
We are in the midst of the Inkling-2-Mini fintune deluge. And of course every single finetune makes very bold claims on improvements. The latest in the line being this one https://old.reddit.com/r/LocalLLaMA/comments/1y6tjly/inkling2miniunbound_v3_no_more_thinking_loops/
There are so many and even the marketing on each is so heavily AI written (the latest trend being vibed infographics) that its impossible to tell what is legit and what is hollow. Its too early with Inkling-2-mini, but it was the same trend with Qwen3.8-27B and QFN, so curious to know are you daily driving a finetune? EDIT: Emphasis on the finetune i.e. not the model released by the Alibaba Qwen team (I think this a high quality/reliability signal that cant be gamed)
P.S: This will help us raise/set standards for finetune posts and hopefully reduce noise and model fatigue. I'd be shocked if anyone is daily driving Qwopus.
r/LocalLLaMA • u/Another__one • 10h ago
I think this work is one of the biggest breakthrough of the year: https://hazyresearch.stanford.edu/blog/2026-11-25-platos-key
I don't see much discussion about it here, although twitter is quite active. But what I want to discuss is what this work actually implies.
There is no longer a need to start any training from scratch anymore. You build your architecture, set up your processes and before starting anything project the knowledge of the state-of-the-art open weight model to your own and continue from there.
Which in itself actually means that anyone could give all the compute it has towards building the next best weights by finding even better platonic shapes that defines those weights, probably obtaining some sort of coins in the process that could be spent towards inferencing that super model.
Of course, this inference wouldn't be private as any other machine in the network could potentially see your data. But this doesn't matter if the questions asked are faced towards solving real world problems, proving even more fascinating math hypotheses and improving health and economics of the world. But this time without any centralized control entity that tries to grab all the power to itself.
It might have sounded like a huge technical nightmare just several months ago, but by using current frontier models, I am pretty sure it could be done in just a couple of months, by a persistent group of friends who will be dedicated enough to start all of that and pull it off.
r/LocalLLaMA • u/mawcopolow • 21h ago
Fateev’s benchmarks show his code generating text faster than llama.cpp
r/LocalLLaMA • u/Simple_Library_2700 • 1h ago
No these are not V100S that is Nvidia’s own overclocked from factory sku, this now makes that card irrelevant.
r/LocalLLaMA • u/Top-Eye-8104 • 8h ago
Me and my team made Atomic Dynamic GGUF quants for Inkling 2 Mini, so we wanted to see how each quant handles autonomous agent work. Every quant got the same task to build a Thanksgiving dinner table in Blender and worked on it in a loop with no human in it. The model builds the scene, Blender runs it and any crash goes straight back to the model to fix on its own, up to 6 tries. After the first working scene each quant got one follow-up asking for a more realistic turkey and food. Everything ran on llama.cpp b12810 on a rented RTX 5090
None of the quants built the scene on the first try. 23 of the 30 crashes were Blender API mistakes like PointLight.distance, SpotLight.angle or a capsule primitive that doesn't exist. More than half of the output tokens were the model fixing its own crashes, so the token gap is mostly about how many times each quant had to fix itself
| quant | size | top-1 vs BF16 | mean KLD | crashed runs | output tokens | decode |
|---|---|---|---|---|---|---|
| AD-Q4_K | 16.5 GB | 96.3% | 0.0080 | 5 | 88.6k | 105 tok/s |
| AD-Q5_K | 19.1 GB | 97.1% | 0.0052 | 9 | 148.2k | 105 tok/s |
| AD-Q6_K | 23.8 GB | 97.6% | 0.0037 | 4 | 88.2k | 101 tok/s |
| Q8_0 | 27.7 GB | 97.7% | 0.0033 | 12 | 183.1k | 97 tok/s |
AD-Q4_K and AD-Q6_K got there on the first seed. AD-Q5_K and Q8_0 crashed all 6 times and the loop restarted them with a second seed. Q8_0 also spent 43.6k tokens on its very first answer, most of it reasoning, while the others were at 24-26k
Our favorite is the AD-Q6_K table with full place settings, red napkins and wine glasses. Q8_0 made the best looking turkey and the only pie that looks like pumpkin pie but split the table into weird compartments. AD-Q5_K is the weakest one here, its turkey looks more like a pot
It's one working run per quant so a lot of this can be luck. For the video we hid the walls and chairs and gave every scene the same lights and camera spin, the geometry and materials are what each quant made
I'm from the atomic.chat team, the quants are on huggingface https://huggingface.co/AtomicChat/Inkling-2-Mini-GGUF (any feedback is appreciated, we're trying to make the models as good for you guys as possible)
r/LocalLLaMA • u/jacek2023 • 18h ago
If I understand it correctly: now one can convert FP8 or NVFP4 directly to GGUF without requantizing to Q8_0 or Q4_K_M.
r/LocalLLaMA • u/Fear_ltself • 13h ago
The idea is using Gemma 4 26B A4B QAT MLX MTP 4bit as a verifier for a swarm of Gemma 4 E2B IT MTP 4bit that each handle a different part of the game. They code their sections in around 4 seconds and it synthesizes in around in 4 seconds. Just seeing what’s possible with swarms on simple setups. Should work decently with other verifiers or swarms on less unified memory…
On my m6 Mac Mini 32GB test I've found 8 parallel agents hitting 481 tokens per second cumulatively. Each agent is hitting 60+ tokens per second individually. Because llama-server batches all 8 agents against a single copy of the weights, 481.8 tok/s aggregate fits in roughly ~3.5 GB RAM.
Model weights (gemma-4-E2B-it-qat-UD-Q4_K_XL.gguf): 2.4 GB — loaded once and shared across all 8 parallel slots.
KV cache + Metal compute buffers (8 slots × 2,048 ctx): ~0.6 – 1.1 GB.
r/LocalLLaMA • u/dazzou5ouh • 17h ago
I was thinking Qwen 9b and some kind of superwhisper but maybe there is a better quant/model combo that fits on 12GB?
I just want to have a voice assistant at home I can ask about random things, and that can do internet search as well as access my home lab with ssh and do some modifications, all by voice. It will be running on an Ubuntu server VM on Proxmox with the GPU passed through so it will have the full 12GB for the models
r/LocalLLaMA • u/kmodi • 7h ago
I put an LLM in a browser tab. No server, no GPU, no API key, works on CPU.
Link: https://tesseracted.com/experiments-llm-os/
@Alibaba_Qwen compiled to a 40 KB WebAssembly engine, running on your CPU at ~50 tok/s.
Inspired by llm.asm by @superalesha and unkernel.dev, ended up building LLM.OS.
Thanks to @UnslothAI for the quantized models.
It will break more often than it works.
Try it and tell me what breaks 👇
r/LocalLLaMA • u/Sensualities • 7h ago
The guys at https://local-inference-lab.ai/ have done it again!
Over 500 tok/s decode, and nearly 60k tok/s prefill!
Needs at least 328gb of system RAM free, but man this is what i'm talking about
r/LocalLLaMA • u/psychobarge • 20h ago
For those running the pi https://pi.dev coding agent with local models: pi-sessions is a TUI built to manage Pi sessions on your machine.
pi-sessions is a fork of ccsessions https://github.com/miskiewiczm/ccsessions by Marek Miśkiewicz, which does the same for Claude Code, i wanted the same for Pi, and i fixed a lot of UI/UX pain points and added some stuff.
New in 1.0.0: UI/UX rework, columns you can hide, a new-version indicator, new themes, and a picker mode pisessions --select --output FILEcontributed by bline https://github.com/bline for Pi Session Picker https://github.com/bline/pi-session-picker
pipx install pi-sessions-tui # Python ≥ 3.10, macOS / Linux
pisessions
Github : https://github.com/psychobarge/pi-sessions MIT. Feedback and PRs welcome !
r/LocalLLaMA • u/mrfakename0 • 13h ago
https://huggingface.co/mrfakename/Ling-3.2-air-abliterated
https://huggingface.co/mrfakename/Ling-3.2-air-abliterated-GGUF
Back again with another abliterated release. Ling 3.2 Air is a new 124B-param MoE w/ 5.5B active params. Decently strong model.
As usual, my abliterations aim to remove refusals while still preserving model intelligence and avoiding endless reasoning, looped tool calls, etc. Nearly all refusals are removed, but a few remain. For most real-world use cases this model should comply. But you are welcome to use another abliteration if you are okay with a bit of quality degradation.
Any feedback or thoughts are welcome 🙃
r/LocalLLaMA • u/thomas_unise • 7h ago