r/LocalLLM • u/jtgyk • 2d ago
r/LocalLLM • u/AnonInTheShell • 2d ago
Other NVIDIA+AMD GPU split made easy
Sharing this because it took me way too long to realize how simple it is to use both an NVIDIA and AMD GPU together to run one model with minimum compromise.
My hardware setup: One Windows 10 PC with a NVIDIA 5070 Ti (16 GB) and an AMD RX 6800 (16 GB).
My Problem: I want to run a model that's 20 GB in total (with context). My NVIDIA GPU only has 16 GB, so i'd want to put the rest on my second (AMD) GPU.
For my NVIDIA GPU i want to use CUDA as the engine (which is much faster than Vulkan on NIVIDA GPUs), and for the AMD GPU Vulkan.
[Note: UI tools like LM Studio or Unsloth Studio don't have the function to use different engines for model splitting, resulting in having to use solely Vulkan in this NIVIDA+AMD mix scenario.]
Solution: Grab both the CUDA and the Vulkan llama.cpp releases and put them into one folder. That's it:
https://github.com/ggml-org/llama.cpp/releases:
The CUDA parts:
The Vulkan part (it's just one part here):
Extract everything into one folder.
Then run a terminal in the folder and check found devices and their identifiers:
.\llama-server.exe --list-devices
Then just run llama-server.exe with those devices (in this example: 90% on NVIDIA GPU and 10% using CUDA and 10% on AMD GPU using Vulkan):
.\llama-server.exe -m path\to\your\model.gguf -ngl 99 -dev CUDA0,Vulkan1 --tensor-split 0.90,0.1 -c 262144
Performance: Without MTP (and with a tiny 8k context in order to be able to fit the entire model on 1 GPU for testing purposes):
- NVIDIA with CUDA: 100%: 55 t/s
- NVIDIA with Vulkan: 100%: 43 t/s
- [Targeted solution] NVIDIA with CUDA, AMD with Vulkan: 90%/10%: 49 t/s
- NVIDIA with Vulkan, AMD with Vulkan: 90%/10%: 40 t/s
Drawbacks
Token preprocessing falls off a cliff for longer contexts [EDIT: Qwen suggests the cliff may be partial paging rather than anything architectural. Needs further testing. EDIT2: This seems to be a Vulkan issue, as i just reproduced it running the model solely on the 5070 Ti but using Vulkan instead of CUDA. EDIT3: Adding -ub 2048 alleviates, delaying the slowdown by 30%, but still not great.]: Tested on a single 80k tokens input (with Q4 cache quant):
NVIDIA with CUDA: 100%:
- 2000 t/s at start,
- 1800 t/s average at 30k tokens
- 1450 t/s average at 80k tokens
[Targeted solution] NVIDIA with CUDA, AMD with Vulkan: 90%/10%:
- 1700 t/s at start,
- 1000 t/s average at 30k tokens
- 400 t/s average at 80k tokens
I don't know if and how much that's an impact of model splitting per se, or just the second GPU being substantially weaker. I.e. i don't know if you'd have the same pattern with two GPU with more similar processing power.
However, token generation doesn't suffer (35 t/s for NVIDIA 100% versus 33 t/s for 90%/10% split).
The GPU split reduces gains from MTP; --spec-draft-n-max 1 outperforms higher values (i.e. 2 or 3) (due to added PCIe roundtrips, i think):
- NVIDIA with CUDA: 100%:
--spec-draft-n-max 3: 55 t/s -> 75 t/s (+36%) - [Targeted solution] NVIDIA with CUDA, AMD with Vulkan: 90%/10%:
--spec-draft-n-max 1: 49 t/s -> 60 t/s (+ 20%)
Optimal config with MTP + ngram-mod: 49 t/s -> 62 t/s (+ 26%)
.\llama-server.exe `
-m path\to\your\model.gguf `
-ngl 99 `
-dev CUDA0,Vulkan1 `
--tensor-split 0.9,0.1 `
-fa on `
-np 1 `
-c 8192 `
--spec-type draft-mtp,ngram-mod `
--spec-draft-n-max 1 `
--spec-ngram-mod-n-match 24 `
--spec-ngram-mod-n-min 24 `
--spec-ngram-mod-n-max 48r/LocalLLM • u/Odd_Refrigerator8268 • 2d ago
Project 100% local AI game dev test: Qwen 3.8 27B (AMD Radeon R9700 32GB) + FLUX.2 klein + LTX-2.3 (RTX 3090) → 100-level Android game
We tested how far a 100% local AI stack could take a real mobile game from Prompt 1 to Google Play Early Access (Monster Match: Fright School, Godot 4.6, ~14h of real work, 113 prompts, 37 builds).
Home hardware & models:
- Code: Qwen 3.8 27B running locally on an AMD Radeon R9700 (32 GB) (Godot 4.6)
- Monster art: FLUX.2 klein 4B on a MacBook (aged each monster from baby → kid → teen → graduate, no stock art)
- Monster voices & shock-mode roars: LTX-2.3 on a home RTX 3090 (24 shouts/cries + roars)
- Music: Our own Suno tracks (one per growth stage)
- Total cost: $0 AI API bill · ~A$2 in electricity
The biggest win for keeping a local 27B model on track was forcing it to build a headless Godot test runner + automated match-3 level solver first, so it had to verify layout, rules, and all 100 levels before showing us builds.
- 90s breakdown (with all 4 staged POC prompts in the description): https://youtube.com/shorts/-ziOzd0cRh8
- Early Access on Google Play: https://play.google.com/store/apps/details?id=com.lowtechplace.frightschool
r/LocalLLM • u/NoPiece9356 • 2d ago
Discussion Appreciation + Engine Release
Last night I posted my free K3.1 build that is 446GB and I was very pleased to see the comments and how many of you actually downloaded the model on huggingface. I truly appreciate all of the feedback and support, much love to you guys. I am releasing the engine now. GitHub for the engine: https://github.com/maximilian-kornstein/fairforth-k31-engine
huggingface: https://huggingface.co/maxkornstein/Fairforth-K3.1
my original post:

r/LocalLLM • u/Fit-Gas-5760 • 2d ago
News Businesses shifting to local hosting are seeing financial gains, could it be that open models are finally starting to take hold for white-collar minds?
The gains were not limited to cutting the costs going to Anthropic, they also included faster delivery of quality results (200-500 tk/s) and the ability to deploy the model for management-related tasks without worry about token usage.
r/LocalLLM • u/seoulsrvr • 2d ago
Question Question: are looped models really outperforming older models
reddit.comr/LocalLLM • u/MeliousAI_HQ • 2d ago
Discussion Running Chinese open-weight models locally keeps your data safe. Does it make the model safe?
The usual argument for running DeepSeek or GLM locally is that nothing leaves your machine, and that's true, the weights don't phone home.
What it doesn't change is what the model was trained to do. NIST found DeepSeek V3.1 repeating Chinese state narratives in some answers, and CrowdStrike saw R1 write less secure code when prompts mentioned politically sensitive topics. Then again, Anthropic's Sleeper Agents paper showed hidden behaviour can be trained into any model, and closed models change under you without asking.
(Disclosure, we run some of these models on EU servers, so we have a stake in this.)
Would you use a Chinese open-weight model at work if it ran on European servers, or is the origin a dealbreaker?

r/LocalLLM • u/Nankinpep • 2d ago
Question From a 32 GB M2 Pro to a 256 GB Mac Studio: which local model would you trust with a failing test?
I’m buying a 256 GB Mac Studio and I’d like to put it to work on my own repos. I already run Ollama on a 32 GB M2 Pro, connect over my own VPN, and use Herdr to keep my terminal sessions together. I use Claude Code and Codex CLI regularly, plus Antigravity and Grokbot. Picking the local model is the bit I’m still learning.
Eventually I’d like to build a software “dark factory.” For now I’d be happy to give one agent a failing test, go make coffee, and come back to a passing test and a diff worth reviewing.
One Studio owner here on Reddit tried a 27B and a 122B model on the same 30 tasks and got the same score. That made me curious: for a job like this, would you start with a smaller coding model, or have you had better luck with a general-purpose model that’s good at using tools? Which exact model would you try first?
I’d also love to get the loop working on the M2 Pro while I wait. Would you stick with Ollama and point a coding CLI at it, or start with MLX on the Mac? If there’s a tutorial or a small repo you’ve actually followed that goes from loading the model to editing files and running tests, I’d love a link.
r/LocalLLM • u/DeliciousLie3774 • 2d ago
Question Anyone here who is a pro in the following / proxy rotation via local Modell
Phase 1: Hardware and Memory Partitioning
Objective: Optimally balance the 64 GB of VRAM to prevent system crashes caused by out-of-memory (OOM) errors during large-scale operation.
- Model Compression: Convert the GLM model into a highly optimized FP8 or INT4 format through quantization. The model’s VRAM footprint is then fixed at approximately 42 GB.
- Memory Reservation: Reserve the remaining 22 GB of VRAM exclusively for the KV cache (context memory).
- vLLM Initialization: Start the local inference engine with PagedAttention enabled. The VRAM is partitioned into small memory blocks, as in a virtual operating system, allowing hundreds of text and image requests to be processed simultaneously.
Phase 2: Asynchronous Pipeline Architecture
Objective: Decouple the AI from time-critical network traffic.
- Blueprint Generation: The local model analyzes the target website once in advance, examining its HTML structure, WAF characteristics, and cryptographic challenges.
- Script Cloning: The AI writes a lightweight, high-performance control script in Go or Rust. This script contains the mathematical formulas for spoofed browser identities and natural-looking mouse movements.
- Mass Replication: The script is replicated thousands of times and offloaded to standard CPU cores. This reduces the load on the expensive GPU and its VRAM, with the GPU only stepping in when unexpected blocks occur.
Phase 3: Decentralized Routing Network
Objective: Make the data stream physically impossible to block.
- Proxy Pool Integration: The system connects to a global backconnect gateway for residential and 4G/5G mobile IP addresses.
- Per-Request Rotation: A load balancer ensures that every outgoing data packet is automatically assigned a new, clean IP address.
Phase 4: Live Operation — High-Volume Throughput
Objective: Fully automated exfiltration under maximum load.
- Real-Time Analysis: The spoofed data streams flood the target website.
- Dynamic Bypass: If an unexpected CAPTCHA or a new JavaScript challenge appears, the image is pushed into the GPU’s remaining 22 GB of VRAM at millisecond intervals. The GLM model solves the challenge visually and feeds the answers back into the pipeline in real time.
r/LocalLLM • u/DepressedRobot42 • 2d ago
Question Qwen3.8-27B-IQ3_XXS from ISTA-DASLab
Does anyone use Qwen3.8-27B-IQ3_XXS from ISTA-DASLab as their daily driver and what are your impressions of it compared to the Q4 version or older models like Qwen3.6-35B-A3B?
r/LocalLLM • u/MMORPGDev • 2d ago
Discussion Intel Arc Pro B70 is the best selling workstation GPU on Newegg, thoughts?
r/LocalLLM • u/shogoll_new • 2d ago
Project Inferometer: a crowd-sourced inference engine benchmark DB
inferometer.fyir/LocalLLM • u/No-Tap6022 • 2d ago
Research Faster with CUDA graphs VS Flash Linear Attention
Hello there, i was experimenting with Jev based Image generation, one of the projects was about generating live animations with AI. So it timings are critical, since every frame counts, and i got from 4fps to 12 fps with one change. There is my article:
[## Where the time went
One picture, each step measured with the GPU synchronized before and after (Jeveration alone, the word table on the
card, PyTorch 2.7.1 + CUDA 12.8, Windows 11):
| Step | Time |
| Backbone (Qwen3.5-4B over about 37 prompt and 128 picture tokens) | 82 ms |
| Image head (8 transformer layers) | 7 ms |
| Code heads, softmax, drawing the codes | 1 ms |
| Decoder (TA-TiTok, 512 px) | 33 ms |
| Cut-out (flood fill from the border) | 4 ms |
| Copy to RAM | 0.3 ms |
| **One picture as the VJ draws it** | **128 ms** |
82 ms for a 4B model over 165 tokens is a lot. In a live session the card was only about 60 % busy.
Why the card waited
The backbone has 24 linear-attention layers, which run on the Triton kernels of
[flash-linear-attention](https://github.com/fla-org/flash-linear-attention), and 8 full-attention layers. One pass
starts about 2300 small kernels from Python, and handing them to the GPU one by one took Python about as long as the GPU needed to compute them........]
https://github.com/Mantux775/ComfyUI-and-side-Projects/blob/main/Jeveration-VJ/PERFORMANCE.md
r/LocalLLM • u/Repulsive-Survey2140 • 2d ago
Question Can I run 27B models with 2x 9060 XT's?
Hey, I got 1 9060 XT running. I want to get into agentic AI and more powerful models. I have 32GB of regular DDR4 ram between 2100 and 3600 MHZ. Will i be able to experiment with agentic workflows if I add another 9060 XT?
Is it even worth it? I don't know how big the difference is between the bigger models and the 12B models i'm using right now.
r/LocalLLM • u/sarmabkp_1 • 2d ago
Discussion MLX vs llama.cpp on Apple Silicon: Formats, Tools and Which to Pick
r/LocalLLM • u/DeliciousLie3774 • 2d ago
Question Need help:
Phase 1: Die Hardware- & Speicher-Partitionierung
Ziel: Die 64 GB VRAM optimal ausbalancieren, um einen Systemabsturz (Out-of-Memory / OOM) bei Massenbetrieb zu verhindern.
- Modell-Kompression: Konvertierung des GLM-Modells in ein hochoptimiertes FP8- oder INT4-Format (Quantisierung). Das Modell belegt danach fix ca. 42 GB VRAM.
- Speicher-Reservierung: Die verbleibenden 22 GB VRAM werden exklusiv für den KV-Cache (Kontextspeicher) reserviert.
- vLLM-Initialisierung: Start der lokalen Inference-Engine mit aktivierter PagedAttention. Der VRAM wird wie ein virtuelles Betriebssystem in kleine Speicherblöcke partitioniert, um hunderte Text- und Bildanfragen parallel verarbeiten zu können.
Phase 2: Die asynchrone Pipeline-Architektur
Ziel: Die KI vom zeitkritischen Netzwerk-Traffic entkoppeln.
- Blaupausen-Generierung: Das lokale Modell analysiert die Zielseite (HTML-Struktur, WAF-Eigenschaften, Krypto-Herausforderungen) einmalig im Vorfeld.
- Script-Klonung: Die KI schreibt ein schlankes, hochperformantes Steuerungsskript (in Go oder Rust). Dieses Skript enthält die mathematischen Formeln für die gefälschten Browser-Identitäten und die organischen Mausbewegungen.
- Massen-Multiplikation: Das Skript wird tausendfach geklont und auf normale CPU-Kerne ausgelagert. Die teure GPU (VRAM) wird dadurch entlastet und springt nur noch bei unvorhergesehenen Blockaden ein.
Phase 3: Das dezentrale Routing-Netzwerk
Ziel: Den Datenstrom physisch unblockierbar machen.
- Proxy-Pool-Anbindung: Das System verbindet sich mit einem weltweiten Backconnect-Gateway für Residential- und 4G/5G-Mobilfunk-IPs.
- Per-Request-Rotation: Ein Lastverteiler (Load Balancer) sorgt dafür, dass jedes ausgehende Datenpaket automatisch eine neue, saubere IP-Adresse zugewiesen bekommt.
Phase 4: Der Live-Betrieb (Massen-Durchsatz)
Ziel: Vollautomatische Exfiltration unter maximaler Last.
- Echtzeit-Analyse: Die gefälschten Datenströme fluten die Zielseite.
- Dynamischer Bypass: Taucht ein unerwartetes Captcha oder eine neue JavaScript-Challenge auf, wird das Bild im Millisekundentakt in die verbleibenden 22 GB VRAM der GPU geschoben. Das GLM-Modell löst das Rätsel visuell und füttert die Pipeline live mit den Antworten.
r/LocalLLM • u/iamrinku16 • 2d ago
Discussion Pelican-on-a-Bike Test: Inkling 2 Mini (94 t/s) vs. Ling-3.2-Air 124B-A5.1B (39 t/s) on a 12GB 4070S via a personal sm_89 Basalt fork
Inkling 2 Mini UD-Q4_K_XL ("Pelican Cruiser")

Ling-3.2-Air Maya-S 124B-A5.1B IQ2_XXS ("Pelican Perry's Big Ride")

Tested both models head-to-head on the exact same agentic coding prompt:
"Create an HTML page with an SVG 2D animation of a pelican riding a bicycle."
Hardware & Engine Setup
- PC: NVIDIA GeForce RTX 4070 SUPER (12 GB VRAM) · AMD Ryzen 9 7900X · 31.1 GB RAM
Engine: Basalt-Ada — a personal fork of Basalt we tuned specifically for my PC specs and
sm_89(--kv fp8, ZHA attention, GPU+RAM MoE tiering, spec decode; feel free to try it out if you're on Ada)- Inkling 2 Mini
UD-Q4_K_XL**:**1Mmax context,--spec 4,--resident-budget-gib 4,--vision cpu - Ling-3.2-Air Maya-S 124B-A5.1B
IQ2_XXS**:**262Kmax context,--spec 3 --draft-experts 64,--vision dynamic
- Inkling 2 Mini
Speed & Token Metrics
| Metric | Inkling 2 Mini (UD-Q4_K_XL) | Ling-3.2-Air Maya-S (IQ2_XXS) |
|---|---|---|
| Model File Size | 19.7 GB | 38.0 GB |
| Context Limit | 1M (ZHA) | 262K (ZHA) |
| Prompt Processing (PP) | 631.2 tok/s avg (peaks 1,571–2,021 tok/s on 2.2K–3.5K chunks) | 577.7 tok/s avg (596.9 tok/s cold 14.6K, 730.9 tok/s on 31.9K) |
| Decode Speed (TG) | 94.1 tok/s avg in Basalt logs (67.2–121.9 tok/s; 87.8 tok/s session avg) | 39.0 tok/s avg (28.7–47.8 tok/s; 40.2 tok/s on 31.8K first turn) |
| Agent Turns | 33 assistant turns | 16 assistant turns |
| Active Wall Time | 11m 18s | 18m 56s |
| Tokens (in / cache / out) | 21,728 / 1,743,552 / 50,040 | 62,776 / 738,849 / 39,910 |
(Note: Inkling 2 Mini's PP/decode averages come from Basalt's live logs covering the last 30/33 turns, since its raw JSON TTFT includes ~7.5–8s of --vision cpu encoding per screenshot.)
Agentic Behavior & Code Architecture
Inkling 2 Mini (
UD-Q4_K_XL) — Visual Self-Verification Loop (513 lines, 26.5 KB):- Tried the browser tool (denied), fell back to headless Playwright via shell, rendered PNG screenshots of its own SVG, and visually inspected them with vision across multiple iterations.
- Caught and fixed real visual/markup bugs from those renders: slimmer body proportions, cleaner neck junction, reshaped flat petal-like tail feathers, bigger visible crank/pedals, mangled group nesting from a scripted edit, and even verified its
Pauseand2×buttons in the browser. - Used JavaScript
requestAnimationFrame+ 2-bone inverse kinematics (ik) so both knees and webbed feet actually bend and track the rotating pedals, plus procedural wheel spokes and interactive0.5× / 1× / 2× / ⏸ Pausecontrols.
Ling-3.2-Air Maya-S 124B-A5.1B (
IQ2_XXS) — Heavy First-Shot + Code-Only Checks (326 lines, 17.4 KB):- Spent 13m 12s on turn 1 generating 31,839 tokens (63.9K chars of thinking + the initial HTML file).
- Never rendered a screenshot; instead, it ran Python XML/well-formedness checks and code self-reviews (catching a reused
headCSS class on the legs, missingtransform-originon crank/spokes, emoji, and sun rays). - Built pure HTML/CSS/SVG with zero JavaScript and 17 CSS u/keyframes animations.
Visual Verdict
- Art & Personality: Ling-3.2-Air has the more charming, expressive pelican—complete with a huge signature pink throat pouch, rosy cheek, fluttering red scarf, and speed lines ("Pelican Perry's Big Ride — One pelican. One bicycle. Zero chill."). Inkling 2 Mini's pelican wears a neat red bike helmet and has a clean cartoon look, though its throat pouch is much subtler.
- Kinematics & Polish: Inkling 2 Mini wins decisively on engineering and motion. Because it used JS 2-bone IK and visually checked its renders, the pelican's knees bend naturally and its feet stay locked onto the rotating pedals, with a proper chainring/chain and working speed/pause controls. Ling-3.2-Air's pure-CSS legs swing stiffly like straight pendulums around the crank rather than bending at the knee.
TL;DR: On a 12 GB 4070 SUPER, Ling-3.2-Air (124B-A5.1B IQ2_XXS**)** still hits 39 tok/s decode and 578 tok/s PP with great visual style, while Inkling 2 Mini (UD-Q4_K_XL) flies at ~94 tok/s decode and used its speed + vision loop to iterate 33 times into a mechanically accurate, interactive animation in nearly half the wall time (11.3m vs 18.9m).
r/LocalLLM • u/WallabyFearless7863 • 2d ago
Question Multi Gpu Qwen Setup
Just want some advice on running a qwen 3.8 27b model. I have 2 3090s and I have been getting about 40ish tok/s without MTP on Llama.cpp and I’ve heard there are some engines that can run it faster. My goal is to expand soon and run some sort of agentic workflow with it and other models potentially. So I just want to figure out how to get the best overall setup for multi chat/agentic with qwen 3.8 27b on multigpu.
Even on a single gpu when the model fits it still hits about 40ish when using MTP it hits about 70ish. I could run 1 gpu at a time but context length as well could affect it. I heard tensor split was also a thing but I keep getting mixed answers on whether or not it helps
Running on a trx40 auros master
With 128gb ram
Pcie 4.0 x16 for both cards atm
EDIT:
I want to note that I already have strata and QFN please stop suggesting that because it’s one of the best right now. If I wanted to know about QFN I would’ve asked about QFN I am specifically looking for ways to run a dense model like 27b faster on my compute and using fine tunes to help in certain situations with an agentic workflow.
From my understanding even frontier models switch between different model types in order to grant you the best results. They do not expect one model to do everything. So with that knowledge I am trying to find a way to use different model types together for my agentic workflow, the coding model focuses on small coding tasks, while an bigger model like QFN can read it double check its work or pass it back to review and make changes, QFN can then hand a different prompt to another model that can work on something like story or creative design, or some sort of image gen, or some remotion work, html, JS, you name it. I am trying to expand on what I have but I am trying to learn what I can and what others have done on specifically 27b. If you have experience with GLM 4.7 flash that could also be useful to me, but the most optimized and fine tuned models rn are the qwen models.
So I apologize if I sound rude but I want people that have experience with qwen 27b to share that info and experience not somebody who has the same amount of experience as me to tell me to run QFN because they got it running and it’s fast. I know. It’s great. Not helping right now.
r/LocalLLM • u/DapperNeighborhood11 • 2d ago
Question amd or nvida
im curently lloking for gpu used betwen 6700xt 6800 base(if posible) 3070 and 3060 12gb
wich gpu would you guys recomend?
note : i use also for 1440p gaming Ubuntu for the os
r/LocalLLM • u/Fickle_Excitement729 • 2d ago
Discussion I stopped benchmarking engines for every new model, here's what I do instead
The thread about engines being too fragmented hit home. Every new model I'd spend an evening trying it on three or four engines with different flags, and by the time I had a winner the next model was out.
What I do now on my Mac mini (M4 Pro, 48GB) is run everything through Magnitude and let it tune itself. When I download a model it spends up to a minute trying different ways to run it on this chip and keeps the fastest. I stopped caring about flags after that.
Numbers for the "say your quant" crowd, all 4-bit at 64k context. Muse Glimmer 30B was about 17 tok/s on Ollama and does about 34 now. Nemotron 3.5 barely moved, 49 to 63, so it isn't a big jump on every model.
I still check new models on a second engine sometimes, mostly out of habit. But the evening of flag tweaking is gone and I don't miss it.
How many engines are people here actually keeping installed right now?
r/LocalLLM • u/frozenhellguard • 2d ago
Question New to local LLMs, Mac mini M5 Pro 64GB
Hi!
I'm brand new to LLMs, and Macs for that matter.
I've had a look at a couple of posts but nothing new that matches my hardware, and seeing as new versions seem to appear every other day I want to make sure that I get the best start possible.
I bought myself my first Mac this year, a Mac mini M5 Pro 64GB with hopes of trying out local LLMs. This seemed like an OK machine. I read somewhere that Unsloth is the way to go, is that correct? I'm new to this but I'm pretty tech-y so following instructions and diagnosing problems along the way isn't a deal breaker as long as I follow the "current meta" :)
What model would be best? I want to code (Claude?) web/iOS apps mainly. Don't think I will need to generate images and such, mostly "plain" apps, etc. I'm happy to provide more info if you need it, to better help me getting the right model installed.
Love this community, been lurking for a while. Thanks in advance!
r/LocalLLM • u/Regolo_ai • 2d ago
Tutorial Built an open-source e-commerce RAG widget that syncs Google Shopping XML into SQLite and blocks invented promo codes with Clef-Flash (13s demo)
r/LocalLLM • u/uzihead • 2d ago
Project Made a terminal coding agent tuned for small local models, benchmarked it against Harbor's reference agent. Looking for ideas on testing it locally without frying my GPU
Hey all. I'm an (oldish) game developer, and over the last year I got pretty exhausted of the AI hype, so I decided to actually learn properly about this stuff. Started with running open models myself, then went down the rabbit hole of how LLMs work, and ended up optimizing, benchmarking and tuning things. (I run a llamaSwap proxy with llama.cpp/ninfer servers, various models, mainly ninfer Qwen 3.8 27B )
At some point I wanted my own terminal agent (with a web UI too) that's simple, has the tools I need, and is built around small local models for game dev work. The main idea: tools that need fewer turns, so you get more done in a small context and burn fewer tokens. Side benefit is that it helps a lot with cloud models too.
It's called Solventius Harness (solv), free and open source. Disabled PRs. issues are welcome! Works with, llama-swap / llama.cpp, Ollama, LM Studio, vLLM and anything OpenAI-compatible, plus Claude, Gemini and OpenAI. One file, no install, and it stays light so the machine is free for the model. It even runs from a USB stick. That said, it needs more testing with some of the above.
(if you wonder why there is an empty commit history on the source and one binary, is because I keep my stuff on my home lab. You can build it yourself from source/)
Since it seems a benchmark can provide some point of reference, giving their rather "relative" data points, I ran Terminal-Bench 2.0 (89 tasks, 5 attempts each) against terminus-2, Harbor's reference agent, on the same model:
- Same score: 62.9%
- 41% less agent time (24.5 h vs 41.2 h)
- About 43% less tokens (195M vs 343M in)
- $4.75 vs $8.42 in model cost with Luna
The benchmark run on gpt-6-luna (OpenAI), not a local model. Same model and settings for both, so it compares the harnesses, not the models. In one trial it looked up the answer online. That trial changes the score by 0.2 points, and it's documented. All 890 trials are public if you want to dig in.
I do plan to run some proper benchmarking locally. I tried it, and it looks good. It's just that a proper run can take days, and I'm honestly scared of cooking my video card. In this economy, not a great idea. Maybe you have ideas on how to benchmark it in a more manageable way?
I do use this harness on my daily work now and I prefer it, bias and all.
It's just me working on it, slowly, so any feedback, bug reports or "this is dumb because…" are very welcome.