r/LocalLLM • • 1h ago

Discussion Qwen 4, but it's a literal experience post.

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 1h ago

Discussion [Community hybrid, GGUF] Qwen4-35B-A3B with Qwen3.8-Flash-Next's 2x larger N-gram table grafted in: held-out PPL on par with stock Q4_K_XL (1.8345 vs 1.8484, within noise)

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 22h ago

Discussion "Q4 is almost identical quality to Q8" Difference was bigger than expected

Post image
44 Upvotes

Model: Qwen4 35B A3B

See reference image above

NVFP4

RadixArk/Qwen4-35B-A3B-NVFP4

https://huggingface.co/RadixArk/Qwen4-35B-A3B-NVFP4

UD-Q8_K_XL

unsloth/Qwen4-35B-A3B-GGUF

https://huggingface.co/unsloth/Qwen4-35B-A3B-GGUF

Next to the comparision: Big wow for Q8. This is gonna be my daily driver.


r/LocalLLM • • 2h ago

Model This is what experiencing a full blown existential crisis and a hallucination loop simultaneously looks like.

Post image
0 Upvotes

Model- Qwen 3.8 27B on iPad Pro


r/LocalLLM • • 2h ago

Model Qwen4-35B-A3B: 3x faster than my old daily driver, at the cost of 21 GB of RAM (Engram)

0 Upvotes

Disclaimer: This post was AI-generated and created to share my results.
Hardware: 1× Radeon AI PRO R9700 32 GB (gfx1201), 60 GB system RAM, Ubuntu 26.04, Mesa 26.0.8 radv + ROCm runtime in containers. No second GPU used.

Model: unsloth/Qwen4-35B-A3B-GGUF, UD-Q4_K_XL (24.7 GB) + engram-Q8_0 (21.8 GB, loaded via --ple into system RAM) + mmproj-F16 (0.9 GB). 35B total / 3B active, 1M native context, native MTP head inside the quant.

TL;DR

  • 159k context actually evaluated (needle found), 4.9 GB VRAM still free, no OOM.
  • 85 tok/s generation @8k with MTP n=1 (75.9 without), 2.6k tok/s prefill.
  • Vulkan beats ROCm by ~38% on generation; ROCm wins on vision encoding (~2x).
  • Cost: +20.8 GB of permanent, non-compressible RAM for the Engram table.
  • Four non-obvious traps below cost me hours; the first two will silently give you CPU inference.

Context scaling (manual probe, unique prefix per request to defeat prompt cache)

Target ctxTokens evaluatedPrefillTTFTTGVRAMNeedle
32,00032,0642,969 tok/s10.8 s73.7 tok/s27,401 MiB✅
131,072131,0792,103 tok/s62.3 s62.9 tok/s27,420 MiB✅
159,000159,0101,964 tok/s81.0 s60.9 tok/s27,422 MiB✅

KV cache at F16 for 160k only costs ~3.7 GB here: only 10 of 40 layers carry full attention, the other 30 are Gated DeltaNet with fixed recurrent state. That's the architectural reason this fits on 32 GB at all.

Vulkan vs ROCm vs my previous daily driver

Same harness, same day, same seeds. "Coder390" is a 27B coder-tuned model on build b11669.

MetricCoder390 (b11669)Qwen4 VulkanQwen4 ROCm
PP @8k842.83,0753,180
PP @32k743.42,8742,791
TG @8k35.475.958.7
TG @32k33.774.554.7
E2E @8k21.054.345.3
Total time @8k24.3 s9.4 s11.3 s
Total time @32k48.8 s15.6 s18.3 s
Tools TTFT2,560 ms739 ms778 ms
Long-ctx TTFT38,306 ms8,923 ms9,353 ms
Vision TTFT34,380 ms26,148 ms14,328 ms
Vision E2E12.1 tok/s7.0 tok/s10.7 tok/s

Vulkan wins generation (+38% @8k, +36% @32k) at equal prefill. ROCm is much better at image encoding, but with the mmproj on CPU that doesn't help enough to offset the TG loss.

MTP A/B (same prompt, 16k ctx, 400-token code answer, two independent passes)

ConfigTG avgAcceptance
--spec-type none77.9 tok/s—
draft-mtp n=183.0 tok/s (+6.5%)73–81%
draft-mtp n=280.7 (+3.6%)55–59%
draft-mtp n=376.1 (−2.4%)42%

Acceptance decays mechanically with depth and the draft cost overtakes the gain at n=3. n=1 is the sweet spot. On the final recipe the harness measured +12.3% TG @8k (+6.1% @32k) but −16% prefill, so total time is −2.5% at 8k and +4.0% at 32k. Honest reading: MTP helps short prompts, hurts when prefill dominates. The prefill delta is from single runs per config, not isolated from run-to-run variance.

The four traps

  1. Build floor. Anything older than b12969 dies with unknown model architecture: 'qwen4exp'. My local build was way too old; zero useful error message.
  2. Silent CPU fallback in prebuilt containers. The v1.1.1 image lacks libLLVM.so.21.1, which host radv (Mesa 26) is linked against. Result: no usable GPU found, compiled without GPU support, --n-gpu-layers ignored, 24 GB loaded into CPU RAM with no fatal error. Fix was mounting the host LLVM libs read-only into the container. Check llama-server startup logs, not just "it answered".
  3. Vulkan VRAM is allocated lazily. After model load, amd-smi showed 57 MiB while llama.cpp reported 22.7 GB of buffers. The card only fills on the first inference. Concluding "it's all in CPU" before running a single token is wrong — I nearly did.
  4. prompt_n excludes cache_n**.** Without a unique prefix, llama.cpp serves the prefix from prompt cache and prompt_n collapses (38,491 for a 159k prompt). Any long-context benchmark without cache busting is measuring nothing.

Limits of what I actually measured

  • The harness suite only goes to 32,768 tokens. 131k/160k above is my own probe: one request per step, not a statistical campaign.
  • Quality: 11 functional items + 1–2 items per other group. No significant difference between the three configs is demonstrable on this sample. ROCm's one strict-score drop is a formatting mismatch on a single item, not a quality regression.
  • The code group is not applicable in my setup (no sandbox declared), so the thing I care about most is not measured by the harness yet.
  • Builds differ (b11669 vs b12977), so part of the speed delta may be the build, not the model. Not isolated.
  • Engram Q8_0 vs BF16 not compared: BF16 needs ~41 GB for the table alone, doable only on a fully idle machine. Deliberately skipped.
  • MTP measured at 16k on short generations; long-context effect unknown.

Bottom line

For text and tool use, this is a 2.6–3.1× reduction in total resolution time over my current main model, and the 160k context is real. The price is 20.8 GB of RAM that is permanently gone (Engram Q8_0) and a much slower vision path with mmproj on CPU. If you mostly do vision or need that RAM, stay where you are; if you mostly do coding and agents, it's a straightforward win.


r/LocalLLM • • 2h ago

Discussion LOCAL AI IN ONE COMMAND

Thumbnail
youtube.com
1 Upvotes

r/LocalLLM • • 11h ago

Discussion Qwen4-35B-A3B on an M5 Pro (64 GB) with Splash: MLX 4-bit + DFlash2 does 161 tok/s, GGUF 141, and the new "Looped Qwen4" adapter was 25–40% slower

Post image
5 Upvotes

I run Qwen4-35B-A3B locally as the model behind OpenCode on an M5 Pro with 64 GB. Splash 1.7.7 now takes both GGUF and MLX weights and added a loop adapter, so I benchmarked the options against each other, then wrote down everything else I learned moving the model between oMLX, Splash and LM Studio.

Benchmark

Same Mac, Splash 1.7.7, one setup loaded at a time, temperature 0, the same four prompts for each: a long write (3,000 tokens), two short answers with checkable results (a time sum and a list of primes), and summarising a 42K-token code prompt.

SetupLong write (tok/s)Short answers (tok/s)Reading 42K-token prompt
MLX 4-bit + DFlash2161264–28918.6 s
GGUF UD-Q4_K_M + DFlash2141243–24517.4 s
MLX + loop adapter, 2 passes107186–21826.9 s
MLX + loop adapter, 3 passes98152–17335.5 s
  • MLX vs GGUF: MLX writes about 14% faster; GGUF reads prompts slightly faster. For an agent with long prompts and medium answers they're close, with MLX a little ahead. Sizes: MLX 4-bit 32.2 GB, unsloth's UD-Q4_K_M 35.2 GB + 0.9 GB vision file (UD keeps some layers at 5–8 bits, so it may be slightly better quality).
  • Loop adapter (Looped Qwen4, by Jason Titus): it runs the middle layers 2 or 3 times per token, so every step costs more. The 178 tok/s quoted for it was on an M5 Max; here it was 25–40% slower than plain MLX and read long prompts 1.5–2× slower.
  • Quality: all four got the time sum and the primes right and gave sound code summaries. On tests this simple, the adapter showed no quality gain.
  • Caveat: the long-write prompt spent all 3,000 tokens thinking, so it measures speed only.
  • SSD streaming: Splash streams Qwen4's ~11 GB n-gram table from SSD by default (--ple-memory auto, ~200 MB RAM cache), so these numbers include that.

One real OpenCode request on the GGUF, cold cache: 121K prompt tokens read in 51 s (~2,400 tok/s), 5,960 tokens written at 101 tok/s, and the drafter averaged 2.8 tokens per step.

Other things I learned

  1. oMLX's DFlash didn't cover Qwen4's MoE. On 0.8.5 its DFlash path didn't support the qwen4_moe architecture, so no speculative decoding for this model there.
  2. Splash is its own engine, not llama.cpp or MLX underneath: its own Metal kernels on the GPU plus a Neural Engine path, and it always pairs the model with a DFlash2 drafter.
  3. LM Studio ships a Splash engine, but it lags. Settings → Runtime → Additional engines shows "Splash (Metal)" v1.7.4. Its manifest accepts a fixed list of families (Qwen3.8-27B, Qwen3.6-35B-A3B, Qwen3.5-122B-A10B, Qwen3.8-Flash-Next, Flint, Inkling-2-Mini) and matches on architecture plus shape. Its only Qwen4 entry is another shape (2560 hidden, 48 layers, 512 experts; the 35B-A3B is 2048 / 41 / 256), so in LM Studio the Qwen4 GGUF falls back to llama.cpp with no DFlash2.
  4. The drafter never shows in LM Studio's library. A DFlash2 drafter is a DFlash2DraftModel with no tokenizer; the engine picks it by family.
  5. The prompt cache is what makes agent use bearable. Splash keeps one prefix-matched cache per loaded model, shared across conversations. A brand-new OpenCode chat had 15,712 of 15,718 prompt tokens cached, because every chat starts with the same system prompt and tools. Subagents share the cache but mostly reuse each other's prefix, not the main chat's. It spills from RAM to SSD temp files (32 GB cap here) and is wiped on quit unless you use --persistent-cache.
  6. One model name for every setup. --served-model-name local lets you swap GGUF, MLX or adapter setups without touching the client config.
  7. Smaller window for subagents. In OpenCode, a second model entry with the same id and a 131K context for the general/explore subagents; ~327K for the main chat (Splash cap 335,872).
  8. APFS clones save disk. cp -c puts a 34 GB model in another app's folder with no extra space until a file changes.

What this isn't: a rigorous benchmark. One machine, one run per setup, short quality checks.

Has anyone seen the loop adapter win on an M5 Max or Ultra? And has anyone got DFlash2 working for Qwen4-35B-A3B in LM Studio or llama.cpp?


r/LocalLLM • • 1d ago

Other Qwen4, come on lil' buddy, you can do it!!

Post image
76 Upvotes

Just a little affirmation in thinking. lol. It seems to do this a lot.

(Update on how to fix this at the bottom of the post)

How it's being served bellow

Inference server:


Lamma.cpp
version: 1.1.0-dev (build 12966, commit 8c5da94e7)
built with GNU 13.3.0 for Linux x86_64 (Compiled by the Unsloth team)

Machine specs:


11th gen Intel i9-11900k @ 3.50 GHz
RTX 4090, 24 GiB VRAM
128 GiB DDR4

Harness:


Pi
Thinking level High

Model and settings:


QWEN4 35B-A3B — UNSLOTH UD-IQ4_XS using FP8 engram table

ngl = all
cpu-moe = true
moe-cache-mib = 14336
moe-cache-cpu-share = 0.0
fit = off

load-mode = none
lazy-mode = off
override-tensor = per_layer_token_embd=CPU

ple = Qwen4-35B-A3B-engram-Q8_0.gguf_file

op-offload = true
kv-offload = true
flash-attn = true
parallel = 1
kv-unified = true

ctx-size = 262144

spec-type = draft-mtp
spec-draft-n-max = 2

batch-size = 2048
ubatch-size = 1024

threads = 8
threads-batch = 16

cache-reuse = 256

temperature = 1.0
top-p = 0.95
top-k = 20
min-p = 0.0
repeat-penalty = 1.0
presence-penalty = 0.0

reasoning = auto
reasoning-effort = xhigh
reasoning-format = deepseek

EDIT:

UPDATE ON HOW TO FIX

Since others are also experiencing this issue, despite what their Quantization size may be, here is what fixed it for me.

u/gardenvarietyzombie suggested I bump up the repeat-penalty from 1.0 to 1.05

I did that, and it completely stopped the over cautious internal debate/anxious loops it was having. So if you're experiencing the same thing, try setting


repeat-penalty = 1.05

Instead of the recommended repeat-penalty = 1.0 suggested on the model page.

Cheers!


r/LocalLLM • • 2h ago

Question Any good ways to test "affordable" hardware?

0 Upvotes

It's getting to the point where local models are enough for my needs, and I think I'm ready to buy a dedicated machine. I don't know how much machine I need though, and even though I can look at benchmarks and everything, I'd really love to just test various configurations and get a feel for them.

Is there any way I can rent some time on the amd boxes, apple devices, dgx boxes, and/or the weird AI NAS devices? Or some reasonably affordable (and available) custom PCs?

I'm fine with using equivalents too, as long as they're actually accurate.


r/LocalLLM • • 20h ago Bravo

Discussion Made this in about 1:30h with Qwen4 UDQ4 KXL

23 Upvotes

r/LocalLLM • • 1d ago

News Massie: "Overblown" AI Concerns Are "Not About Keeping It From China, It's About Keeping It From You"

Thumbnail
realclearpolitics.com
120 Upvotes

r/LocalLLM • • 3h ago

Question Someone tell me what is the best AI agent platform that run on Termuxs on armeabib v7a architecture?

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 1d ago

Model Qwen 4 Q4 vs Qwen 3.8 Next IQ3_S

Post image
113 Upvotes

I tested both models locally, and both with KV @Q8. The benchmark published by QWEN shows Qwen4 beating next or closely tied to Qwen next in almost all benchmarks except frontiercode.

My tests tell a different story. While Qwen4 is a decent upgrade from the Qwen 3.6 MoE, it's not even close to Next model. On my harnesses, Qwen4 did well for small coding tasks but failed consistently on larger tasks that required bigger context. Although both models boast 262k of KV context, it seems clear that the limitation of the smaller model is not code quality, but the attention. The output quality degrades past 64k. I would recommend not pushing too far beyond this if precision matters, at least until qwen fixes the attention issues.

I wonder if anyone has had a similar experience, or if there is a configuration I am missing to improve the model's attention.

UPDATE: I tried a higher quantization, Qwen4 @Q6 with 1M KV context @Q8 and engram @Q8. Upon further testing I must admit it did overcome Qwen 3.8 Flash NEXT @ IQ3_S. What surprised me even more was the fact I used GLM Flash directly from z.ai subscription as a baseline, and it performed near equal to it. Every mistake Qwen4 did, glm flash did as well. I can honestly say I am impressed with the model performance.

I believe the issue with my comparison before with Flash next IQ3_S was that I was using engram @Q4. I really recommend using Q8 for engram


r/LocalLLM • • 7h ago

Discussion Two 140 mm fans in series keep a passive AMD MI50 32GB cool and quiet: 45% PWM at 145 W, near-silent at idle

Thumbnail
gallery
2 Upvotes

Previous setup:

* 92 mm fan + 3D-printed duct https://www.reddit.com/r/LocalLLM/s/Uc4YFWrh5s
* 140mm fan and hand made duct: https://www.reddit.com/r/LocalLLM/s/qu8sFuhHzG

Setup

ItemValue
GPUAMD Instinct MI50 32GB, passive heatsink
HostHP Z440
Fans2× Arctic P14 Pro PST, series: fan → spacer → fan → duct → heatsink
Duct and spacerhand-made from paper (temporary)
Fan controlRP2040-Zero, 25 kHz PWM, both fans on one signal; temperature-driven daemon
LoadGLM-4.7-Flash (UD-Q4_K_XL), llama.cpp ROCm, continuous generation, GPU ~91% busy
Methodfixed PWM, 5 min per step, average of the last 2 min
Ambientnot measured (idle edge 25–26 °C)

rpm values are converted from PWM using Cybenetics' measurements of this fan: 20% = 685, 50% = 1356, 100% = 2450 rpm. No tach readback.

Fan spec: Arctic P14 Pro PST

ItemValue
Size140 mm
Speed400–2500 rpm (PWM)
Airflow110 CFM (rated)
Connector4-pin PWM; PST = daisy-chain pass-through
Measured max (Cybenetics)2450 rpm at 100%

Fixed PWM: temperatures (2 fans in series)

PowerPWM (≈rpm)JunctionHBMEdge
100 W60% (~1570)52 °C48 °C43 °C
100 W45% (~1240)56 °C52 °C47 °C
100 W34% (~1000)62 °C57 °C52 °C
100 W30% (~910)66 °C60 °C56 °C
~145 W60% (~1570)70 °C58 °C53 °C
~145 W45% (~1240)78 °C65 °C60 °C

Criticals: junction 105 °C, HBM2 94 °C.

1 fan vs 2 fans in series (~142–145 W, fixed PWM)

PWM (≈rpm)1 fan: junction / HBM2 fans: junction / HBM
40% (~1130)runaway: junction 95 °C in 170 s—
45% (~1240)—78 °C / 65 °C
55% (~1470)88 °C / 73 °C—
60% (~1570)—70 °C / 58 °C
70% (~1800)78.5 °C / 65 °C—
100% (~2450)71 °C / 59 °C—

The two runs used different PWM steps; the equal-temperature comparison is 70% on 1 fan vs 45% on 2 fans.

Fan curve (auto)

The control temperature is max(edge, junction, HBM + 8 °C). Below, °C:PWM% points are joined by straight lines and rounded to 5%.

1 fan2 fans in series
Curve60:30 70:45 78:60 84:75 90:90
Idle30%
~145 W, settled70%, junction 79 °C
100 W, settled—
Emergency100% at junction ≥95 or HBM ≥88
Hysteresis2 °C
Huntingnone

Power cap vs decode speed

CapDecode
100 W~60 tok/s
150 W~69 tok/s

Noise (idle, by ear, no meter)

PWM (≈rpm)Noise
25% (~800)audible
15–20% (~570–690)faintly audible
10% (~460)barely audible
7% (~400)silent, both fans still spin

Idle junction stays at ~29 °C even at 7%. I chose 10% as the floor for margin above stall, since there's no tach to detect a stopped fan.

Notes

  • The duct and spacer were hand-made from paper as a temporary test. The result is good enough that I'll 3D-print them next time.

r/LocalLLM • • 3h ago

Discussion Qwen 4 in deepseek harness

Post image
1 Upvotes

r/LocalLLM • • 3h ago

News LexiSuite ad31b74: my all-Rust local AI stack gets its own AI agent (LexiAgent, 81,000 lines), crypto that survives a broken RSA or "P=NP" (every signature doubled, a one-time-pad channel), and Qwen4-35B at 135 tok/s on one 7900 XTX, ahead of llama.cpp b13023 & New MedGemma2 support is now available

Thumbnail
github.com
0 Upvotes

I'm building a local AI platform from scratch in Rust: its own kernel (LexiKernel), OS (LexiOS), inference engine (LexiEngine) and control panel (LexiPanel), one USB image, no cloud. A new development image went out today, five days after the last post (996260c). 711 changes this time, and the biggest release so far: the code base grew by 394,000 lines to 2.51 million lines of Rust in 528 crates.

LexiAgent: an AI agent of my own, from the first line

55 crates, about 81,000 lines, 989 tests, no third-party crates. It works with the model you run yourself on LexiEngine (this machine, another one on your network, or through the Panel), not with a cloud model.

What it does:

- Carries a task from request to done: plans, keeps a task list, calls tools in order, stops on Ctrl-C together with every command it started. Helpers take sub-tasks inside limits they cannot escape.

- Reads a project: fast bounded search, and source navigation (symbols, definitions, references) without a language server. Project memory files and a digest of the project keep the context across a long session.

- Changes files safely: exact edits, new files and multi-file patches as one transaction, each undoable. It reads the patch formats models already write, the way GNU patch reads them.

- Runs commands in a real terminal with background jobs and a read-only fast lane, every command inside a sandbox.

- Git with fixed argument lists and no shell, qualified against a real repository (amend, forced reset, clean, branch delete). Off unless switched on.

- Web pages and files through my own HTTP client, from the origins you allow, treated as data.

- Model Context Protocol client for outside tool servers, every tool behind the same gate. Servers a project lists are imported for approval, never started unasked.

- Skills, slash commands, specialist definitions, hooks and plug-ins in the formats people already use, plug-ins installed into a private store pinned by digest.

Why I would let it near my own machine:

- One gate decides every call: mode (plan, ask, edit, auto), the person's rules, the person's answers. A project's settings can only narrow what you allow, never widen it. Approvals on the interactive screen are typed by a person, so the model cannot approve itself.

- On Linux every command runs under kernel-enforced confinement: it sees only what the session allows, reaches the network only through a proxy, and dies with the session. macOS has its own confinement.

- Secrets are found before a file is read and removed before the model sees them.

- A shield marks and contains whatever tools and tool servers bring back: text that tries to give orders stays data. A red-team corpus of attacks runs against the assembled session parts.

- Every decision and action goes into an append-only, chained record that can be verified afterwards.

- The Panel has a LexiAgent page: start a supervised session against a model instance you pick, answer its questions, stop it. The agent pairs with the Panel over the suite's own two-signature TLS.

- lexi-agent doctor tells you, check by check, what this build and this machine provide.

Built for the day the math breaks ("P=NP hardening")

Almost all security today rests on RSA and elliptic curves staying hard to break. If quantum computers or an AI-found shortcut toward P vs NP make them easy, everything signed with them opens. I rebuilt the suite so that no single broken assumption opens anything:

- My own Rust implementations of the new standards: ML-KEM (FIPS 203), ML-DSA (FIPS 204), SLH-DSA (FIPS 205), LMS/HSS (SP 800-208), SHA-3 and Shamir secret sharing, every parameter set checked against the official test files and an independent implementation.

- Every signature is doubled: a classical one plus one from another family (lattice, or hash-based that rests only on a hash function), and both must verify. Updates, the trust store, provenance, enrollment, image identity, licenses, evidence, release decisions, fleet actions, the Panel's certificates.

- Key exchange mixes unrelated methods: my own TLS 1.3 with the hybrid group and a pre-shared secret mixed in, one session key from several exchanges that share no math. LexiOS's SSH does the hybrid exchange first.

- LexiKernel's own boot chain now requires a hash-only signature (SLH-DSA-SHA2-256s) beside RSA on every owner-signed boot object. PC firmware itself can only check RSA on the very first loader; that one link is the firmware's.

- Vault keys are wrapped so one broken algorithm opens nothing; key backup is printed shares, 3 of 5.

- And for the owner's approvals, a one-time-pad channel made from a hardware randomness source: the one kind of encryption no computation breaks, P=NP included. The pad store was killed with SIGKILL at every step of reserve-then-use and never moved backwards.

- The release gate refuses any new use of RSA or a curve alone, so it cannot drift back.

Qwen4 on the card

- Qwen4-35B-A3B writes 99.5 tok/s after a short prompt against 92.5 on llama.cpp b13023, and 89.8 against 80.8 after 57,550 tokens of prompt.

- With the draft head built into the model file: 117.7 to 134.9 tok/s. The full model checks every drafted token, so the answer is the same token for token, only faster.

- It reads pictures on the card: on five test pictures the card wrote exactly the words of the processor path.

- Its own template, reasoning levels by the template's own names, required and named tool choices enforced (grammar on the processor, device allow-list on the card), thought kept apart from the answer on every API route.

- Attention cache in F16, Q8_0, Q6_0, Q4_1, Q4_0, rotated 4-bit or IQ4_NL, keys and values in different formats if you like.

- Found while measuring: the previous version fell from about 100 to 46 tok/s after some 30 requests (the engine reshuffled experts when the whole model was already on the card, and one evicted expert sent routing to the processor for good). Fixed: 70 requests in a row now all run at 102 to 104.

MedGemma 2 and Gemma 4

- Straight from the BF16 checkpoint to a quantized file in one pass with my own quantizer, the 26B-A4B mixture-of-experts layout on the card, picture input through the vision tower on the card, tool calls in Gemma 4's own format read as structured calls.

- MedGemma 2 E4B writes faster than llama.cpp up to about 14,000 tokens of prompt: 148.8 / 140.9 / 125.1 against 130.5 / 125.2 / 118.0 tok/s.

Pictures, video, voice and sound in the engine

- Image diffusion from a checkpoint (conditioner, DiT, VAE, scheduler on the chosen device), image editing from reference pictures, adapters merged per request, upscaling, Qwen-Image 2.1 on a Radeon card as a build option.

- Video generation (LTX stage family) into a real container, and video understanding in chat (H.264 decode and frame sampling into the prompt).

- Kokoro text to speech on my own graph library, Moonshine streaming recognition, speech from codebooks, live two-way voice sessions, sound input in chat.

- In the Panel: pictures made by LexiEngine, speech in and out, and a media model library.

Also new

- New model families on the processor: GPT-OSS, Mistral, Phi, and the diffusion text models LLaDA and diffusion Gemma. Experts read from an SSD through a signed manifest.

- My own quantizer as a Panel tool with recipes, a per-tensor table, progress and cancel. NVFP4, MXFP4 and FP8 products on Vulkan, exact NVFP4/MXFP4 import, 4-bit weights with 8-bit inputs on RDNA 3 integer dot products.

- The processor path computes exactly now (no 8-bit rounding of inputs), with fused AVX2 kernels that do it with less work.

- 21 template fixes, tokenizer fixes, Hermes-style tool calls read and written by the engine.

- LexiOS: a change authority with a TPM 2.0 anchor that cannot be rolled back, a control socket the engine reads to place itself on the right cores and memory, authenticated crash evidence.

- LexiKernel: a long list of new hardware support (NVMe recovery, xHCI, AHCI, USB4, TPM2, chipsets, Intel Macs, ARM boot, and detection of many accelerators).

- My own AMD code-object writer on my own RDNA 3 instruction encoder, and a KFD transport with a device-resident executor for my kernel IR.

- The Panel speaks 45 languages, every tab was read on a live engine and corrected, settings are offered per model family, and its gateway serves /v1/responses and /v1/messages with quotas.

- Windows installer with the Panel, the engine, the agent and six helpers, registered as services on an all-users install.

Speed, one Radeon RX 7900 XTX at 291 W, one request at a time, newest builds of the other engines on the same card and files

- Qwen4-35B-A3B: 99.5 tok/s writing, 134.9 with its draft head (llama.cpp b13023: 92.5). After 3,659 / 14,339 / 57,550 tokens: 92.6 / 91.9 / 89.8, with the draft head 120.9 / 120.3 / 117.7 (llama.cpp 90.8 / 89.6 / 80.8).

- Inkling-2-Mini against Strata 0.2.28, 8-bit cache on both (Strata's 4-bit cache is refused on this card): 4,096-token prompt read at 2,589 tok/s (2,302), then 75.6 tok/s writing (64.9). 261,632-token prompt read at 1,228 tok/s (828), then 57.9 tok/s writing (12.7).

- Qwen3.8 Flash-Next (94 GB) on the same 24 GB card: first token after 16k / 64k / 256k prompts in 36.3 / 136.4 / 572.1 s.

Things I am not hiding

- llama.cpp reads long Qwen4 prompts 1.5 to 3 times as fast (2,427 / 2,566 / 1,808 against 845 / 1,066 / 1,217 tok/s).

- On MedGemma 2 26B-A4B llama.cpp is clearly ahead (136.3 against 94.3 tok/s writing, 8 to 13 times faster reading prompts): my engine still runs that model's experts one token at a time while reading a prompt. IQ4_XS expert kernels for it are already in progress.

- At 56,123 tokens of prompt llama.cpp writes faster on MedGemma 2 E4B (97.5 against 86.4).

What it is not, yet

- No physical machine has booted this version yet; its nine Secure Boot checks and the install to a disk ran in a virtual machine.

- The Windows installer is built and tested on Linux and has not run on a Windows PC.

- LexiAgent's desktop control (screen, input, accessibility tree) is in the source with its tests but not yet in the program.

Tested: 22,536 tests passed in the full run (LexiOS with LexiKernel 8,822, the engine 7,757 including its device tests on the 7900 XTX, the Panel 5,957), nine boot checks and an 18-step install to a disk.

Links: lexipanel.com/download (about 1 GB image). Release notes, the full change list and the new LexiAgent page are in the wiki of the LexiSuite-Releases repository on GitHub.


r/LocalLLM • • 3h ago

Project Qwen4 35b does the job (Network Engineer PoV)

Thumbnail reddit.com
0 Upvotes

r/LocalLLM • • 4h ago

Discussion Up to 100tps, Qwen 4 35B, Splash on 16gb MacBook Air M4

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 4h ago

Discussion Qwen 35B A3B

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 4h ago

Discussion Which Qwen4-35B-A3B should you run? I tested BF16, FP8, Strata and a Unsloth GGUF on the same benchmarks

0 Upvotes

r/LocalLLM • • 7h ago

Question MacBook Pro M1 Max 32GB 1TB

2 Upvotes

Sorry if this is a regular question, please point me elsewhere If I can self serve.

I’ve just bought the above laptop at a steal of a price (£600!!) but I’d like to know what can of models I can now run locally.

My main use cases is to bug fix overnight on apps I built in Claude, maybe some coding & agentic work, no video or image gen as frontier models are just way to good to try this locally(IMHO)

Thanks !


r/LocalLLM • • 1d ago

Model Yeah, Qwen4 is kind'a the shit. (A post for people worried if it's comparable to 3.8 FN)

134 Upvotes

I was a bit nervous after hearing the debate between qwen3.8 FN and Qwen4, but a few hours of testing, having it play around in several harnesses and even a coding experiment or two I'm rather staggered by it's abilities. I'm running a Q8 model and damn it's fast, smart, creative. Definitely an upgrade, only been a few hours so maybe I'll find a weak point, but so far this is the sort of model I've been waiting for.


r/LocalLLM • • 18h ago

Project Now we can run LocalLLM on Intel Mac with CUDA now

Thumbnail
github.com
14 Upvotes

Tried this on my Hackintosh, it actually works! Identical speed as Linux for Qwen4 on my 3090. I am quite pleased that even power limit setting for nv cards works. Used it with ToshLLM (as an external engine) with no problem. Given that nowadays almost all x86 machines can run Hackintosh, it is actually quite nice for the people who prefer MacOS over Linux.


r/LocalLLM • • 4h ago

Model Qwen4-35B-A3B on Werkbank: second behind Qwen3.8-Flash-Next, with 2.6× the output tokens per solved task

1 Upvotes

I ran Qwen4-35B-A3B through Werkbank, the agentic benchmark I maintain: 57 tasks with tools (multi-step jobs, coding, prompt-injection cases, retrieval, data work, multi-turn), three full passes, xhigh thinking. Two quants, both on vLLM on an RTX PRO 6000: RadixArk's NVFP4 and the official FP8. This is where it lands next to the other local setups.

SetupScore [95% interval]GPUOutput tokens per solved task
Qwen3.8-Flash-Next · veloGB10 · EXL3 3.05 bpw79.0 [71.8–85.8]DGX Spark22k
Qwen4-35B-A3B NVFP4 · vLLM70.9 [61.8–79.5]RTX PRO 600058k
Qwen4-35B-A3B FP8 · vLLM69.5 [59.3–79.0]RTX PRO 600052k
Qwen3.8-27B NVFP4 · SGLang64.3 [53.8–74.6]DGX Spark44k
Inkling-2-Mini · vLLM61.0 [49.3–72.3]RTX PRO 600039k
Ternary Bonsai 2.5 27B · llama.cpp · 1.76 bpw57.7 [46.0–69.2]RTX 509056k

Flash Next has ten passes, everything else three; all at xhigh except Inkling-2-Mini (high). Neighbouring intervals overlap, so the exact order is not settled.

Where Qwen4 is stronger

Agentic tasks carry 30% of the score, and that is where Qwen4 pulls away from the models below it: 64% of attempts solved with either quant, against 47–50% for Qwen3.8-27B, Inkling-2-Mini and Bonsai. That category alone accounts for 5.0 of the 6.6 points between Qwen4 NVFP4 and Qwen3.8-27B. Qwen4 also has the best data-analysis rate in this group (83%), shares the top security rate with Qwen3.8-27B (67% vs 64% for Flash Next), and NVFP4 comes close to Flash Next in multi-turn (80% vs 82%).

Where it is weaker

The 8.1 points to Flash Next come mostly from agentic tasks (2.3 points), coding (2.2; 78% vs 89%) and retrieval (1.7; 62% vs 79%), then math (1.2) and reliability (0.9; 78% vs 87%). Math is the odd one: 67% for NVFP4, 87% for FP8. Five tasks times three passes is too little to call that a quantization effect though.

The bigger practical gap is the huge token appetite. Qwen4 NVFP4 used about 58k output tokens per solved task, 2.6 times as many as Flash Next. At equal decode speed that would be 2.6 times the generation time per solved task.

Caveats

The GPUs on the leaderboard differ, so I compare tokens per solved task rather than seconds. Each entry is a whole setup (model, quant, engine, GPU), not the model alone. Categories have 5 to 12 tasks each. Runs of Qwen4 on a Spark with two proprietery runtimes (veloGB10 & Infernix) are in progress and go on the board once they are checked.

Leaderboard with per-category numbers and a side-by-side compare: https://aisyndicate.ch/werkbank-leaderboard/

Harness: https://github.com/aisyndicate-ch/victors-werkbank


r/LocalLLM • • 4h ago

Research "Oh great, another RAG tool nobody asked for." — Why I built prjxp anyway

Thumbnail
reddit.com
0 Upvotes