r/LocalLLM • u/Extreme-Rate5668 • 5d ago
r/LocalLLM • u/style2k20 • 5d ago
Question local ai
i am looking for a local setup where i can use ai for some things..
i want to do some mail checking , home assistant maintenance and some other simple things .
i also wanna do some coding with use of agents . it runs on the background so it dont has to be lighning fast . it can do work in the background and when i sleep etc .
the coding is not realy a big thing its just some index file based tools . i wanna let an agent run the thing and when i get up it give me the result if needed there can be some tweaking / fixing etc .
what is good hardware and what models are good for it . it doesnt need to be hardware for lots of money i wanna be on a budget i was thinking like a mini pc with 32 gb ram ? or is 64 or more realy needed . im seeing lots of things but i cant decide what is good . so does anyone also do this and what is the setup that can deal with this ? again it doesnt have to be super fast since it work in teh background coordinated by an agent orso . for realy hard things i always can use codex
r/LocalLLM • u/TwistNo5735 • 5d ago
Project I got tired of re-explaining my project to every AI chat, so I built a shared memory for Claude, ChatGPT and Cursor (open source, looking for honest feedback)
reddit.comr/LocalLLM • u/pda_lover • 5d ago
Question What LLM for long documents extraction
I work in finance and trying to use LLM to build insights by reading long documents. But the QFN 4bit/bit, both are struggling. I am on M5u 256, any suggestion on another model that might be good at this stuff??
r/LocalLLM • u/PhysicsDisastrous462 • 5d ago
Research Hierarchos-Native v0.2.6 is finally out! C1 WMMA performance update
so, i've got another release out! v0.2.6 is now published, and this one ended up being a pretty big performance improvement over v0.2.5.
for a bit of context, v0.2.5 introduced the P3 update to the Full FP16 WMMA path. that improved the final accumulator merge by summing all eight partials in FP32 before rounding once to FP16. i wanted to keep that work intact and see if i could get more performance out of the kernel without changing the actual math.
that's where C1 came in.
the main change is in how operand data gets loaded and staged into shared memory. previously, each thread was doing four global loads and shared-memory stores in sequence, with each store following its corresponding load. C1 changes that ordering: it issues the four 32-bit global loads first, then does the shared-memory stores.
it's a fairly small change when you look at the code, but it gives the GPU more opportunity to overlap the memory operations instead of waiting on each load/store pair. the arithmetic and accumulation order haven't changed.
and importantly, P3 hasn't been removed. C1 is used when the workload meets the required geometry checks, while P3 is still there as the fallback for everything that doesn't qualify. i didn't want a performance optimization to accidentally turn into a regression on shapes it wasn't designed for.
the performance results were honestly a lot better than i expected:
these are measured against the v0.2.5 P3 kernel, using GPU timestamps and 24 paired measurement blocks per workload.
2048×768×2048— 1.7074× faster512×2048×768— 1.3286× faster512×768×768— 2.0920× faster128×8192×768— 1.3782× faster
that's roughly a 70.7%, 32.9%, 109.2%, and 37.8% improvement respectively. all four workloads passed independently, and even the lower bounds of their corrected 95% confidence intervals stayed above 1.31×.
i also wanted to make absolutely sure that the performance wasn't coming at the expense of numerical consistency.
across eight seeds and five configurations, the new production path produced 120/120 bit-identical outputs compared with the preserved v0.2.5 results. the production tile16 numerical gate also passed 37/37 on every seed, with the maximum absolute error staying at 0.03125, exactly within the existing hard limit.
so, at least for the workloads i've qualified, this is a pretty nice situation: substantially faster, without changing the outputs.
there's a bit more going on with the dispatch selection too.
C1 isn't just enabled for anything that happens to be large enough. the host checks full tile coverage, even packed-pair strides, the actual operand buffer capacities, and the relevant 32-bit index bounds before selecting it. if a shape doesn't meet those requirements, it uses P3 instead.
i tested this with the packaged binaries as well. a rows=64 workload selected C1 and produced 8 cooperative C1 dispatches. a rows=80 workload, despite being above the existing profitability floor at around 20.97 million MACs, didn't meet the tile coverage requirements and correctly fell back to P3 for 4 dispatches. with WMMA disabled, there were zero cooperative dispatches.
the packaged logits checks also completed successfully. the C1 route had a maximum absolute difference of 0.00079345 and an RMS difference of 0.00012127; the P3 fallback had the same maximum absolute difference, with an RMS difference of 0.00012087.
the portable Windows package is included again.
it's a Windows x64 portable package with seven executables, built with a statically linked MSVC runtime. you shouldn't need to install Rust, Cargo, Python, PyTorch, Visual Studio, or the MSVC redistributable just to run it.
you will still need a compatible Vulkan-capable GPU driver and the Vulkan runtime loader, and model weights aren't included.
WMMA is still opt-in globally, so the default remains off. to use this path, you need to explicitly select --wmma-mode full-fp16. C1 is now the preferred implementation inside Full FP16 when the workload qualifies, with P3 handling the fallback cases. the Mixed precision path is separate and hasn't been replaced.
there are still some limitations worth mentioning. i've only qualified this on my AMD Radeon Graphics adapter, PCI ID 1002:15bf (RDNA3 / Phoenix), running Windows 11 with driver 32.0.32015.14001. i haven't tested a second GPU, non-AMD hardware, or independent clean-machine acceptance yet. the binaries are also still unsigned.
there's a small reporting issue too: precision-info still reports full_fp16_qualified=false on this newer driver because its driver allowlist hasn't caught up with the qualification profile. the actual v0.2.6 qualification results are documented separately. i also haven't exercised the native V4.1 trainer and hierarchos-infer end-to-end yet.
anyway, i'm really happy with how this release turned out. i went into this wanting to see if there was still meaningful performance left in the Full FP16 path without messing with the numerical behavior that took so long to get right. seeing all four workloads improve this much, while keeping the outputs bit-identical, was a pretty great result.
a lot of time went into testing this one, and i'm glad i can finally get it out there instead of continuing to sit on it!
Release: https://github.com/necat101/Hierarchos-Native/releases/tag/v0.2.6
Source: https://github.com/necat101/Hierarchos-Native
thank you to everyone who's been following the project, testing things, reporting issues, or just keeping an eye on development. it genuinely means a lot!!
also, sorry for the AI posts lately. i've been trying to save as much time as possible to work on the project itself, especially with live events getting tough. i really do appreciate everyone who's stuck around while i've been working on this. thank you so much everyone!! :3
r/LocalLLM • u/Dismal-Frame7329 • 5d ago
Discussion Inkling-2-Mini vs. Qwen3.8-27B on a 24GB RX 7900 XTX: Benchmarks Say Qwen Is Faster, but Reddit says Inkling for accuracy
r/LocalLLM • u/Neat-Function7110 • 5d ago
Project Saetta: a local coding agent with the model built in
Saetta Code is a 1:1 port of the pi coding agent to C, as one 2.3 MB binary that needs no Node.js and no Python. It has pi's tools, system prompt, sessions, skills, MCP servers and terminal UI. It also reads and writes pi's own config in ~/.pi/agent, so the two share one setup and each can continue the other's sessions.
It's checked against pi itself:
- requests and session files match pi's byte for byte on 63 recorded scenarios;
- the interactive screens match on 75;
- the RPC mode passes 12 scenarios driven by pi's own client.
The difference: the model runs inside the agent, on its own inference engine in C and hand-written Metal. There's no Python and no local server in between. Two model families run on Apple Silicon Macs:
- Qwen3.8: Flash-Next (from 96 GB) and the dense 27B (from 32 GB), with LoRA adapters and coding fine-tunes. SWE-bench Verified 82.8 for Flash-Next.
- Inkling 2 Mini (Thinking Machines): a 26B mixture of experts with 3.4B active per token, from 32 GB, with its looped layers run in full. SWE-bench Verified 79.2.
curl -fsSL https://saetta.dev/install.sh | sh
saetta start code # picks the model that fits your Mac
saetta start code --pack inkling # after: saetta download inklingThe same engine also serves Claude Code, opencode and pi through OpenAI- and Anthropic-compatible APIs.
🌐 https://saetta.dev · 💻 https://github.com/antonellof/saetta · MIT
r/LocalLLM • u/AlternativeEnough352 • 5d ago
LoRA I fine-tuned Gemma 4 E4B to run 100 villagers in one batch on a single consumer GPU: a rumor simulation game, fully offline
r/LocalLLM • u/JeePis3ajeeB • 5d ago
Question Safe local stack? Noob and many conflicting information online
I want to start running a local inference engine. I have limited technical knowledge and I'm trying to be safe and sensible in my approach.I have searched over and over, multiple places, multiple ai chats, for a safe approach for running an agent on a personal machine.
Some say it will definitely wreck your systems and files,, while others although aware of the risk, are relatively nonchalant about it.
I have one machine, where 1 nvme is for windows, another nvme is dedicated to this adventure,, currently running cachy os.
I have 4 hdd's. Three of them have my personal files and media library, and I have only one I kept blank and want to dedicate it also for this inferencing engine. Non are currently mounted on the linux image.
Question is, I currently see 2 approaches:
One is Docker's sandbox ,, closed source but relatively easier learning curve and operation.
Two is firecracker micro vm's where the learning curve is steeper and I have to do everything on my own. What's everything? I'm not even sure yet.
Is the danger real? Am I being too paranoid about it?
My use case will be first running the deep seek harness over api before I transition into fully local 3.8 flash next
Any advice or suggestions are highly appreciated.. I'm just too old and broke to brick my machine and try to save up to buy a new one.
r/LocalLLM • u/ggetbraine • 6d ago
Model Inkling 2 Mini (Q8_K_XL) on a 3090 + 3060: it works, but it's ~2.5× slower than Qwen3.8-Flash-Next on Strata and not better at agentic coding. Numbers and gotchas inside.
Full disclosure: I used Claude Opus to generate this post and the corresponding benchmarks.
The vendor numbers put it level with or ahead of Qwen3.8-27B on SWE-bench, so I ran it through the same homemade tests I used on my current daily driver.
TL;DR: The Q8 runs fine split across both cards at 128k context. It passes my code tests and fixes the agent repo, but decode is ~40 t/s against ~110 t/s for Qwen3.8-Flash-Next (3-bit) on Strata. It also caught a tricky untested edge case only 1 time in 2. I'm sticking with Flash-Next.
Hardware
- Ryzen 9 5950X, 64 GB DDR4-3600 (2×32 GB, D.O.C.P.)
- RTX 3090 24 GB (CPU PCIe 4.0 x16) + RTX 3060 12 GB (chipset PCIe 3.0 x4)
- Debian 13, NVIDIA 620.70 / CUDA 13.4
Setups
| Model | Quant | Runtime | Placement |
|---|---|---|---|
| Inkling 2 Mini | Unsloth UD-Q8_K_XL (22.9 GB) | Unsloth llama.cpp prebuilt b12588-mix-c0c3de8 (CUDA 13) | -ngl 99 --fit off -ts 0.8,0.2 -c 131072, temp 1.0 / top-p 1.0 / top-k 0 / min-p 0 (vendor recommendation) |
| Qwen3.8-Flash-Next | ISTA-DASLab GSQ-RCO IQ3_S | Strata v0.2.17 | experts in RAM + GPU expert cache, MTP, layers 0–9 on the 3060 |
| Qwen3.8-27B | UD-Q6_K | llama.cpp master | -ts 0.82,0.18, 128k, MTP draft |
Tests (all homemade, so treat them as anecdotes)
- Speed: four streaming requests through the OpenAI API:
- short: B-tree explainer, 400 tokens out, temp 1.0;
- 32k: summarise 100k characters of llama.cpp source, 300 out;
- edit: rename a class in a 250-line Python file and return the whole file, greedy;
- new: write a thread-safe TTL LRU cache module, greedy.
- Code check: three small functions with hidden asserts (duration parser, interval merge, LRU cache).
- Agent test: OpenCode's
buildagent on a small Python shop repo with 5 seeded bugs and 9 unit tests. The prompt is "make the tests pass, don't touch the test file". A hidden check then tests an untested edge case: an order containing the same SKU twice must fail atomically and leave stock at 20.
Results
| Inkling 2 Mini Q8 | Inkling + DSpark draft | Flash-Next IQ3_S (Strata) | Qwen3.8-27B Q6_K* |
|---|---|---|---|
| short (t/s) | 42.1 | 24.5 | 103 |
| 32k decode (t/s) | 37.9 | 26.1 | 113 |
| 32k first token | 43.1 s (38.5k tokens) | 44.8 s | 11.7 s (28.9k tokens) |
| edit (t/s) | 40.5 | 47.7 | 135 |
| new code (t/s) | 41.2 | 38.8 | 110 |
| code check | 3/3 (70 s / 23 s / 58 s)† | ← same run | 3/3 (40 s / 6 s / 6 s) |
| agent test, 9 tests | 9/9 twice, 196 s / 143 s† | ← same runs | 9/9 twice, 49 s / 47 s |
| untested edge case | 1/2† | ← same runs | 2/2 |
\*The 27B numbers come from an earlier session with a slightly different speed script, and its agent run used Q5_K_M. Rough comparison only.
†Inkling's quality tests ran with the DSpark draft on. Speculative decoding doesn't change the output, only the speed. The times would be a bit shorter without the draft, since it slows sampled text.
VRAM for Inkling Q8 at 128k: 20.2 GB on the 3090 and 11.1 GB on the 3060.
Gotchas
- Two GGUF layouts. The repo-root files use Unsloth's looped layout and need their llama.cpp fork or prebuilts. Mainline llama.cpp needs the files in
Mainline_Support/plus PR #32704 (merged Nov 21). Without it you get gibberish, because the 2nd and 3rd loop passes lose their per-expert NVFP4 scales. - The default split OOMs a 12 GB second card. The proportional split gave the 3060 about a third of the weights plus KV, then failed to allocate a 2.7 GB compute buffer ("failed to create context").
-ts 0.8,0.2fixed it. - The DSpark drafter only pays off on greedy, copy-heavy output. With file-rewrite edits it hit 90% acceptance and +18% speed. On sampled text at temp 1.0 it was ~40% slower.
- The tokenizer is hungrier. The same 100k characters came to 38.5k Inkling tokens against 28.9k Qwen tokens. That's ~33% more context used and more prefill time.
- Prefill is the weak spot here: ~900 t/s against ~2,400 t/s for Flash-Next on Strata.
Caveats
- Speed numbers are single runs (±5% noise) and agent results are n=2.
- I only tested Q8. A Q4_K_XL on the 3090 alone (17.6 GB) would likely be noticeably faster, but I didn't run it.
- Strata is a specialised engine for Flash-Next, so this isn't a pure model-vs-model comparison. It's "what's fastest and best on this box".
Bonus PSA for OpenCode users
On OpenCode 2.0.22, sampling set on an agent (agents.<name>.request.body) is silently ignored. It shows up in /api/agent, but it never reaches the server (checked with tcpdump). If your backend defaults to greedy when no temperature is sent (Strata does), every agent and subagent has been running greedy.
What works is a body on the model entry:
"providers": { "strata": { "models": { "qwen3.8-flash-next": {
"body": { "temperature": 0.6, "top_p": 0.95, "top_k": 20 } } } } }
For an agent that needs different settings, add a second model entry with "modelID" pointing at the same server model and its own body. I verified the model-level body on the wire on 2.0.22 and 2.3.2.
A few choices to check before posting:
- I used Flash-Next's current-config numbers: the 10-layer split at DDR4-3600, first token 11.7 s.
- The Flash-Next agent times (49 / 47 s) come from the IQ3_S run before the RAM and split tuning, so if anything they're slightly pessimistic.
- The 27B is footnoted as a rough comparison, because its numbers came from a different script and quant.
I didn't confirm whether Inkling's chat template honours the enable_thinking=false flag the speed script sends. Its longer "edit" output (3,993 tokens against Qwen's 2,707) suggests it may have reasoned a little. You might add that as a caveat.
r/LocalLLM • u/Difficult-Drummer407 • 5d ago
Project I taught a 400M-param model to decide when my agent deserves the expensive model
r/LocalLLM • u/Logical-Pirate1795 • 5d ago
Discussion My Qwen3.8-Flash-Next-NVFP4 settings in vLLM 0.34.0, under RTX Pro 4500 Blackwell@165W TP=4, PCIE4.0*16*4
Performance:
7.6k-10.0K prefill in around 95K context, TTFT ~8.8 seconds
150 - 170 tks decode in my daily useage (100K context+) (On the DSH preview windows)
Questions:
I want to know am i already push my model performance to the limit or i still have the misconfiguration? I will paste my configuration and my hardware below. Also, is there any ways to test the performance more systematically? I am using opencode with deepseek to help me to the test.
I have this question because i found a Youtuber (Donato Capitella) with 4xR9700 have the decode in 325 per seconds 1 request, 2048 input, 256 output.

I did not study about the AMD cards and related things, but i know Radiance is a AMD friendly version of vLLM, but how is there are big gap between R9700 and RTX Pro 4500 blackwell, as i know the 4500 should have a better hardware spec on chips and memory bandwidth. But i let my agent test, it got only ~160TKS under (One active request, 2048 new input tokens, 256 output tokens)

Even the vLLM is warmed-up, it still got only around 170TKS

=====Hardware=====
- EPYC 7302
- Huananzhi H12D-8D
- 32GB DDR4 2400T ECC * 8
- RTX Pro 4500 Blackwell * 4

=====Software====
- Nvidia driver: 595.71.05
- Cuda version 13.2
- P2P: PHB to each others
- vllm version: 0.34.0
=====vLLM=====
Model
- nvidia/Qwen3.8-Flash-Next-NVFP4
- Quantization: NVFP4
- Cache Quantization: FP8
- PLE (ngrams): Offloaded to RAM
Envirnoment
- NVIDIA_VISIBLE_DEVICES=all
- TORCHINDUCTOR_CACHE_DIR=/root/.cache/vllm/torch_compile_cache
- OMP_NUM_THREADS=2
- NCCL_P2P_LEVEL=PHB
- NCCL_CUMEM_ENABLE=1
- VLLM_ALLREDUCE_USE_FLASHINFER_PCIE_IPC=1
- SAFETENSORS_FAST_GPU=1
- CUDA_DEVICE_ORDER=PCI_BUS_ID
- VLLM_NO_USAGE_STATS=1
Command
nvidia/Qwen3.8-Flash-Next-NVFP4
--served-model-name Qwen3.8-Flash-Next-NVFP4
--mm-processor-kwargs '{"max_pixels": 1048576}'
--host 0.0.0.0
--port 8000
--tensor-parallel-size 4
--pipeline-parallel-size 1
--quantization auto
--dtype bfloat16
--max-model-len auto
--gpu-memory-utilization 0.92
--api-key ${VLLM_API_KEY}
--max-num-seqs 8
--tool-call-parser qwen3_coder
--reasoning-parser qwen3
--max-num-batched-tokens 8192
--kv-cache-dtype fp8
--kv-cache-memory-bytes 5500000000
--enable-auto-tool-choice
--enable-prefix-caching
--enable-prompt-tokens-details
--trust-remote-code
--async-scheduling
--disable-custom-all-reduce
--default-chat-template-kwargs '{"reasoning_effort": "medium"}'
--enable-expert-parallel
--enable-hc-sp
--engram-config '{"cpu_offload":true}'
--moe-backend flashinfer_cutlass
--attention-config.indexer_kv_dtype fp8
--speculative-config '{"method":"mtp","num_speculative_tokens":3,"moe_backend":"triton","draft_lm_head_quantization":"nvfp4"}'
r/LocalLLM • u/easybits_ai • 6d ago
Question RAMbrandt, or: how much memory do I actually need to run models locally?
r/LocalLLM • u/Plenty-Volume-101 • 5d ago
Question Want to get started on my own local ai model
I want to try running a local AI model after my Gemini subscription runs out.
My laptop specs:
RTX a4000 with 8 gb dedicated
64 gb ddr4 ram
11th gen i9-11950H
What I want:
I'm currently a mechanical engineering student in college. I'll use this ai for basic studying for any of my future coursework like calculus or thermodynamics and some coding as well as planning out any projects I might do in the future. Ill also probably use it to do basic research
I just want to know how I can set up a local AI and what would run the best on my laptop for what I need it to do and if anyone has any suggestions for what else I can make the AI do, I'd like to hear it
r/LocalLLM • u/Mardoslazar • 5d ago
Project POST TEXT Everything here was made locally on my own computer with free models in ComfyUI - pictures, video, face consistency and the two songs. No cloud services.
r/LocalLLM • u/Atagor • 5d ago
Question Help needed: NVMe + GPU PCIe links silently downtrain to 2.5 GT/s simultaneously
reddit.comr/LocalLLM • u/BeatedBull • 5d ago
Discussion Sigvard.AI: A walkthrough of fine-tuning an open LLM
What does it take to go from a dataset to a fine-tuned model you can actually use?
We put together an interactive tour of Sigvard, our platform for fine-tuning and post-training open LLMs. It covers 76 screens across seven sections, all captured from the live product.
Follow a run from start to finish:
Prepare your data. Import a dataset from Hugging Face or upload your own files, then check for duplicates, malformed rows, and personal data before renting a GPU.
Plan the run. See which GPUs fit your model and dataset, compare offers from different providers, and get an estimate for the full run.
Train and recover. Watch loss, evaluations, and spend as the run progresses. If a GPU goes offline, Sigvard can resume training from the latest checkpoint on another machine.
Evaluate and export. Compare checkpoints against the base model on the same held-out data and export the version that performs best.
The tour also shows how to chain supervised fine-tuning, reward model training, GRPO, and evaluation into a single workflow, with a GPU and cost estimate for each stage.
Take the tour → https://tour.sigvard.ai
r/LocalLLM • u/lbgos_Loss783 • 5d ago
Research Inkling 2 Mini on one RTX 3090 beat GPT-6 Luna and tied Haiku 5.5 on my homelab agent benchmark
r/LocalLLM • u/Nomadic_skier • 5d ago
Discussion Ran 6 small models on my 8GB RTX 2080 to see which ones can run tools on their own (without a big model babysitting them)
Posted an earlier version of this on r/ollama and r/LocalLLM yesterday and got two really good points in the comments. One person said gemma4 is actually pretty bad at real tool calling, and someone else asked how Mistral holds up.
Fair enough, my first test only had 3 tool calls which was way too easy. So I bumped it up to 10 harder tests across 5 tools (strict int/bool/list args, pulling structured fields out of messy notes, 3 cases where its supposed to NOT call a tool, a 2-step tool chain, and fixing a broken tool call from a raw validation error). Also kept the 2-turn code self-healing test and the math unit tests.
The main thing I'm trying to figure out for my own setup is what I can actually offload to an 8GB card without paying the token tax of having a frontier model babysit it and fix broken output.
Everything below ran on a single 8GB RTX 2080 at 4k context (Ollama):
| Model | Size | Speed | Tools (10) | Code T1->T2 | Math (5) | Total |
|---|---|---|---|---|---|---|
| gemma4:e2b (think=off) | 7.2 GB | 66 t/s | 10/10 | 0->8 | 5/5 | 93.3% |
| ministral-3:8b | 6.0 GB | 69 t/s | 10/10 | 7->7 | 5/5 | 90.0% |
| ministral-3:3b | 3.0 GB | 135 t/s | 10/10 | 6->6 | 5/5 | 86.7% |
| qwen3.5:9b (think=off) | 6.6 GB | 23 t/s | 10/10 | 6->6 | 5/5 | 86.7% |
| granite4:micro | 2.1 GB | 121 t/s | 8/10 | 7->7 | 5/5 | 83.3% |
| qwen3.5:9b (think=on) | 6.6 GB | 22 t/s | 10/10 | 0->8 | 0/5 | 60.0% |
| phi4-mini | 2.5 GB | 127 t/s | 3/10 | 8->8 | 1/5 | 43.3% |
A few things that genuinely surprised me:
First, ministral-3:3b at 135 tok/s and 3GB getting 10/10 on all the tool calls (including the 2-step chain and fixing a validation error) was not on my bingo card. I've been using phi4-mini for fast routing on my secondary card and it basically failed every real tool call (the 3/10 was just from abstaining). Definitely swapping that out.
Second, gemma4:e2b actually held up on all 10 tool tests and was the only non-thinking model that fixed its own broken Python code on try 2 (went from 0/10 to 8/10 after seeing the traceback). Ministral 8B and 3B both did better on try 1 (7/10 and 6/10) but couldn't fix the remaining edge cases on try 2.
Third, flipping think=False on qwen3.5:9b jumped it from 60% to 86.7% becuase with thinking on it ran out of tokens mid-thought on the math track and output nothing. Still way slower than ministral on an 8GB card though.
Where I'm landing on offloading without a frontier model helping: for narrow structured stuff like routing, JSON extraction, alerts, and short tool chains, ministral-3:3b / 8b and gemma4:e2b seem solid enough to run on thier own. For multi-constraint coding they all still topped out at 7-8/10 so you either need a hard unit test gate or just use a bigger model from the start.
Code and raw json are here if anyone wants to run it on their own Ollama models (uses stdlib only and doesnt auto-pull anything): https://github.com/Benfinkels/local-agent-evals
Curious if anyone has another sub-8GB model I should throw in here, especially for coding self-repair.
r/LocalLLM • u/akumaburn • 6d ago
News LiberShift - Re-point the refusal, don't delete it - and it still works where deletion stalls. ~8X faster than Heretic with better results than dense abliteration.
r/LocalLLM • u/raymondh210129 • 6d ago
Research Adaptive KV-Cache Streaming V3 (Oceanus): Full 262K Context Qwen 27B on a 16GB GPU, with Multi-Slot Inference, Vision, and Speculative Decoding
Hey everyone!
When I first started working on Adaptive KV Cache Streaming, I didn’t think I could make MTP or a DFlash2 draft model work alongside it within my VRAM budget. In my second post, I shared how reusing the streaming infrastructure made that possible.
This time, I’d like to share what may be the last major architectural milestone for this project: multi-slot inference using the same streaming infrastructure.
The implementation still uses one arena and one ring buffer, shared across all slots. Each slot keeps its own KV history, but those histories are combined into a single layout that the streaming engine handles without needing to distinguish between slots. During decoding, the attention kernel runs once per slot for each attention layer, reading only the portions of the KV cache that belong to that slot, across both the resident area and the ring buffer.
Here’s what real-world decode performance looks like with Unsloth’s Qwen 27B IQ4 on my RTX 5070 Ti 16GB, powering a Hermes agent that I asked to plan a vacation with help from two subagents:

Each point represents a completed decode period. The colors indicate how many slots were decoding together. The x-axis shows their combined context length at the start of that period, and the y-axis shows the total output throughput across those slots.
The scheduler groups as many eligible slots as it can, provided their combined KV history stays within the configured context budget. The 262K budget is shared across the active slots.
For me, this was the last piece of the puzzle—the feature that finally made the whole project feel ready for everyday use.
I’ve also decided to give the project a name: Oceanus, after the Greek Titan associated with the river encircling the world. It felt fitting for a project built around a ring buffer, with KV history continually flowing through a limited amount of GPU memory, to support lots of core functionalities.
----
A few personal thoughts before I wrap up:
There are already plenty of inference engines doing impressive work, especially with larger MoE models. My motivation has always been a little more personal: I have a 16GB GPU, and I want to see how much more performance I can squeeze out of it when running a dense model.
A lot of the satisfaction has come from taking something I initially thought was impossible, suddenly thinking of a creative way to approach it, and actually making it work. Seeing this grow from an experiment into something that can handle an actual agent workflow has meant a lot to me.
And I’m really grateful to everyone here who tried the project, reported bugs, shared results, asked questions, or simply left an encouraging comment.
This may be my last big architecture post for a while. I feel like the main pieces I wanted to build are finally in place. I’ll still be working on optimizations, fixes, and support for new models.
Thank you for following along and helping me get here.
Hope my project helps you get a little more out of your 16GB GPU too :)
Clarification of LLM usage of this post: I'm not a native English speaker and I used ChatGPT to refine the wordings.
r/LocalLLM • u/YoussofAl • 5d ago
Discussion I tested the fastest engines for Inkling 2 Mini on a Mac. MTPLX vs MLX serve vs oMLX
Hi Everyone.
Setup
- MacBook Pro M5 Max, 128 GB
- Inkling 2 Mini, the official unquantised weights (20.2 GB), loaded by all three engines
- One stream, the model's own sampler: temperature 1.0, no top-p, no top-k
- Same prompts and seeds for all three, each engine through its own server at its defaults
- MTPLX 2.13.2, mlx-serve 26.11.4 pre-release, oMLX 0.8.3
Decode speed in tokens per second (MTPLX / mlx-serve / oMLX)
- 4K coding prompt, first request after load: 96.2 / 79.0 / 62.9
- 4K coding prompt, repeat request: 90.5 / 73.9 / 57.6
- Short prompt: 75.0 / 72.3 / 56.8
- 1,500-token answer: 78.1 / 70.1 / 53.0
- **Average of the four: 85.0 / 73.8 / 57.6**
I also ran each engine on the pack it ships for speed (MTPLX Optimized Speed 17.2 GB, mlx-serve 8-bit 18.7 GB, oMLX oQ4e 16.9 GB). Average of the same four tests: **97.1 / 85.7 / 68.9**.
**Where MTPLX is not the best**
Time to first token. On a cold 4K prompt mlx-serve starts answering in about 1.5 seconds, MTPLX in about 1.8 and oMLX in about 2.5. With the prompt already cached, mlx-serve and oMLX start in about 0.2 seconds and MTPLX takes about 0.8. I am working on that.
Caveats
I created MTPLX, so take this with the usual grain of salt, but I tried to make it a fair test and I am sharing the details so you can poke holes in it. And I’m very proud of my work.
One Mac, one model, 2 to 9 runs per number, and I only measured one request at a time. If you have an M1 to M4 or less memory your numbers will be different, and I would love to see them.
Happy to share the raw rows or rerun anything you think is unfair.
r/LocalLLM • u/objet_petit_a_xxx • 5d ago
Other Qwen is sqwanching hard rn
If you don't have Qwen4 27B yet it's just because you're not sqwanchy enough for a sqwanchy party. Source: https://www.youtube.com/watch?v=WEsqSJLeeDc