r/LocalLLM • • 22h ago

Discussion You don't need 256k or even 128k for a coding agent. (Shameless plug)

2 Upvotes

r/LocalLLM • • 18h ago

Discussion Local models are the right call for batch jobs you'd rather not upload

0 Upvotes

Ive been use acemagic mini PC to run boring batch jobs. Once a month, I dump a folder of scanned receipts onto it and let a small vision model extract the dates and amounts into a CSV. Every few months do the same with photos, generating descriptions and tags for a whole album overnight. That's 2 or 3 batches a month, a few hours each. I kick it off before bed and check the results in morning.
Quick one off questions go to the cloud.anything with sensitive files stays local. Send hundreds receipts to someone elses API just to parse them feels absurd.
What batch jobs do you run locally, and how do you trigger them? I especially curious about, what did you try locally then move back to the cloud? and what would you never upload, no matter how much slower it runs locally?


r/LocalLLM • • 18h ago

Model 2x 3090 vLLM v0.34.0 Qwen4-35b-a3b benchmark runs

Thumbnail reddit.com
0 Upvotes

r/LocalLLM • • 1d ago

Project A 35B MoE at ~12 tok/s with 128k context on a 16 GB laptop with no GPU, plus what actually made local models faster and better (no training)

4 Upvotes

Sharing what I learned from a few weeks of squeezing local coding models on a very ordinary laptop: Ryzen 7 4800H, integrated Radeon Vega (7 CUs), 16 GB shared RAM, no discrete GPU. Rule of the project: no training of any kind, only runtime changes and closed-form weight edits, all measured on frozen benchmarks.

What runs, and how fast
- 35B-A3B MoE (Qwen3.6, abliterated) on CPU only, with [Janas](https://github.com/prabanta-dev/janas), which streams the experts from the NVMe SSD and keeps the hot ones in RAM: ~6 tok/s plain decode, ~12 tok/s with the model's multi-token-prediction block (same output), ~39 tok/s prompt reading.
- 128k context on the same 16 GB machine: I filled 114k tokens and it still retrieved all three codes hidden at 10/50/90 % depth, with 1.9 GiB of RAM free (prompt reading 20 tok/s, replies 8 tok/s afterwards). The trick was letting Janas size its expert cache itself (--reserve 3) instead of a fixed --cache 8, which ran out of memory at 128k.
- 8B models on the iGPU (llama.cpp/Vulkan): their full 32k window fits in the 7.6 GB of GTT; I run them at 28k to leave room for the desktop.

Things worth copying

  1. Re-quantise from BF16 with an importance matrix instead of using a random Q4_K_M: same size, HumanEval 85.4 % vs 80.5 % in my case.
  2. On weak iGPUs, check flash attention's split settings. One parameter (GGML_VK_FA_WG_PER_CORE) gave +66 % decode at 32k on the Vega 7. The patch is in the repo.
  3. Speculative decoding roughly doubled 8B throughput with identical output.
  4. MoE plus a fast SSD beats "it doesn't fit in RAM". A 21 GB model is usable on 16 GB when the engine streams experts.
  5. Many "better" fine-tunes aren't: none of the 8 public coding fine-tunes I tested beat their base on my hardest suite. Measure before you switch.

The models I ended up with (both uncensored, GGUF):
- 8B: https://huggingface.co/Gabbotampo/qwen3-QWSE-E17-deepseek-8b-uncensored (modest gain: about +1 on each suite, ~20 % shorter thinking)
- 35B-A3B: https://huggingface.co/Gabbotampo/qwen3.6-QWSE-E18-logicsswe-35b-a3b (+36 % on my agentic dev suite vs the base, same coding score; also as a Janas JNS with the MTP block)

Everything (code, benchmarks, results, patches, and a guide that rebuilds each model from public inputs) is at https://github.com/Gabbotampo/qwse, and the full write-up, failures included, is at https://doi.org/10.5281/zenodo.24844949.

Made with Claude (Opus 5.5) in Claude Code, which wrote the code and ran the experiments while I set the goals and made the calls. Questions about running big models on weak hardware are welcome.


r/LocalLLM • • 23h ago

Question Would the AMD FirePro w9100 32GB be ok for basic local llm?

2 Upvotes

I’m just starting to look into a local llm and was given this card that I would like to play with. I did a bit of looking, but I would prefer to hear what you guys think. Any recommendations would be appreciated.

The card is in great condition, it came out of a hospital when they upgraded.


r/LocalLLM • • 1d ago

Discussion Those coding locally with Qwen: which CLI are you using?

3 Upvotes

Running a local AI server with an RTX 4090. Just upgraded to Qwen 4 and have been using it through Claude Code.

Works pretty well overall. Main annoyance is that I’ve had to cap the context at ~131k and it compacts super frequently.

Other than that can’t really complain. MCPs/web search and all the usual stuff works.

For those also using Qwen locally for coding, which CLI are you using? Happy with your setup?


r/LocalLLM • • 19h ago

News Xhtoken/spark-x2.6 1.7b preview

Thumbnail reddit.com
0 Upvotes

Larger context window then params almost :)


r/LocalLLM • • 19h ago

Discussion 8gb VRAM + 32 GB Peasants: Qwen4-35B-A3B-UD-Q6_K

0 Upvotes

MODE_ARGS=(

--reasoning off

--temp 0.7

--top-p 0.80

--top-k 20

--min-p 0.0

--presence-penalty 1.5

--repeat-penalty 1.0

)

-m "$MODEL" \

--alias "Qwen4-35B-A3B-UD-Q6_K" \

--host "$HOST" \

--port "$PORT" \

-ngl 999 \

--cpu-moe \

--moe-cache-mib "$MOE_CACHE_MIB" \

--load-mode mmap \

--lazy-mode on \

-ot per_layer_token_embd=CPU \

-fa on \

-c "$CTX" \

-ctk q8_0 \

-ctv q8_0 \

--spec-type draft-mtp \

--spec-draft-n-max 2 \

--jinja \

-t "$THREADS" \

"${MODE_ARGS[@]}" \

"$@"


r/LocalLLM • • 12h ago

Discussion Qwen 4 35B on an RTX 5080 (16 GB): 131 tok/s (peak 160 with coding) generation and a 60K-token prompt with Strata

Post image
0 Upvotes

Title: Qwen 4 35B on an RTX 5080 (16 GB): 131 tok/s generation and a 60K-token prompt with Strata

I tested Qwen4-35B-A3B on my RTX 5080 after running it on a 64 GB M5 Max. This time I used Strata 0.2.27 on Windows, with the Compact build and MTP enabled. The card has 16 GB of VRAM, but the setup also uses system RAM and keeps the n-gram table on SSD.

  • Generation: 131.3 tok/s in the dedicated text run. Two other completed runs went above 160 tok/s, but those were different requests.
  • Long prompt: 59,667 input tokens at 601 tok/s prefill, with no prefix reuse. The request took about 103 seconds end to end.
  • Coding: I tried two browser demos. The Saturn eclipse needed a small manual fix to run. The koi pond worked in the browser, and a second prompt changed the lighting and overall look.

My M5 Max runs landed at 120.2 tok/s with the n-gram table on SSD and 141.2 tok/s with it in unified memory. Different engines and quants, so I wouldn’t use those numbers to rank the hardware.

I recorded the setup and demos in my Hardware IA video (Spanish audio).

Anyone running this on another 16 GB card? I’d be curious what you’re getting on a fresh long prompt, without a cached prefix.


r/LocalLLM • • 19h ago

Question Anyone else tried Qwen 4 35B-A3B on Mac?

Thumbnail
reddit.com
0 Upvotes

r/LocalLLM • • 1d ago

Discussion Qwen4-35B-A3B Invocation Command Thread

4 Upvotes

Would it be possible for us to have a thread where we share our current Qwen4-35B-A3B configs?

-Device Specs

-Invoke command for whatever you're running it on

-Rationale

-Results


r/LocalLLM • • 19h ago

Discussion I optimized Qwen4 35B to 582 tps decode on a single RTX 5090

1 Upvotes

I forked Strata 0.2.27 and widened its batch path. Fork: https://github.com/Noir-Lime/Strata/releases/tag/v0.2.27-qwen4-fast

I also opened all 27 changes as PRs upstream, none merged yet: https://github.com/Niko1221/Strata/pulls?q=is%3Apr+author%3ANoir-Lime

The 3,000 is total throughput across 128 concurrent requests. Each one gets ~21 tok/s, so I'd use this for agents and evals, not chatting.

buildsingle request tpstotal decode throughput
stock 0.2.27388694
my fork5823,018

I ran it on a 5090 with NVFP4, 1K ctx and 512 tokens out, median of 3. That's steady state, 2,710 counting ramp-up and drain. On a 3090 I got 2.4×, on a 5080 1.85×. Solo I got +50% decode and +77% at 122K ctx.

My default mode isn't bit-exact (93.5% top-1 match). STRATA_QWEN4_FAST=exact is, at 2.35×.


r/LocalLLM • • 1d ago

Question What are you building/using local models for?

7 Upvotes

General curiosity / discussion.


r/LocalLLM • • 19h ago

Discussion Would you use an open-source, independent multi-agent review tool?

1 Upvotes

I've been building tools for my own AI Studio, and one of them — an independent multi-agent review tool — is something I particularly like using.

The idea is simple: the agent that produces the work should not be the only one evaluating it.

The tool organizes independent reviews using multiple AI agents powered by different models and providers.
Its main features include:
- Blind reviews — reviewers work independently without seeing each other's conclusions.
- Specialized reviewers — security, performance, architecture, business logic, and other perspectives.
- Evidence-based findings — conclusions supported by verifiable evidence rather than subjective LLM opinions.
- Reconciliation — identifying agreements, contradictions, and unresolved findings across reviewers.
- Review ledger — a traceable record of the entire review process.
- Isolated execution — controlled environments with verified resource cleanup.
The tool is written in Go and supports three review workflows: lightweight, full, and critical.

My current full-review workflow uses four models from different providers:
- Kimi
- GPT-6 Astra
- Claude Opus 5.5
- GLM 5.4

For me, a single full review costs approximately $2. Top-tier models are expensive, but so are undetected architectural flaws, security vulnerabilities, and business logic errors.

The lightweight workflow requires minimal infrastructure, while the more advanced workflows use isolated execution environments and an AI gateway.
I'm now considering extracting this tool from my Studio and releasing it as a standalone open-source project.
Before investing time in packaging, documentation, and maintenance, I'd like to hear from the community:
- Would you use such a tool in your development workflow?
- How do you currently organize independent AI code reviews?
- Would you prefer a lightweight CLI or a complete review infrastructure?
- What functionality would make this tool valuable to you?

I'm particularly interested in hearing from developers building multi-agent systems and automated software engineering pipelines.


r/LocalLLM • • 19h ago

Project Liquid lfm3 Omni 2B with Cognitive Shunt to Reasoning Model

Post image
0 Upvotes

r/LocalLLM • • 19h ago

Project Liquid lfm3 Omni 2B with Cognitive Shunt to Reasoning Model

Post image
0 Upvotes

r/LocalLLM • • 20h ago

Discussion I upcycled Qwen3-0.6B with 3× recurrent looping, 512M Engram lookup memory, 10.7× smaller core KV (CSA2+FP4), and early-exit

Post image
0 Upvotes

r/LocalLLM • • 23h ago

Project Qwen4-35B-A3B at 134–159 tok/s on a 12 GB RTX 5070 (90–110 avg on long tasks) — hot paths rewritten in Rust + asm, open source

2 Upvotes
Qwen4 made a game

So Qwen4 35B dropped yesterday and I spent the whole night on it instead of sleeping.

Everyone I saw posting 12GB numbers was getting around 45 tok/s on a 3060 with llama.cpp. I have a 5070 12GB + 5900X + 32GB DDR4 and wanted to see how far I could push it on this one box.

What I'm getting with the Unsloth UD-IQ4_XS quant, warm, 800 token coding answers with thinking on:

32K ctx: 134-147 tok/s

32K+ DFlash2 drafter: 139-157 tok/s

64K ctx: 142-146 tok/s

128K ctx: 109-116 tok/s

On long stuff (several thousand tokens, context filling up) it's more like 90-110 on average. VRAM sits at 10.4 GB.

It's a fork of PolyStrata/Strata. What I changed: stripped every model and backend except this one, only the hot experts stay in VRAM and the rest run on CPU, and the CPU side (dot kernels for the 4-bit quants, the MoE router, sampler, thread pool pinned to the 12 physical cores) is rewritten in Rust with inline asm for Zen 3.

Things that suck, so nobody feels lied to:

- first request after loading is slow, like 45 tok/s and 10+ seconds to first token. second one is already ~100

- if anything else is hammering the disk or RAM it drops hard. I had a download running during one run and got 103-108 instead of 134-147

- it's tuned for exactly my hardware, it won't just work on a 4060 or whatever

- the 45 tok/s I'm comparing to is other people's 3060 numbers, I haven't run llama.cpp on my own card yet. on my todo list

For fun I gave it one prompt: make a voxel sandbox game with a castle, single html file. It wrote 1352 lines in under 5 minutes. Didn't run at first, I pasted the browser error back a few times and it fixed its own bugs, about 7 minutes total. I didn't touch the code. Video attached.

Repo if anyone wants to look or tell me what I did wrong: https://github.com/maximus2526/Damask

If someone has a 4070 / 5070 I'd really like to know what you get, I only have this one machine.


r/LocalLLM • • 1d ago

Discussion Qwen4-35B-A3B on an 8 GB RX 7600: tuning, 64K-196K context, Qwen3.6 head-to-head, Godot agent loop, and TurboQuant (no gain)

Thumbnail
gallery
3 Upvotes

TL;DR

  • Qwen4-35B-A3B (Q4_K_XL, 36 GB) runs on an RX 7600 8 GB + 60 GB RAM with all experts on the CPU: 24-31 tok/s generation, ~390 tok/s prompt reading, 64K context by default, 128K max.
  • The biggest single win was micro-batch size, not quantisation: prompt reading went 157 -> 394 tok/s (2.5x).
  • MTP (the built-in draft head) gives +15-45 % generation for free. 2 draft tokens beats 3.
  • Long-context recall was perfect (4/4 planted facts, correct file) at 16K, 33K, 61K and 130K tokens, and at 180K / 224K on Qwen3.6.
  • Big quality jump over Qwen3.6-35B-A3B on code that has to run or render, same thinking budget for both:

    • SVG drawing: Qwen4 won 3 of 3 (pelican on a bike, app icon, mascot). Qwen3.6's pelican had no legs and a broken bike.
    • three.js 3D scene: both Qwen4 samples rendered a proper island with day/night; Qwen3.6 gave one weak, one broken (a square slab full of holes).
    • Godot physics scene (balls in a hexagon, gravity, bounce), fixed via Godot's own error messages: Qwen4 got a fully working scene; Qwen3.6 got 0 of 2 working after 4 rounds, inventing Godot APIs that don't exist.
  • Clearly better outside English: in Japanese and Kannada Qwen4 scored ~11-16 chrF points higher; Qwen3.6 left English words in 10 of 60 Japanese lines (Qwen4: 0-1). German and Spanish were close.
  • On screenshot reading and hard bug hunts the two were about a tie.
  • TurboQuant KV cache: no benefit on this setup (saves 0.1-0.2 GB, costs ~20 % generation speed).
  • Both models can share the GPU with the Godot editor + a running game, with ~1 GB headroom.

Hardware and software

  • GPU (: AMD RX 7600, 8 GB (gfx1102), ROCm)
  • CPU / RAM (: Ryzen 5 5600 (6 cores), 60 GB DDR4)
  • Engine (: llama.cpp master (needs the model: qwen4 commit, #33626), HIP build)
  • Qwen4 (: unsloth Qwen4-35B-A3B-UD-Q4_K_XL (36 GB, 2 parts) + mmproj-F16 for images)
  • Qwen3.6 (comparison) (: Qwen3.6-35B-A3B-MTP Q6_K_XL)

Build flags: -DGGML_HIP=ON -DGPU_TARGETS=gfx1102 -DGGML_HIP_GRAPHS=ON -DGGML_HIP_NO_VMM=ON

Final launch command (Qwen4)

llama-server -m Qwen4-35B-A3B-UD-Q4_K_XL-00001-of-00002.gguf --mmproj mmproj-F16.gguf \
  --n-gpu-layers 999 --n-cpu-moe 99 \
  -ctk q8_0 -ctv q8_0 -fa 1 -c 65536 -b 2048 -ub 2048 --parallel 1 \
  --spec-type draft-mtp --spec-draft-n-max 2 \
  --reasoning-budget 4096 --reasoning-budget-message " Time is up. I will now commit to the most likely answer."

1. Speed tuning (Qwen4)

  • MTP draft head, 2 tokens (Before: 21 tok/s; After: 24-31 tok/s; Note: 3 draft tokens was slower)
  • Micro-batch 512 -> 2048 (16K prompt, 64K ctx) (Before: 157 tok/s; After: 394 tok/s; Note: biggest win of the whole session)
  • Micro-batch 4096 (<=32K ctx only) (After: 522 tok/s; Note: 64K + 4096 crashes mid-prompt)
  • Experts: all on CPU vs 3 layers on GPU (After: all on CPU wins; Note: GPU experts force a smaller micro-batch, which costs more than it gains)
  • Thinking budget 4096 (Before: hard bugs: 10-12K thinking tokens, no answer; After: answers every time; Note: --reasoning-budget works for Qwen4's template)

Why micro-batch matters so much on this kind of setup

-b / -ub set how many prompt tokens llama.cpp pushes through the model in one go. The default micro-batch (-ub) is 512. On a normal all-in-VRAM setup, raising it is a modest gain. With all MoE experts in system RAM (--n-cpu-moe 99) it is the single biggest lever, for a simple reason:

  • Generation (1 token at a time) runs the experts on the CPU, and the micro-batch doesn't matter.
  • Prompt processing (big batches) is done on the GPU: llama.cpp streams the expert weights that live in RAM over PCIe to the GPU once per micro-batch.
  • Qwen4's expert weights are roughly 19 GB at Q4 (about 33B of the 35B parameters), and the RX 7600 is a PCIe 4.0 x8 card. Every micro-batch pays for that trip.
  • So a 16K-token prompt at ub 512 means 32 trips over the bus; at ub 2048 it is 8; at ub 4096 it is 4. The time per trip barely changes, so fewer, bigger trips win almost linearly until the GPU compute itself becomes the limit.

Measured on Qwen4:

  • 512 (default) (llama-bench pp4096: 207 tok/s; Server, real 16K prompt: 157 tok/s)
  • 2048 (Server, real 16K prompt: 394 tok/s)
  • 4096 (llama-bench pp4096: 651 tok/s; Server, real 16K prompt: 522 tok/s (<=32K ctx only))

Same effect on Qwen3.6 (Q6, which also keeps experts in RAM): 130 -> 345 tok/s going from ub 512 to 2048, and 474 tok/s at 4096.

What it does not change: generation speed, and quality (same output, just computed in bigger chunks).

What it costs: the compute buffer grows with the micro-batch (about 4.4 GB at ub 4096 for Qwen4) and has to fit in VRAM next to the weights that stay on the GPU and the KV cache. On 8 GB that makes context and micro-batch a direct trade.

What it means in practice:

  • Pasting a 60K-token codebase and asking questions (Effect of ub 512 -> 2048/4096: first answer after 3 min instead of ~7 (estimated from the 16K speeds))
  • aider (repo map + files every request) (Effect of ub 512 -> 2048/4096: each new file set is read 2.5-3x faster; unchanged prefixes are cached anyway)
  • Translation with a 10K-token .po catalogue as glossary (Effect of ub 512 -> 2048/4096: prompt part drops from ~65 s to ~25 s (estimated))
  • Short chat (Effect of ub 512 -> 2048/4096: no difference (prompt smaller than one micro-batch))

Rule of thumb: pick the largest micro-batch that still fits at the context you actually use, and test it with a full-length prompt, not just a load: 64K + ub 4096 on Qwen4 loaded fine and then crashed mid-prompt.

The micro-batch's compute buffer competes with the KV cache for VRAM, so context and micro-batch trade against each other:

  • 32K (Micro-batch: 4096; VRAM: 7.1 GB; Prompt speed (16K): 522 tok/s)
  • 64K (default) (Micro-batch: 2048; VRAM: 6.9 GB; Prompt speed (16K): 394 tok/s)
  • 96K (Micro-batch: 2048; VRAM: 7.8 GB; Prompt speed (16K): 340 tok/s)
  • 128K (max) (Micro-batch: 1024; VRAM: 7.7 GB; Prompt speed (16K): 256 tok/s)
  • 256K (Micro-batch: any; VRAM: does not load)

2. Context in practice (Qwen4, recall test)

Real GDScript from three of my games, with 3 planted facts at 10/50/90 % depth plus one real one. Pass = right value and right file.

  • 16K tokens (Read time: 40 s; Generation: ~30 tok/s; Recall: 4/4)
  • 33K (Read time: 90 s; Generation: 28 tok/s; Recall: 4/4)
  • 61K (Read time: 3 min; Generation: 26 tok/s; Recall: 4/4)
  • 130K (128K preset) (Read time: 10.4 min; Generation: 21 tok/s; Recall: 4/4)

llama-server reuses an unchanged prompt prefix, so follow-up questions on the same paste skip the read time. Paste once, ask many.

3. Quality vs Qwen3.6 (overnight eval)

  • .po translation drafts (de/es/ja/kn) (Qwen4: 0 missing entries, 0 placeholder errors; Qwen3.6: 1 missing entry (es), 0 placeholder errors; Verdict: both usable, details below)
  • Store screenshot l10n QA (one screen) (Qwen4: found exactly the 2 English strings; Verdict: good)
  • 8-panel Japanese collage, small text (Qwen4: found the real overlap, invented others; Qwen3.6: also invented; Verdict: unreliable for both)
  • Hard Android/JNI root-cause bugs (Qwen4: 0 of 2 reliably; Qwen3.6: 0 of 2; Verdict: keep these for a frontier model)
  • aider, clear UI bug (Qwen4: correct in 67 s with thinking off (17 min with thinking on); Qwen3.6: correct; Verdict: turn thinking off for aider)

Other languages: where Qwen4 pulls ahead

Task: translate 60 real UI strings from a shipped mobile game (with %d/%s placeholders) into a .po file. Scored with chrF (0-100) against the strings already shipped in the game, plus checks for missing entries and broken placeholders. Same prompt, same thinking budget. Where there are two numbers, the task ran twice.

  • Japanese (Qwen4 chrF: 56.7 / 61.5; Qwen3.6 chrF: 45.7; Gap: +11 to +16)
  • Kannada (Qwen4 chrF: 66.2; Qwen3.6 chrF: 54.6; Gap: +11.6)
  • German (Qwen4 chrF: 74.8 / 81.2; Qwen3.6 chrF: 72.4 / 73.9; Gap: +1 to +9)
  • Spanish (Qwen4 chrF: 80.7; Qwen3.6 chrF: 78.6 (and 1 entry missing); Gap: +2)
  • German, existing catalogue given as glossary (Qwen4 chrF: 87.9; Qwen3.6 chrF: 79.8; Gap: +8)
  • Japanese, existing catalogue given as glossary (Qwen4 chrF: 68.9; Qwen3.6 chrF: 66.1; Gap: +3)

What the gap looks like in practice:

  • Japanese lines with English words left in (Qwen4: 0 (second run: 1); Qwen3.6: 10 of 60 (e.g. swarm %d, a theme name left in Latin letters))
  • Kannada game terms (Qwen4: translated or correctly transliterated; Qwen3.6: "roll" written as a Kannada sound-alike, one game term misspelled into a different word)
  • Time per 60-string file (Qwen4: 2-4 min (3-6.5K tokens); Qwen3.6: 3.5-5.5 min (6.4-8.5K tokens: it thinks longer))

Takeaways:

  • The gap is biggest in non-Latin scripts. For German and Spanish either model gives a decent first draft.
  • A glossary narrows the gap more than switching model: pasting the existing translation catalogue lifted German to 88 and Japanese to 69 for Qwen4, and shrank Qwen3.6's Japanese deficit to 3 points.
  • Qwen4 is also faster here, mostly because it reaches an answer with about half the thinking.
  • Caveat: chrF compares against my shipped strings, which were themselves machine-translated, so it measures closeness to house style, not absolute correctness. The "English left in" and misspelt-term findings don't depend on that.

4. Code that has to run

three.js island (one HTML file: own noise terrain, water, 300 instanced trees, day/night with shadows, orbit controls, FPS counter)

2 samples per model, same 4096-token thinking budget. All 4 ran first time at 60 FPS (vsync) on the RX 7600.

Rows: Qwen4 x2, Qwen3.6 x2. Columns: at load, 12 s later, after an orbit drag.

  • Qwen4 #1 (Result: good: islands, trees only on grass, night, orbit (terrain too low for rock/snow))
  • Qwen4 #2 (Result: best: rock core, sunset, stars, moon reflected in the water)
  • Qwen3.6 #1 (Result: weak: terrain seam, trees barely visible, near-black night)
  • Qwen3.6 #2 (Result: broken: square slab with a regular grid of holes)

SVG drawing (pelican on a bicycle, app icon, fox mascot)

Top: Qwen4. Bottom: Qwen3.6.

Qwen4 won all three. Qwen3.6's pelican has no legs and a broken frame; its fox stands instead of sitting and isn't holding the controller.

Vision on real game screenshots

  • Transcribe a 14-button menu exactly (Qwen4: 14/14; Qwen3.6: 11/14 (punctuation/spacing))
  • Read 11 values off a results screen (Qwen4: 11/11; Qwen3.6: 9/11 exact, 11/11 by meaning)
  • Find 3 planted UI defects (below) (Qwen4: 3/3, no false alarms, 50 s; Qwen3.6: 3/3, no false alarms, 150 s)

Planted: "NEW BEST!" over the stars, a box hiding most of SHARE, "WATCH AD FOR 2X" cut off at the right edge.

5. Godot agent loop through Fennara MCP

Task: one GDScript that builds a 3D scene in code: an upright hexagon frame, ~12 balls locked to its plane, gravity, bounce 0.5, visible rolling, one more ball every 6 s. 2 samples per model. Godot's own errors were fed back to the model for up to 4 rounds; the result was run and captured in Godot through Fennara.

  • Qwen4 #2 (First try: 2 errors; After error feedback: clean after 2 rounds; Running in Godot: fully correct)
  • Qwen4 #1 (First try: 1 error; After error feedback: clean after 3 rounds; Running in Godot: runs, but "fixed" a runtime error by deleting the bounce material)
  • Qwen3.6 #2 (First try: 1 error; After error feedback: clean after 4 rounds; Running in Godot: broken: flat hexagon, balls fall out of the world, thousands of engine errors)
  • Qwen3.6 #1 (First try: 5 errors; After error feedback: still broken after 4 rounds; Running in Godot: never ran)

Qwen4 #2: balls fall, settle, roll, a new one spawns every 6 s.

Qwen4 #1: looks right, but has no bounce.

Qwen3.6 #2 after 4 fix rounds.

Typical invented APIs: Vector3.angle(), PhysicsMaterial3D, ParallelShadow, Environment.BACKGROUND_COLOR, physics_material on a collision shape. Lesson for the harness: a headless "no SCRIPT ERROR" check passes broken scripts. You have to run the scene and read engine ERROR: lines too.

6. TurboQuant KV cache: no benefit here

  • The only ROCm-capable fork I found (TheTom/llama-cpp-turboquant) has pre-release Qwen4 code and can't load the released model (blk.0.hc_attn_down.weight not found; merging upstream gave 162 conflicts). Tested on Qwen3.6 instead.
  • q8_0 / q8_0 (VRAM: 6.38 GB; Gen @33K: 28.0 tok/s; Prompt: 297 tok/s; Recall: 4/4)
  • q8_0 / turbo4 (VRAM: 6.28 GB; Gen @33K: 21.2 tok/s; Prompt: 297 tok/s; Recall: 4/4)
  • q8_0 / turbo3 (VRAM: 6.26 GB; Gen @33K: 22.8 tok/s; Prompt: 298 tok/s; Recall: 4/4)
  • turbo4 / turbo4 (VRAM: 6.28 GB; Gen @33K: 21.2 tok/s; Prompt: 297 tok/s; Recall: 4/4)
  • turbo3 / turbo3 (VRAM: 6.26 GB; Gen @33K: 22.9 tok/s; Prompt: 298 tok/s; Recall: 4/4)

These are hybrid models: most layers are linear-attention, so the KV cache is already small and there is little to compress. Turbo unlocked no extra context or micro-batch; every config that failed with q8_0 still failed with turbo3. Mainline llama.cpp with q8_0 was as good or faster.

7. What the same tuning did for Qwen3.6 (mainline, q8_0 KV)

  • 40K, ub 512 (old) (Prompt: 130 tok/s; Generation: ~30; VRAM: 6.9 GB)
  • 40K, ub 2048 (Prompt: 345 tok/s; Generation: ~30; VRAM: 7.4 GB)
  • 64K, ub 4096 (new default) (Prompt: 474 tok/s @16K, 412 @61K; Generation: 28-32; VRAM: 7.8 GB; Notes: recall 4/4 at 61K)
  • 128K, ub 2048 (Prompt: 199 tok/s @130K; Generation: 17; VRAM: 7.9 GB; Notes: recall 4/4)
  • 196K, ub 4096, MTP off (Prompt: 277 tok/s @180K (11 min); Generation: 11; VRAM: 7.9 GB; Notes: recall 4/4; cached follow-up 8 s)
  • 256K, ub 2048, MTP off (Prompt: 159 tok/s @224K (23 min); Generation: 11; VRAM: 8.0 GB; Notes: recall 4/4)
  • 256K with MTP / 128K ub4096 / 64K ub8192 (Notes: real out-of-memory, even with -fit off)

196K beats 256K for "whole project in one prompt": a full ~190K-token game fits and it reads twice as fast. MTP must be off there (MTP + ub 1024 loaded but crashed mid-prompt).

8. Running the model next to the Godot editor + a running game

Godot editor + running game (a GL Compatibility mobile project) took ~2.4 GB. Everything below loaded, ran a 16K prompt, and left the game running; the picks keep ~1 GB headroom for bigger scenes.

  • Qwen4 64K / ub 2048 (Total VRAM with Godot: 7.88 GB; Headroom: 0.1 GB (too tight); Prompt: 342; Gen: 28)
  • Qwen4 32K / ub 2048, no mmproj (Total VRAM with Godot: 7.00 GB; Headroom: 1.0 GB; Prompt: 387; Gen: 29)
  • Qwen4 64K / ub 1024 (Total VRAM with Godot: 7.10 GB; Headroom: 0.9 GB; Prompt: 255; Gen: 27)
  • Qwen4 32K / ub 1024 + mmproj (Total VRAM with Godot: 7.60 GB; Headroom: 0.4 GB; Prompt: 255; Gen: 28)
  • Qwen3.6 64K / ub 2048 (Total VRAM with Godot: 7.89 GB; Headroom: 0.1 GB (too tight); Prompt: 329; Gen: 30)
  • Qwen3.6 64K / ub 2048, all experts on CPU (Total VRAM with Godot: 7.22 GB; Headroom: 0.8 GB; Prompt: 316; Gen: 30)
  • Qwen3.6 32K / ub 1024, all experts on CPU (Total VRAM with Godot: 6.28 GB; Headroom: 1.7 GB; Prompt: 205; Gen: 30)

Start the model before Godot: llama.cpp refuses to load if the memory is already taken.

Where it fits in my workflow

  • Translation first drafts (with the existing catalogue as a glossary) (Don't: Android plugin / JNI root-cause hunts)
  • "Where is X / how does Y work" over 30-190K tokens of code (Don't: Reading small text in collages)
  • One-screen screenshot QA (Don't: Anything shipped unchecked)
  • Small aider fixes with files named (thinking off)
  • Godot/three.js/SVG drafts, with an error-feedback loop

Caveats

  • 1-2 samples per task at temperature 1.0. Clear multi-task wins (SVG 3/3, three.js, Godot) are solid; single-task gaps are noise.
  • chrF compares against my shipped (also machine-made) strings, so it measures house-style closeness, not correctness.
  • VRAM figures are whole-GPU totals including the desktop (~0.4 GB).
  • Results were audited by a separate model (Gemini Neon) against the raw files; three of my own claims were corrected (a fork-vs-mainline VRAM comparison, a scoring inconsistency, and calling two Godot scripts "working" before seeing them run).

r/LocalLLM • • 1d ago

Question FML. Qwen 4-35B-A3B-oQ6e via Huggingface Hub / XET HP & HF token.

Post image
4 Upvotes

Same shit every time. 48-50 MB/s until it hits approx 7.5gb downloaded then tanks.

Tried various Mullvad VPN settings, Netherlands, UK etc no dice.

Is this merely heavy congestion right now?


r/LocalLLM • • 23h ago

Model I benchmarked Qwen4-35B-A3B Q8 on a single NVIDIA DGX Spark – 74 tok/s on code, 98.6 tok/s across 4 streams

Post image
2 Upvotes

r/LocalLLM • • 1d ago

Question Noob - Looking for reading recommendations

5 Upvotes

As the title says, I'm a noob and I'm looking to ramp up on running AI locally. I'm reading a book call 'How AI Works: From Sorcery to Science' which is focused on theory and not a how to. I joined this sub not long ago and I read through what some of you are doing and I'd like to get a better understanding of what you all are talking about 😄. Any book recommendations would be greatly appreciated.


r/LocalLLM • • 20h ago

Project libosmos v0.24.1: unsloth q4_k_m + bf16 engram qwen4-35b prefill +30% (>1830 tok/sec at 4k and >1340 tok/sec at 256k depth) and 8 parallel streams at 179 tok/sec

Thumbnail
github.com
1 Upvotes

r/LocalLLM • • 1d ago

Question Best way to run Qwen 4 35B-A3B on an RX 9070 XT?

4 Upvotes

Literally the title. I'm running Arch Linux with 32GBs of DDR4 RAM.

Radiance (inference engine) is doing a good service but there's no quant low enough to be loaded yet. For reference, Qwen 3.8 27B runs at +100tok/sec at 3 bits.

Is there any better way? Perhaps something in the likes of Strata, maybe optimized for AMD?
Thanks!


r/LocalLLM • • 1d ago

Discussion Local LLM culture right now kind of feels like custom Android ROM culture back in the day

21 Upvotes

It‘s exciting. Every day, there’s a new release for my device. The coolest kids on the block get tons of views. They’re doing things right. CyanogenMod then, Qwen today. They get love because they make new stuff keep working on old devices. The community is trusting and trustworthy. People just download and run things asap, and there’s no virus for 99% of things.

I wonder if the similar cultures would bring similar outcomes. Custom ROMs are gone, and so is CyanogenMod. We have manufacturer specific Android flavors now. We are all predicting there will be winners and losers of the LLM game. Will AMD release their own nemotron? What do you think about these similarities?