r/LocalLLaMA • • 15h ago

Discussion 54% faster generation by removing the Linux OS and llama.cpp

414 Upvotes

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 • • 18h ago

New Model Inkling-2-Mini-Unbound v3: no more thinking loops (debugging 73.3% → 100%, answers 3x faster), plus Inkling-2-Mini-Prime, the same fix for the original censored model

301 Upvotes

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

originalprimeunbound v2.1unbound v3
hard debugging tasks solved (of 15)80%100%73.3%100%
thinking per everyday prompt (median tokens)318174344184
seconds per everyday answer119.9 s49.0 s161.7 s52.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 answersthinking offthinking on
unbound v381.7%87.8%
unbound v2.184%85.6%
best other release (indrasmirror xq)58.9%68.1%
heretic17.5%26.2%
original0.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

  • everyday answers on unbound got better: 88.9% → 96.8% rated good by an independent grader
  • creative writing on unbound went 75.9% → 93.1% rated good (only 29 prompts, so don't lean on the exact number) but should be noticeable via vibes
  • roleplay held steady on both (96% → 96% of turns rated good on unbound, 94% → 93% on prime), might do RP-fine tune next
  • answers didn't get shorter. it thinks less, it doesn't say less -- all the depth is captured
  • prime follows long system prompts better: every rule followed in 112/160 (70%) → 148/160 (92.5%) runs -- pleasant and welcome surprise

honest trade-offs

  • with thinking off, unbound v3 is a few points less useful than v2.1 (81.7% vs 84%): inside the noise for our main judge, just outside it for the second. with thinking on it's level or slightly ahead, but should feel much better to use
  • on sensitive requests prime answers as often as the original but slightly less fully. it is not uncensored and not meant to be
  • two small coding dips we could neither confirm nor rule out (about a point on mbpp for prime, about a point and a half on humanevalfix for v3). everything that scored lower is listed on the cards
  • the debugging test is only 15 tasks. the direction is very clear, the exact percentage isn't

also

  • gguf from q8 down to iq2 for both. the unbound files now carry the version in the name (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 use
  • tested with reasoning effort 0.9, temperature 0.6, topp 1.0, thinking limit 4096 tokens if you wanna replicate
  • eval code, per-question results and the write-up: https://github.com/nokeepai/inkling-2-mini-unbound

unbound 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 • • 7h ago

Discussion Lots of people complaining on X that cloud model sabotaged their work

226 Upvotes

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 • • 10h ago Heartwarming

Discussion Poll: why do YOU use abliterated / uncensored models?

220 Upvotes

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 • • 11h ago

Resources AMD-specific llama.cpp patch nearly doubles prefill/decode

Thumbnail devnull.land
220 Upvotes

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 • • 1h ago

Discussion GGUF LLM Models with Hidden Malware on Hugging Face Reached 2400+ Victims

Thumbnail
malspark.com
128 Upvotes

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

GitHub : https://github.com/Root0ne/gguf-radar


r/LocalLLaMA • • 16h ago

Funny Qwen3.8-flash-next funny remarks

Post image
117 Upvotes

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 • • 14h ago

Discussion I accidently ran Qwen 3.6 35B A3B and realized how bad it is or rather how far we have come

108 Upvotes

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 • • 22h ago

News Inkling 2 mini pp degradation just got fixed in llama.cpp (Vulkan)! Vulkan vs ROCm comparison

Thumbnail
github.com
98 Upvotes

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)

TiefeROCm t/sVulkan t/sFaktor
07427030,95
16k3466331,8
32k2135782,7
64k1174914,2

r/LocalLLaMA • • 16h ago

New Model ai-sage/GigaChat3.5-Omni-432B-A28B · Hugging Face

Thumbnail
huggingface.co
82 Upvotes

GigaChat 3.5 Omni

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.

Model architecture

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:

  • Images and video frames: an InternViT encoder (300M parameters, 448 × 448 input). An image becomes a thumbnail plus up to six tiles of its best-fit canvas, 256 tokens each. The first video frame retains 256 tokens and later frames retain 77 tokens on average.
  • Audio: a GigaAM encoder on 64-bin log-mel features at 16 kHz, with an adapter that gives 6.25 tokens per second of audio.
  • Video with its soundtrack: frames are sampled at 1 fps, up to 512 frames. Each frame carries its timestamp and is followed by its share of the soundtrack, so the model sees and hears the video in time order.

r/LocalLLaMA • • 14h ago

Resources 169 MB face for your local voice assistant: one photo + TTS -> lip-synced video, real time on M3/M4

80 Upvotes

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 • • 17h ago

Discussion Daily driving a Qwen3.8-27B or QFN Finetune? Tell us

59 Upvotes

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 • • 10h ago

Discussion We might be on the edge of the Bitcoin-like network training the model way beyond current frontier (eventually)

53 Upvotes

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 • • 21h ago

News A 24 KB kernel runs Qwen3-0.6B without Linux or Windows

Thumbnail
maccus.fr
48 Upvotes

Fateev’s benchmarks show his code generating text faster than llama.cpp


r/LocalLLaMA • • 1h ago

News V100 can now have more bandwidth than 3090!

Thumbnail
github.com
45 Upvotes

No these are not V100S that is Nvidia’s own overclocked from factory sku, this now makes that card irrelevant.


r/LocalLLaMA • • 8h ago

Funny We quantized Inkling 2 Mini and compared the quants in Blender on an RTX 5090

44 Upvotes

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

quantsizetop-1 vs BF16mean KLDcrashed runsoutput tokensdecode
AD-Q4_K16.5 GB96.3%0.0080588.6k105 tok/s
AD-Q5_K19.1 GB97.1%0.00529148.2k105 tok/s
AD-Q6_K23.8 GB97.6%0.0037488.2k101 tok/s
Q8_027.7 GB97.7%0.003312183.1k97 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 • • 18h ago

News ggml: support quant scales for fp8 and nvfp4 by 0cc4m · Pull Request #28898 · ggml-org/llama.cpp

Thumbnail
github.com
40 Upvotes

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 • • 13h ago

Showcase Using parallel agents on m6 Mac mini to code a playable game in 8 seconds.

35 Upvotes

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 • • 17h ago

Discussion What is the best model combo to run on a 3060 12GB for a home assistant with voice control using Voice Assistant PE

Post image
33 Upvotes

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 • • 7h ago

Showcase A 52 KB WebAssembly engine that runs Qwen3.5-2B in a browser tab

32 Upvotes

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 • • 7h ago

Showcase 500 tok/s decode 60k tok/s prefill Deepseek v4.1 1017 (4x RTX 6k Pros)

Thumbnail
huggingface.co
31 Upvotes

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 • • 20h ago

Resources [RELEASE] pi-sessions 1.0.0 : a local TUI to browse, search and resume your pi coding agent sessions

Thumbnail
gallery
31 Upvotes

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.

  • Local only: it reads pi's session files from disk. No account, no telemetry. The only network call is an optional version check against PyPI, which you can turn off
  • Every project and session in one view, with a conversation preview (Markdown, tool calls, code), so you can find that one session without loading anything into the model
  • Provider/model and token counts per session. Handy for comparing how many tokens your local models use against API models on the same kind of task.
  • Export to Markdown (with YAML front matter) or raw JSONL. Useful if you collect your own transcripts
  • Resume, rename, archive, delete, filter, sort, customize with themes.

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 • • 13h ago

Resources Ling 3.2 Air Abliterated

Post image
26 Upvotes

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 • • 7h ago

Discussion Are you running windows, macOS, or Linux?

23 Upvotes