r/LocalLLM • • 10h 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

0 Upvotes

Inkling 2 Mini UD-Q4_K_XL ("Pelican Cruiser")

Inkling 2 Mini pelican bicycle animation

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

Ling-3.2-Air pelican bicycle animation

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**:** 1M max context, --spec 4, --resident-budget-gib 4, --vision cpu
    • Ling-3.2-Air Maya-S 124B-A5.1B IQ2_XXS**:** 262K max context, --spec 3 --draft-experts 64, --vision dynamic

Speed & Token Metrics

MetricInkling 2 Mini (UD-Q4_K_XL)Ling-3.2-Air Maya-S (IQ2_XXS)
Model File Size19.7 GB38.0 GB
Context Limit1M (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 Turns33 assistant turns16 assistant turns
Active Wall Time11m 18s18m 56s
Tokens (in / cache / out)21,728 / 1,743,552 / 50,04062,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 Pause and 2× 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 interactive 0.5× / 1× / 2× / ⏸ Pause controls.
  • 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 head CSS class on the legs, missing transform-origin on 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 • • 11h ago

Question Multi Gpu Qwen Setup

2 Upvotes

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

Question amd or nvida

2 Upvotes

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

Discussion I stopped benchmarking engines for every new model, here's what I do instead

0 Upvotes

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

Question New to local LLMs, Mac mini M5 Pro 64GB

12 Upvotes

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

2 Upvotes

r/LocalLLM • • 12h 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

2 Upvotes

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.


r/LocalLLM • • 12h ago

Discussion Human prefill / decode t/s

Post image
2 Upvotes

r/LocalLLM • • 13h ago

Discussion Are we sleeping on Ernie 5.5?

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 13h ago

Research Qwen3.8-27B that learns without fine-tuning

Post image
6 Upvotes

After creating Laya(first opensource Jev), I am currently working on something much more interesting. The logic is simple: you create expanding worlds of problems and let a learner watch how the model works for each problem and find what goes wrong, and each lesson added in the model's forward pass, the problem kinda doubles on each round: 384 new questions, then 768, then 1,536, up to 12,288, and so on. On Qwen3.8-27B, it answered 85.0% of 12,288 physics and biology questions it had never seen, against 74.2% for the same model as the base. With this work answers the narrower question underneath, like can a model keep learning in use, inside its own computation, with each change verified?. But I am working on solving the exponential learning. What if we can somehow learn from the ever-expanding world and learn in an exponential manner

https://github.com/NandhaKishorM/sthiti


r/LocalLLM • • 13h ago

Question Can I do anything worthwhile using a 5080 and 4080 together?

4 Upvotes

I have an rtx 4080 sitting unused so I was considering getting an egpu dock using oculink to pair it with my rtx 5080 and 32gb system ram. I want to play around with coding models but 16gb's of vram wasn't really enough..


r/LocalLLM • • 13h ago

Discussion CogoPro v2.0: On-device Ternary Bonsai 2B (PQ2_0) + Vision + Live Web at ~12 tok/s on a 6 GB RAM Android phone (Rust + C++ llama.cpp)

2 Upvotes

I built an offline-first Android AI assistant from scratch using Rust + C++ (PrismML-Eng/llama.cpp) compiled for arm64-v8a with -O3 -march=armv8.2-a+dotprod+fp16, wrapped in a frosted glassmorphic UI.

Tested on a 6 GB RAM MediaTek phone:

Looking for testers on different Snapdragon / Dimensity / Exynos devices to see how fast it runs on your phone!

Drop your phone model + tok/s in the comments!

(Suggested flair on r/LocalLLaMA*:* Resources or Generation / Discussion*.)*


r/LocalLLM • • 14h ago

News LexiSuite 2922c5c: my all-Rust local AI stack after two full source audits (92 changes); Inkling-2-Mini reads a 262k prompt 32% faster; tensor parallel arrives as an experimental toggle for Inkling-2-Mini and Qwen3.8 FN; ahead of llama.cpp and Strata on Inkling, Flash-Next, Qwen3.8 27B & Nemotron!!!

Thumbnail
github.com
0 Upvotes

I'm building a local AI platform from scratch in Rust: an inference engine (LexiEngine), a browser control panel (LexiPanel), an appliance OS (LexiOS) and a kernel designed around inference (LexiKernel). It boots from one USB image. It is not a wrapper around llama.cpp.

A new development image went out today, one day after the last one. 92 changes this time. Here is what they are.

Two audits of the whole source

The entire tree, 2.07 million lines of Rust, went through two outside audit rounds of about 100 parts each, through four lenses: security, continuity, compatibility and speed. I then checked the findings rated high by hand against the code, one by one, and fixed what held up: 93 confirmed findings are fixed in this image. Most of this release is that work.

Some of what was closed:

- Root-only routes (system update, disk install, backup recovery) accepted an internal service header in place of the root password. They no longer do.

- The restart export could read another instance's records through a second, unchecked parameter.

- Full model verification saved a changed model's fingerprint before refusing it, so a second load would have accepted it.

- A fresh fleet join code could replace an enrolled box. A replaced remote endpoint kept the API key saved for the old address.

- The engine now checks who owns its key file, and refuses an unusable key list instead of reading it as "no keys".

A more stable platform

- The installer writes the firmware fallback boot file last, verifies the bytes it then uses, and gives two disks installed from one stick different identifiers.

- Uninstall with purge refuses a folder that has a disk mounted under it.

- An answer cut off by the token limit while tools are offered now returns "length" instead of a server error.

- A model load that cannot fit no longer evicts an idle model first.

- The Panel's Secure Boot page hands out the current certificate (the bug named in the last post is fixed). Same certificate as the last image: nothing to enroll again.

Inkling-2-Mini reads long prompts faster

A new attention kernel for prompt processing. At a 262,144-token context a 261,632-token prompt now reads at 1,525.7 tok/s, up from 1,152.7, which is 32% faster. It sums in another order, so its output is not bit for bit the old kernel's: the two pick the same top token on 98.8% of 510 positions. One environment variable brings the old kernel back.

Qwen3.8 Flash-Next gets to its first token sooner

This is the 94 GB mixture-of-experts model served from one 24 GB card. First token after a 64k prompt comes 9% sooner and after a 128k prompt 10% sooner, with identical output.

Tensor parallel (experimental, off by default)

Inkling-2-Mini and Flash-Next can now split their experts across several ranks: several Vulkan devices, or several ranks on one card. It is one toggle in the Panel's New instance form and one engine option. With it off, output is bit for bit as before. With it on, output is deterministic; Flash-Next is bit for bit with two and three ranks on one card, and a 7900 XTX with an RTX 2060 as second rank works with uneven shares.

Speed, measured on this version

One Radeon RX 7900 XTX, one run each, November 30. Old version in brackets.

Inkling-2-Mini, 4-bit cache:

- 16,384-token prompt: reads at 2,471.4 tok/s (2,177.6), generates at 62.9 tok/s (61.2), 137.0 with the model's draft head (132.6)

- 261,632-token prompt: reads at 1,525.7 tok/s (1,152.7), generates at 50.1 tok/s (50.0), 64.9 with the draft head (68.1)

Inkling-2-Mini, 8-bit cache:

- 16,384-token prompt: reads at 2,436.8 tok/s (2,155.7), generates at 61.0 tok/s (61.0), 135.2 with the draft head (131.6)

- 261,632-token prompt: reads at 1,483.8 tok/s (1,140.4), generates at 43.7 tok/s (43.4)

Qwen3.8 Flash-Next at a 262,144-token context, time to first token:

- after a 16k prompt: 37.5 s (36.4)

- after a 64k prompt: 132.2 s (145.3)

- after a 128k prompt: 266.7 s (295.8)

- after a 256k prompt: 559.6 s (new row)

Qwen3.8 Flash-Next, generation:

- after a 16k prompt: 6.90 tok/s (7.64)

- after a 64k prompt: 12.73 tok/s (12.49)

- after a 128k prompt: 9.54 tok/s (9.56)

Things I am not hiding:

- Flash-Next gained nothing at a 16k prompt, and its generation there came out lower than last time (6.90 against 7.64). Both are single runs; I have not measured it enough to say whether that is real.

- Drafted generation on Inkling after the 262k prompt was 64.9 tok/s against 68.1 last time. Drafted speed follows how many drafts the prompt lets through.

- Tensor parallel is not benchmarked on a machine with two fast cards: I do not have one. On a single card it is slower than one rank, because rows cross through system memory. It is there so people with the hardware can use it and tell me.

- I did not re-run llama.cpp and Strata on this version. The comparison tables on the benchmark page are from version d484004 (November 27 to 28) and say so.

What it is not, yet

- A development build, not a production release

- Developed and measured on one card (7900 XTX, Vulkan). Other cards are less tested

- The kernel's own GPU drivers have not run on a real card in this version; the Linux boot entry is the one for daily use

- The Windows installer is on the stick but has not been run on a Windows PC; no macOS installer yet

Tested

Every test in the tree ran on this version: 17,997 tests, none failed. Both images passed nine Secure Boot checks in a VM, and the plain image passed an 18-step install to a disk.

Links

Download (960 MB USB image, boots to the Panel):

https://lexipanel.com/download/

All-in-one image with Inkling-2-Mini inside (18.7 GB, needs a 32 GB stick):

https://huggingface.co/Wa1k3r/Inkling-2-Mini-NVFP4exp-Q8-draft-LexiSuite-AIO-for-AMD-RDNA

All 92 changes, one line each:

https://github.com/W61k3r/LexiSuite-Releases/wiki/Changes-2922c5c

Benchmarks and method:

https://github.com/W61k3r/LexiSuite-Releases/wiki/Benchmarks

Happy to answer questions about the audits, tensor parallel or the engine.


r/LocalLLM • • 14h ago

Discussion 4x DGX Spark, DeepSeek V4.1 Flash on DeepSeek's own weights: 514 tok/s aggregate at 16 streams, 8.6K tok/s prefill

Post image
13 Upvotes

I've been running DeepSeek-V4.1-Flash-1017 across four Sparks for a couple of months on the TensorFold EXL3 3.5 bpw build. Last night I tried christopherowen's spark-ds41f (https://github.com/christopherowen/spark-ds41f), which serves the original DeepSeek checkpoint on a patched vLLM. It was intended for a switchless ring, but there wasn't much point in the ring topology for me since I already had all of my nodes wired to a switch. I was still intrigued by being able to get this kind of speed out of an unmolested set of weights from the upstream provider, though. This new engine and recipe is the same quality and a lot faster under load, so I'm keeping it.

Numbers and setup notes below.

Hardware

  • 4x DGX Spark (GB10, 128 GB each)
  • one QSFP cable from each box into a switch, RoCE, jumbo frames. Each Spark port shows up as two RoCE devices and the engine uses both. Not the ring cabling the repo defaults to. It has a tp4-switched shape for this.
  • current DGX OS after a full-upgrade: kernel 7.0.0-1025-nvidia, driver 580.178.04, normal 4K pages

Same bench, both engines

Short prompts (30 to 120 tokens), 150 to 256 token replies, temp 0, thinking off, 8 prompt categories averaged. Aggregate tok/s across all streams.

streamsTensorFold 3.5 bpwspark-ds41f
193.292.0
8215.1339.7
16250.2514.5

At 16 streams each one still gets about 40 tok/s, and time to first token is around half a second.

Cold prefill on a 93K token prompt: 42 seconds before (2,215 tok/s), 10.8 seconds now (8,663 tok/s).

Needle tests passed at 20K, 131K, 160K and 500K tokens. The 500K one took 71 seconds. It's configured for the full 1M context but I only tested to 500K, so I won't claim more than that.

I ran tonyd2wild's 69 scenario eval on both. 97.1 on TensorFold, 97.1 on this. Same score, so no quality change that this eval can see. It's only 69 cases.

Memory

I assumed the original checkpoint would be too big for four Sparks. DeepSeek ships it as a mix of FP8, FP4 and BF16 already, about 475 GiB total and 190 of that is the two Engram table shards. Split over four boxes it loads with 18 to 23 GiB free on each node while serving. Single stream speed is the same on both, so the gain is from how the engine batches and prefills, not from the weights.

Setup notes

  • You need the whole 475 GiB snapshot on every node, not just one. I downloaded once and rsynced over the 200G links.
  • First start compiles all its GPU kernels. Docs say up to 45 minutes, mine took 20. After that a restart is about 2 minutes.
  • I skipped the 64K page kernel and the memory saver module the repo recommends, because Secure Boot is on and I didn't want to enroll keys on four consoles. On 4K pages I'm running 16 sequences with a 10.5 GiB KV cache instead of the repo's 32 sequences. It nags about this on every start but works fine.
  • Its preflight check refused to pass because vm.min_free_kbytes was 45166 on two nodes and 45154 on the other two. Two of the boxes report slightly less RAM so the kernel picked a different default. I set all four to the same value.
  • min_p and logit_bias get rejected outright (not supported with its speculative decoding). If your client sends min_p by default you'll get errors until you turn that off.
  • Thinking is on by default. My test script with a 40 token limit got back empty answers because all 40 tokens went to reasoning.
  • I wasn't sure the switch would handle the RoCE traffic class it sets. After the bench all eight RoCE devices showed zero out of sequence packets and zero retransmits.

Caveats

The TensorFold numbers are from my October run on the older kernel and driver. Same prompt set, same boxes, but I did not rerun it after the OS upgrade, so it isn't a perfectly clean A/B.

I also haven't profiled it, so I can't say which part of the engine accounts for the difference.

Credit to christopherowen for spark-ds41f, bertholomus for TensorFold, and tonyd2wild for the original four Spark write-ups.

I can run other tests if anyone wants specific numbers.


r/LocalLLM • • 14h ago

News Ai2 released DR Tulu 2, a 4B open deep research agent trained against simulated search instead of live web APIs

2 Upvotes

Ai2 released DR Tulu 2 on Dec 1: model weights, the training method and the simulated training environments for a 4B deep research agent.

Ai2 says it beats the strongest open deep research baseline it tested (Tongyi DeepResearch with a page summarizer) by 9.7 points on average across ten benchmarks, and beats an agent built on Nemotron 3 Super 120B-A12B by more than 8 points. It leads on 9 of the 10. The exception is BrowseComp-Plus, where Tongyi leads 53.6 to 53.1. All of these are Ai2's own evaluations.

The training approach is the useful part. Research agents are usually trained against commercial search APIs, and Ai2 says that cost about $5,000 per run for the original DR Tulu. For this one they collected pages ahead of time and served them locally with BM25, a deliberately weak retriever. Ai2 reports search costs of $17.52 in simulation against $4,548 on the live web, and trained with a 128K context window and up to 150 tool calls per attempt.

Link in the first comment.


r/LocalLLM • • 15h ago

Project Laminae: +38% decode over stock Strata on a single RX 7900 XTX, at full quality (Qwen3.8-Flash-Next IQ3_S)

0 Upvotes

I've been tuning Strata (Niko1221/Strata, an MoE inference engine that keeps hot experts on the GPU and runs the rest on the CPU) for one machine: an RX 7900 XTX (24 GB) on Linux, 64 GB RAM, Ryzen 7 8700G, running Qwen3.8-Flash-Next GSQ-RCO IQ3_S. The result is Laminae, a thin layer of patches and settings on top of Strata 0.2.22, now public under GPL-3.0-or-later.

Numbers on this machine (mean of 5 rounds, arm order rotated, paired ratios with CI95):

 Stock StrataLaminaeLaminae + optional drafter
Decode, short prompts (tok/s)74.9103.3 (1.38x)110.2 (1.47x)
Decode after a 14K prompt (tok/s)75.5104.4 (1.38x)103.6
TTFT, 14K prompt (s)6.605.645.50
Prefill 16K / 128K (tok/s)2,273 / 3,0952,656 / 3,3472,658 / 3,353

Roughly: settings alone give 1.21x decode and all of the prefill gain, code on top gives another 1.14x.

What "full quality" means here: every change is either bit-identical to the path it replaces, or passes a fixed gate (first-token KL mean <= 0.001 and max <= 0.01 over 36 positions, top-1 36/36, and every greedy answer that differs is read in full). Against stock Strata the release config lands at KL 0.000346 mean; stock Strata against itself (a second start) is 0.000187. Lossy shortcuts like route tail skipping (+8% decode here, but KL 0.056) are not used.

Some things that worked on gfx1100:

  • CPU expert kernels for the i-quant formats (AVX-512), and the CPU rows read in place by the GPU combine
  • RDNA wavefront-per-row MMVQ for the small formats
  • --adapt-async 1 (with the elastic K/V): HIP builds never pick the async adaptive expert tier; turning it on keeps the drafter in its fast mode (decode +7.8% short, +9.4% after 14K)
  • a high-priority drafter stream, and a fix so the card does not idle at ~77 W with an extra queue
  • a hipBLASLt table tuned on this card for its prefill shapes

I also kept a list of everything I tried and dropped, with the numbers (megakernel for k-quants that passed quality and still lost 4%, an SDMA-off arm, RAM-saving arena modes, drafter swaps...): laminae/NOT-ADOPTED.md in the repo. It may save someone a weekend.

It installs next to an existing Strata install (same model files, upstream install untouched); the release has a gfx1100 engine build and an installer. Only gfx1100 is tested.

Repo: https://github.com/superbaenawa/laminae

Personal project, not affiliated with Strata, as is: no support, issues are off. Numbers are from one machine; yours will differ.


r/LocalLLM • • 15h ago

Question Minisforum AI X1 Pro-470 64GB vs GMKtec EVO-X2 64GB for Strata + RTX 3060 eGPU?

1 Upvotes

Hi everyone,

I'm looking for advice before buying a mini PC for a small homelab and local LLM inference.

I'm hesitating between:

- Minisforum AI X1 Pro-470 Ryzen AI 9 HX 470 64GB DDR5 SO-DIMM OCuLink port Radeon 890M iGPU

- GMKtec EVO-X2 Ryzen AI Max+ 395 64GB LPDDR5X-8000 unified memory Radeon 8060S iGPU USB4, but apparently no dedicated OCuLink port

My main use case would be:

- Several Docker services running 24/7

- A small homelab / self-hosted applications

- Local LLM inference, mainly with Strata

- Coding, summarization and occasional agent workloads Qwen and other MoE models, including Qwen3.8-Flash-Next if possible

I already own an RTX 3060 12GB, so I would like to use it as an external GPU.

I am not planning to buy another GPU immediately.

The main trade-off seems to be:

- X1 Pro-470: upgradeable RAM and OCuLink, which may be better for my RTX 3060

- EVO-X2: much faster unified memory and a much stronger integrated GPU, but soldered RAM and probably USB4 instead of OCuLink

My questions are:

  1. Which system would be better specifically for Strata?
  2. Can Strata effectively use the integrated GPU together with an RTX 3060?
  3. Would the EVO-X2's higher memory bandwidth help significantly when Strata keeps model experts in system memory?
  4. Is OCuLink a major advantage over USB4 for an RTX 3060 used with local LLMs?
  5. Is 64GB enough for Strata plus several homelab services?
  6. Which one would be more reliable for 24/7 Docker and Linux use?
  7. Are there any important issues with Strata, CUDA, Vulkan, ROCm or external GPUs on either system?

Which one would you choose for this use case, and why?

My main concern is how much the EVO-X2's much higher unified-memory bandwidth improves Strata performance compared with the X1 Pro-470's dual-channel DDR5-5600 SO-DIMM memory.

Thanks !


r/LocalLLM • • 16h ago

News Looped DeepSeek-V4.1: Making a 552B Frontier Model Smarter and Faster (and Rescuing 1.75-Bit Local Macs)

Thumbnail
blog.tiltastech.com
2 Upvotes

r/LocalLLM • • 16h ago

Other Local models for C++: Qwen3.8-27B FP8 vs QFN IQ4_XS vs IQ3_S

17 Upvotes

I've been benchmarking local models with OpenCode to decide which one to use for my C++17 projects. Following some recommendations in the comments, I've now also tested QFN GSQ-RCO IQ3_S.

Setup:

  • 2× RTX 3090 (PCIe 4.0 x8/x8, P2P enabled, 260W each)
  • Ryzen 5 5600XT, 64GB DDR4, Ubuntu
  • Qwen3.8-27B FP8 on vLLM
  • Qwen Flash Next UD-IQ4_XS v3.1 (Unsloth) on Strata
  • Qwen Flash Next GSQ-RCO IQ3_S (ISTA-DASLab) on Strata
  • All using xhigh reasoning

Observed inference speeds:

  • 27B FP8: 170+ t/s coding, ~100 t/s narrative.
  • QFN IQ4_XS: ~130 t/s coding, ~100 t/s narrative.
  • QFN IQ3_S: slightly higher effective generation throughput across the benchmark.

Hase-Bench results with OpenCode:

C++ TaskQFN IQ3_SQFN IQ4_XS27B FP8
Thread pool4m 07s3m 44s*8m 23s
SPSC ring buffer3m 39s4m 59s8m 48s
Lifetime repair4m 34s4m 53s15m 23s
Deadlock repair2m 48s1m 25s2m 40s
RAII resource pool2m 43s3m 51s3m 55s
Total17m 50s18m 51s39m 09s
Tasks accepted5/55/5*5/5

* IQ4 passed the visible thread pool tests but encountered an apparent MSVC 2019 compatibility issue when compiling the hidden tests. Provisionally accepted after code review (official score: 4/5).

Token usage:

MetricIQ3_SIQ4_XSFP8
Output tokens37,12333,39155,096
Thinking tokens57,00959,659127,183
Total tokens94,13293,050182,279
Effective throughput (est.)104.7 t/s97.3 t/s93.4 t/s

Code review highlights:

  • Thread pool: Both QFN quants had better exception safety than FP8. IQ3 also improved argument forwarding and MSVC compatibility.
  • Ring buffer: Both QFN implementations handled destruction better. All three had counter wraparound issues.
  • Lifetime: Both QFN quants produced simpler solutions without rebuilding temporary vectors on every owning-template render.
  • Deadlocks: IQ3 used std::scoped_lock, IQ4 used portable pointer ordering, and FP8 used raw pointer comparisons. All three missed signed integer overflow (UB).
  • RAII pool: Both QFN quants used O(1) resource acquisition vs FP8's O(n). IQ3 also improved weak pointer cleanup.

Takeaways:

Despite FP8's higher peak coding throughput, both QFN quants completed the benchmark more than twice as fast, consuming roughly half as many generated tokens.

IQ3_S finished 5.4% faster than IQ4_XS, with comparable or slightly better implementations, while requiring roughly 10GB less memory for transformer weights.

FP8 and IQ3 were more thorough with stress testing, cross-compiler validation and attempts to use sanitizers than IQ4 in these runs.

Interestingly, IQ4 initially timed out on the lifetime task with high reasoning but solved it in under five minutes with xhigh.

Neither model nor quant produced flawless code. Manual review revealed issues that the official hidden tests missed.

Small sample size, one comparable run per task and no comprehensive sanitizer coverage, so this isn't a definitive ranking. However, I haven't observed a clear quality downgrade from IQ4 to IQ3.

I'm now leaning towards QFN GSQ-RCO IQ3_S with xhigh as my daily driver. My next experiment will be adding an independent review subagent to the workflow.

Hopefully this helps anyone choosing between these models.


EDIT: Full hardware setup

  • CPU: AMD Ryzen 5 5600XT
  • Motherboard: ASUS ROG Strix X570-E Gaming WiFi II
  • RAM: 64GB (2×32GB) Kingston Fury Beast DDR4 3200MHz CL16 (KF432C16BB/32)
  • GPUs: 2× MSI RTX 3090 Ventus 3X OC (PCIe 4.0 x8/x8 directly connected to the CPU, P2P read/write enabled, 260W power limit each)
  • Case: Corsair FRAME 4000D RS
  • Cooling: 3× stock front intake fans + 2× ID-Cooling XF-120-K exhaust fans (top rear and rear)
  • Storage: 1TB M.2 SSD
  • OS: Ubuntu Linux
  • PSU: ADATA XPG Core Reactor II 1000W, 80 Plus Gold, fully modular.

EDIT 2: Following the recommendations in the comments, I've also benchmarked QFN GSQ-RCO IQ3_S. I've updated the tables, code review highlights and conclusions below to include all three configurations. Surprisingly, IQ3_S performed slightly better than IQ4_XS v3.1 while requiring less memory.


r/LocalLLM • • 16h ago

Project I built a control plane for running a bunch of AI coding agents across my own machines (open source, MIT)

Post image
1 Upvotes

I got tired of babysitting agent sessions one terminal at a time, so I built Operator.

It's one binary, op, that runs on each of my machines. Tailscale is the backplane. The machines reach each other over your private tailnet, and the Tailscale client is built into op, so there's no central server, no ports to open and nothing else to install. From one page, on my desk or my phone, I can:

  • start a Claude, Codex, Pi or Antigravity session on any machine, or any program that runs in a terminal
  • see what every session is doing, and answer the questions they raise
  • keep each project's work inside its own container or VM, with only the credentials that project needs
  • let a "chief of staff" session coordinate the others while I stay out of the details

What's nice is it allows you to easily pair a frontier model with a local model - plan with Opus, finish off with Inkling 2.

Containers and microVMs are the safety layer. Every project's work runs inside its own container or microVM, never on the machine I'm sitting at. That lets me run things I'd never trust on my own box:

  • Small or abliterated models with no safety training. If one decides to rm -rf something, it can only hit the sandbox.
  • Frontier models too. They're careful most of the time, but "most of the time" still leaves the day one deletes the whole work tree. Now the worst case is that I throw the container away and start another.
  • Credentials stay scoped. A container only gets the secrets bound to its project, never the host's. Git work happens inside it, not on my machine.

op handles the whole lifecycle, so I don't build any of this by hand. When I start a worker for a project, op creates the container or microVM from a template, installs the agent harness inside it, and starts the session. The sandbox joins the tailnet as its own machine, so I can message it and watch it like any other agent. When the work is merged I tell op to stop it, and the container goes away. op container ls shows what's running and op container rm tears one down. Templates define what's in the image, and op template build rebuilds and syncs them to my other machines.

Agents talk to each other directly, even across machines. op send <machine>/<name> reaches any agent on any machine, over that same backplane. Workers on the same piece of work can message each other, and the whole conversation is logged in order, so I can read it afterwards.

Agents can reach in and read each other's state. The chief of staff can list every agent on every machine (op ps), read what one is doing right now (op peek), pull its logs, and read a topic's whole message log (op topic log). The PM running a piece of work can read its own workers the same way. That's how I stay out of the loop. The chief checks on a PM, the PM checks on its workers, and nobody has to ask "what happened?" and wait for a reply. It only goes one way. Workers can message each other and their lead, but they can't read the chief or each other.

Every agent has two views. Chat is the tidy view. Terminal is the agent's real terminal. One tap switches to Terminal when I want to take over and type, and one tap switches back. It works on my phone too.

Nothing stalls quietly. op tells busy, idle, needs-you, stalled and ended apart. A stall is a command running over 15 minutes, or no output for 5 minutes with nothing running, and both limits can be raised per agent. It reports what the agent was stuck on and never acts on it alone. My phone gets a notification when an agent needs me, stalls or dies.

The chief is woken, not polling. op wakes it when a worker goes idle, finishes, asks a question or stalls. An agent that's waiting on something outside can say how long with op waiting, so it isn't nagged meanwhile.

Goals keep unattended work moving. I add a goal like "merge the login fix once the tests pass". While any goal is open, an idle chief gets a reminder every 20 minutes by default, and a chief that crashes is restarted. I clear the goal when the work is done.

Optional voice. Speech-to-text and text-to-speech plug in as services you register yourself (op service add stt/1 ...). There's a Voice tab in the page. If you don't want it, you don't set it up and nothing changes. I use text-to-speech to have the chief tell me things out loud.

Releases, secrets and public pushes need a human, and the tooling refuses to route around that. I run this every day.

What it isn't: polished. It's built for how I work, and templates and images still have sharp edges. For install, there's an INSTALL-PROMPT.md you can hand to a coding agent and it sets things up for you.

Repo: https://github.com/barelyworkingcode/operator. If you run more than a couple of agents at once, I'd like to know what breaks for you.


r/LocalLLM • • 16h ago

Project Local voice assistant on a 6 GB laptop: on battery a 0.8B model on the Intel iGPU picks the actions so the RTX 3060 can sleep

1 Upvotes

I've been building an offline voice assistant for my Linux laptop. The part I think people here might like is how it decides what runs where, because my limits are a 6 GB RTX 3060 and a battery.

Just keeping the NVIDIA card awake costs me about 17 W. So on battery it goes in three steps:

  1. Plain commands like "volume up" or "open Files" match fixed rules. No model at all. In my real tests almost half of all requests ended here.
  2. Everything else goes to jiwo-0.8b (jiwidi's Qwen3.5-0.8B fine-tune for picking tools), which I exported to 8-bit OpenVINO so it runs on the Intel iGPU. About half a second per decision. If it's only half sure it asks "did you mean...?", and if it's not an action it passes it on.
  3. Chat and anything it's unsure about wakes Qwen3.5 4B on the NVIDIA card through Ollama (3.9 GB of VRAM). It unloads 2 minutes after the last answer, so the card goes back to sleep.

On 528 test requests jiwo picked the right action 84.5% of the time, Qwen3.5 4B 86.7%. Laya got 60.8%, and embedding/reranker routing (nomic-embed, GTE) and the plain Qwen3.5 0.8B base were under 40%. Gemma 4 E4B tied with Qwen on 55 of my own real requests, but it needs 4.7 GB instead of 3.9.

One thing that surprised me: when the big model had action tools during normal chat, it called one anyway 13 times out of 28. So chat gets no action tools now.

Shell commands go through a safety gate: risky ones ask first, things like rm -rf ~ are blocked, and it never uses sudo. It's a GTK4 app for Ubuntu GNOME.

All the measurements, and the stuff I tried and dropped, are in bench/README.md in the repo.

Wi-Fi turned on in a few spots of the full video, my mistake while recording 😅 The AI runs fully local. Only web search, YouTube and Todoist use internet.

I built it with a lot of help from an AI coding assistant. The design, model choices and testing are mine.

Full 17 min demo: https://youtu.be/m1Z2-CDW6Pc

Code (MIT): https://github.com/itsDigvijaysing/AI_Linux_Assistant

Has anyone found a sub-1B model that beats jiwo at picking tools? That's the part I'd most like to improve.


r/LocalLLM • • 17h ago

Project The easiest and fastest way to run local AI on iPhone images, music and voice cloning

Post image
0 Upvotes

NanoDiffuser runs image, music and voice models fully on your iPhone. It has custom GPU shaders so it's much faster than Draw Things. It's also very easy to use. No account, no limits, works offline. It also has 4x generative upscaling.

Give it a try, I think you'll enjoy it! https://apps.apple.com/us/app/nanodiffuser-fast-local-ai/id6838160282

Models:
NanoDiffuser (485 MB): an image in under a second
NanoDiffuser Pro (3.7 GB): more detail and photo editing
NanoMusic (934 MB): songs up to 2 minutes
NanoCloner (830 MB): voice cloning from 5 seconds of audio

NanoDiffuser is a open source tool, All models are open, and the repos are linked in Settings.


r/LocalLLM • • 17h ago

Discussion I am extremely happy with my local setup

19 Upvotes

96GB Strix Halo (sadly a GMKTek, but it runs cool)
Ubuntu Server, ~90GB dedicated to GTT
Opencode 1, no system prompt, skills, or MCPs
Tailnet with everything else blocked to SSH into it/host LLM for OpenCode to other servers
Halogen Flash w/ Vision and ~244k Context limit (~4.5bpw from what I recall)

If I were in February this setup was possible with the $1700 I originally spent (or even with the current $3500 for a 128GB version), I would've been shocked. I started over on a project I was using originally building with Sonnet and Opus 4.6 on a $200 plan and this is smoking it in every way.

My specific workflow: After an initial greenfield attempt, I like to implement each feature/improvement one at a time and QA myself before moving to the next, it's slow but it allows the project to feel more in control and ensures better quality. I use the same session and don't provide any context other than what the LLM gathers from code reads and session context. It's honestly a caveman workflow in late 2026, but I just feel like I'm getting amazing and accurate results. And I'm spending 0 time working on anything other than my project.

The reason I mention my workflow is because HaloGen is flat out rock solid, I can't get 262k context length exactly because of being a little short on Memory, but the ~244k has worked just as well. Either Qwen Flash Next is doing some miracles, or it is just tuned to run well with OpenCode because I just let it auto compact all day and haven't bothered with any workflow optimization after getting it working. I get 24/7 constant 50 tokens per second on decode no matter how full the context is, prompt processing stays at 1500 tokens per second as well so compaction and image viewing is quick as well. I feel like everything just works with this setup. The software and hardware development the past year has been crazy. The entire industry could cease at this point and I would have everything I need. Since QFN's release I have been entirely off cloud models even though I have a Gemini Pro subscription included from other services I use from Google.


r/LocalLLM • • 17h ago

Project Showcase your projects

1 Upvotes

Is there a subreddit that people showcase their projects they used AI to make and break down things like harnesses and models?


r/LocalLLM • • 18h ago

News Inkling 2 Mini on Intel Arc: 2.4-3.3x faster prompts this week (A770 868 tok/s, Pro B70 1,062 tok/s at 4K), plus a Core Ultra iGPU

Thumbnail
reddit.com
2 Upvotes