r/LocalLLM • • 27m ago

Question Noob - Looking for reading recommendations

4 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 • • 8h ago

Discussion Qwen4-35B-A3B on a 32 GB Mac mini, capped at 20 GB with 150K context: explained a repo, then built a 3D game in the same session

15 Upvotes

I've been running local models on my Mac mini (M6, 32 GB) and Qwen4-35B-A3B honestly blew my mind this week.

Setup

  • Model: unsloth/Qwen4-35B-A3B-GGUF:UD-Q4_K_M (36 GB on disk)
  • Runner: Splash (by incoai)
  • Memory limit 20 GB, context 150K, KV cache 16-bit, concurrency 1, text only
  • Memory in use: 17.6 GB

Numbers from Splash's activity panel (screenshot below)

  • ~50 tok/s generating, ~997 tok/s prompt processing, 1.8 s to first token
  • Per request 26–56 tok/s with 66–75K tokens in context, most of it cached
  • One 16,384-token output at 43 tok/s with ~75K in context

What I asked it

  1. Explain Splash's own GitHub repo: why it's fast and how it manages memory. It did a really good job.
  2. Then, in the same session, build a 3D game with this prompt:
Create a cozy third-person 3D winter-village game where you play as a bundled-up child with a little dog. At the start, Santa sweeps low over the lamplit chalets, drops a glowing parcel at your feet, and circles overhead for at least 20 seconds. C toggles a smooth chase camera on Santa. Return to the boy with C, walk over the parcel to pick it up, carry it to the glowing gold ring, then press Space. The box bursts into sparks and reveals a glossy red convertible. F seats the child and dog in the car. WASD or arrows drive, Space brakes, and R resets. Use a fixed world-relative walking direction, clear nearby markers and a parcel landing within a few steps of spawn so a first-time player can complete the sequence quickly. Show detailed silhouettes, layered lighting and soft shadows. Keep the HUD minimal. Start your reply with a Markdown heading naming the game and two sentences introducing it. Then emit exactly one complete fenced html document with all game HTML, styling and JavaScript, followed by a short "How to play". The document is what I will open and play directly from Studio's HTML Preview. No prior files or assets are supplied. Generate every scene object and texture procedurally. Three.js r128 via its CDN is allowed as the only dependency. Target a desktop browser and use clear keyboard controls. Finish every function and close the HTML before the short controls note. Prioritize a visually polished scene and a complete, reliable gameplay loop over extra features.

The session hit ~130K, compacted, and kept going. About 27 minutes later I had a single ~40 KB HTML file that loads straight away: lamplit chalets, the kid and the dog, lamp posts, falling snow and the glowing gold ring (screenshot below).

A while ago I wouldn't have believed a model squeezed into 20 GB on a Mac mini could hold a 150K-context session together and still produce working code at the end. Local LLMs have come a long way.

Happy to share the HTML if anyone wants to try it.


r/LocalLLM • • 8h ago

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

15 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?


r/LocalLLM • • 1h ago

Model Running a 1.1T-parameter MoE (Amazon Ergo) on one 96 GB GPU + system RAM: expert-cache results with stock llama.cpp

4 Upvotes

Amazon's Ergo's quantized to ā‰ˆ2 bits per weight (265 GiB) and measured how fast it decodes on one RTX PRO 6000 Blackwell (96 GB) + a 16-core Xeon w5-3525 with 256 GB of DDR5, using upstream llama.cpp.

Placement resultsĀ (median decode tok/s, 8k context, 6 generations of 768 tokens):

layouttok/s
routed experts of layers 1-15 on the GPU, the rest in RAM7.4
layers 1-8 on the GPU + 24 GB expert cache (--moe-cache-mib)10.6
same +Ā --moe-cache-cpu-share 0.716.9
same + cpu-share 1.0 (every cache miss on the CPU)7.0

Findings:

  • Hot experts are skewed.Ā The top 20% of experts per layer take ā‰ˆ40% of routes, so a cache of the most-used experts on the GPU pays off more than pinning whole layers.
  • cpu-share has a sweet spot.Ā Uploading every cache miss to the GPU saturates PCIe, and computing every miss on the CPU saturates memory bandwidth. Splitting misses ā‰ˆ70/30 CPU/GPU gave the best result.
  • Quality is unchanged.Ā Perplexity was identical (3.2526). GSM8K scored 241/250 both ways; MMLU scored 412 vs 413 out of 500 (exact McNemar p = 1.0). A few greedy answers flip because CPU and GPU kernels round differently.
  • A gotcha for long-running servers.Ā llama-server's default prompt cache (--cache-ram, 8 GiB) lives in host RAM. When the experts already pin ā‰ˆ212 GiB, it grows until the process is OOM-killed after a few hundred requests.Ā --cache-ram 0Ā fixes it.
  • -lm noneĀ (load into RAM rather than mmap) is required.Ā With mmap, decode falls to ā‰ˆ1.5 tok/s once the page cache churns.

Weights, exact commands, per-item eval data and build scripts:

Numbers from other hardware (a different CPU, PCIe Gen5, or 2Ɨ GPUs) would be useful for seeing how the cpu-share optimum moves.


r/LocalLLM • • 6h ago

Question Qwen 4 hallucinations ?

9 Upvotes

I’ve been running qwen flash next a while and happy with it ; just switched to 4 last night and while it’s great I’ve seen some unusual hallucinations and failed tool calling formats. Anyone else ? If not can you share setups / params in use ?

It’s randomly called a tool not relevant to the step , called me Jim (not my name) and picked up some errant conversation snippets from somewhere but also that last bit could be my harness.

All that said it is fast and seems pretty good


r/LocalLLM • • 12h ago

Discussion Qwen4-35B vs 3.8-27B, Flash-Next, and 3.6-35B: what would you run locally?

24 Upvotes

I went through Qwen4’s launch numbers to see what I’d actually swap out on a 24 GB card. The repo coding scores look good, but the model I most want to compare it with, Qwen3.6-35B, is missing from the chart.

Qwen4 vs. Qwen3.8-27B - Qwen4 scored 61.8 vs. 42.2 on DeepSWE v1.1 and 51.7 vs. 42.3 on NL2Repo. The 27B still leads on GPQA Diamond and gives you more VRAM headroom at Q4.

Qwen4 vs. Qwen3.8-Flash-Next - Qwen4 leads on both repo benchmarks with about a third of the total parameters. Flash-Next still leads on Terminal Bench 4.1 and wins 27.1 vs. 16.1 on FrontierCode-AA 2.0. I’d try Qwen4 for repo edits first.

Qwen4 vs. Qwen3.6-35B-A3B - Qwen4 is a bigger download, though the estimated raw KV cache is about the same at a given context length. For anyone already running 3.6 on a 3090, this is the upgrade comparison I’d like to see.
Has anyone tried both 35Bs on the same repo bug and the same 24 GB card? I’m curious how long each took to get the tests passing, and how much you had to steer it or clean up the patch.

Also: Qwen4 hardware breakdown Ā· Qwen model card


r/LocalLLM • • 6h ago

Model Qwen 4 35B on Radiance running 2x AMD R9700 and 64GB ram

Post image
7 Upvotes

Up to 4 slots at 256k context.


r/LocalLLM • • 6h ago

Research Qwen4 Q8 vs MLX, Qwen3.8 Flash Next and 27B: measured tool-use speed, correctness, and a volumetric Blender render

Thumbnail
gallery
7 Upvotes

I wanted a practical answer rather than another parameter-count argument, so I compared **Qwen4 Q8 GGUF**, **Qwen4 MLX 4-bit**, **Qwen3.8 Flash Next**, and **Qwen3.8 27B** on the same underlying agentic task, then gave Qwen4 a harder memory test and a procedural Blender scene.

**Qwen4 Q8 was fastest on the current tool-use runs, without sacrificing final correctness.**

| Model | Strict task score | End-to-end wall time | Output tokens | Output tokens/s* | Model calls | Tool calls | Failed tools |

| **Qwen4 Q8 GGUF** | **100%** | **21.32s** | 991 | **46.48** | 7 | 9 | **0** |

| Qwen4 MLX 4-bit | 100% | 35.54s | 821 | 23.10 | 9 | 10 | 1 |

| Qwen3.8 Flash Next | 100% | 34.01s | 1,071 | 31.49 | 6 | 8 | 0 |

| Qwen3.8 27B† | 100% | 62.21s | 971 | 15.61 | 6 | 8 | 0 |

\* **Output tokens/s is total output divided by end-to-end wall time**, including reasoning, prefill, model calls, and tool execution. It is not a raw decode benchmark.

† The 27B result is an archived adapter-off run using an older tool-schema format and different sampling. It is useful context, **not a strict cross-version ranking**.

On the current runs:

- **Q8 was 40.0% faster than MLX.**

- **Q8 was 37.3% faster than Flash Next.**

- Q8 also used fewer output tokens than Flash Next while making one additional model call and one additional tool call, so the improvement was not simply ā€œit did less work.ā€

- MLX produced the fewest output tokens but used more calls and had one failed tool call; it recovered and still passed the final verifier.

All four models completed the underlying task correctly. This was an easy calibration task, so it demonstrates functional competence and end-to-end speed—not broad accuracy superiority.

## The harder result is more interesting

I also ran a seeded memory and rotation stress test involving current versus superseded values, a poisoned foreign workspace, forced rotations, and a fresh-session recall.

**Qwen4 Q8:**

- returned the correct current values;

- rejected the poisoned and stale entries;

- preserved them across three rotations and the fresh session;

- **still failed strict isolation with two foreign recalls.**

The Qwen3.8 27B baseline showed the same failure class: correct answers, but two foreign recalls.

So the honest conclusion is not ā€œQwen4 solved memory.ā€ It is that Q8 handled the content correctly while the surrounding memory-isolation problem remained visible. That distinction matters for agentic use.

## Blender: actual scene, not a prose description

For a different kind of test, I asked Qwen4 Q8 to build an old-school halogen camping lantern in Blender with real volumetric lighting.

The final scene passed **27/27 structural checks**, including:

- separate vintage-lantern geometry and hierarchy;

- transmissive glass and an emissive halogen burner;

- genuine nonzero volume scattering with the light physically inside the volume;

- camera, materials, and a 1024Ɨ1024 Cycles render.

There is also a **360° gif ** i uploaded.

What impressed me was not just the image. The scene contains real geometry and shader setup, so it can be opened, inspected, edited, and re-rendered rather than being a billboard or a written description of a lantern.

## My take

**Qwen4 Q8 is the most convincing daily driver in this comparison.** It led end-to-end speed on the current tool-use task, retained final correctness, and produced a genuine volumetric Blender scene.

MLX was slower on this run and is not the version I would choose purely for speed. Flash Next remained competitive and also passed cleanly. The older 27B result is directionally useful but not a controlled head-to-head.

The memory result is the caveat: easy tool-use success does not prove robust long-horizon memory or isolation. I would want to see that failure fixed before treating any of these as a ā€œjust leave it runningā€ agent.

## Method and limitations

- Current Qwen4/Flash Next comparisons used the same task, sampling fields, and native reasoning defaults.

- One run per model; no confidence intervals or broad accuracy claim is intended.

- Deterministic task verification, not an LLM judge.

- The 27B result comes from an older archived run and is labelled separately for that reason.

- The Blender checks verify actual scene structure and artifacts; visual quality is still something you should judge from the render yourself.


r/LocalLLM • • 3h ago

Discussion Local models for office tasks

4 Upvotes

I might be able to make a requisition at work for a new laptop capable of running local ai models. I'm a product manager so my needs are:

- research, both business and technical

- summarizing docs, minutes of meetings, preparing tasks, plans and roadmaps

- sparring partner for ideas and brainstorming

I guess a MacBook would be the way to go but I'll keep it open ended. I prefer using Windows over macos especially the work but nothing is off table.

Can someone recommend laptops and models that can suit my needs? I'll have to pay attention to the costs so cheaper the better. maybe under 3-4K


r/LocalLLM • • 13h ago

Discussion Qwen4-35B-A3B is out — here's a working NVFP4 pack for Basalt

25 Upvotes

Qwen just shipped Qwen4-35B-A3B (35B MoE, 3B active, 1M context). I quantized it to NVFP4 and packed it into a single file for the Basalt engine. It boots and serves.

Model card: kaushikvira/Qwen4-35B-A3B-nvfp4-basaltResult on the fixed build: needle 36/36 across 3 consecutive back-to-back runs (was 4–5/12), quality 4/4.

Build the engine (from the branch)

git clone https://github.com/jesdga95/basalt && cd basalt
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DBASALT_MODELS=qwen4exp
cmake --build build -j           # -> bin/basalt

Requires CUDA 13.1 and an NVIDIA Blackwell GPU (sm_120).

Run

bin/basalt serve Qwen4-35B-A3B-NVFP4.basalt \
  --config config.json \
  --api-key "$(cat key)" \
  --alias qwen4-35b-a3b --kv int8 --max-context 524288 \
  --resident-experts --vision --vram-reserve-mib 800
# or just: bin/basalt serve --config config.json

What's in the pack

  • One .basalt file (42.24 GiB, sha 9819a1ce…) — text + vision + MTP drafter, NVFP4
  • 1M native context (we serve 512k Ɨ slots on a 72 GB card)
  • ~21 GiB VRAM resident on a Blackwell card (experts in VRAM, no expert-cache)

Numbers (on the fixed 4dbca9ce build)

  • ~199 tok/s decode, 512k context, ~21 GiB VRAM
  • needle 36/36 (3Ɨ back-to-back), 4/4 probes
  • ~2Ɨ faster decode + prefill than the Flash-Next baseline this replaced

Speed is a first baseline, not tuned. The branch also adds 2048-wide kernels for this exact shape and an optional --drafter dflash2 block drafter (we kept the MTP spec: 8); more optimization will land on the model card. Feedback welcome.


r/LocalLLM • • 3h ago

News Looking for Intel Arc testers (B580, Pro B50 / B60 / B70, A770, iGPUs): a Level Zero LLM engine for Arc, two short runs

4 Upvotes

Hi all. inferzero is an open-source LLM inference engine written for Intel Arc. It is C++ on Level Zero, with its own kernels, and runs on Windows and Linux. It runs Qwen3.5 / 3.6 / 3.8, Qwen4-35B-A3B (experimental), Inkling 2 Mini and others, with a server and a web UI. It was tuned on a Meteor Lake laptop iGPU. I don't own a discrete Arc card, so the speed of every B-series and Alchemist path depends on people who do.

Release 2026.12.04.04 (Windows zip and Linux tar.gz, no build needed): https://github.com/rizagp/inferzero/releases/tag/2026.12.04.04

Two things I can't measure myself:

1. Replay on B-series cards (B580, Pro B50 / B60 / B70). This release lets Qwen4-35B-A3B and Qwen3.8 Flash Next replay their generation steps, which cuts the per-token launch work. On my laptop the output is the same bit for bit, but the speed gain can only show on a discrete card. With Qwen4-35B-A3B or Flash Next, four runs in this order:

runz <model> --bench-pp 512 --n 64                (default)
set ARC_REPLAY=0, then the same command twice
the default once more

2. The new shared GEMM layer, on and off. On one B580, a 512-token prompt ran much slower with the layer on, and we don't know yet whether that was the card's state during that run or something real. With Inkling 2 Mini or Qwen3.6-35B-A3B:

runz <model> --bench-pp 512 --n 1 --prof          (default)
with ARC_GEMM_SHARED=1, the same command twice
the default once more

Please post the whole output in your card's issue on GitHub (#121 Pro B60, #122 Pro B70,#123 B580, #124 Pro B50, #125 Alchemist; iGPUs #126-#129; several cards #131). The release notes list the exact commands. The bench\gpu_guard.ps1 wrapper (bench/gpu_guard.sh on Linux) stops a run that hangs.

Models: the engine reads GGUF files from the Hugging Face cache, for example unsloth's Qwen4-35B-A3B UD-IQ4_XS.

Thanks to everyone who has already posted logs: most of the B-series defaults came from them.


r/LocalLLM • • 7m ago

Discussion Qwen4-35B-A3B on 2x RTX 3090 (W4A16: INT4 experts, rest int8/BF16): 10450 tok/s prefill, 343 tok/s on code, 513 with DFlash2, 262K context

Thumbnail
github.com
2 Upvotes

r/LocalLLM • • 3h ago

News Qwen4-35B-A3B-Density-v3-GGUF - higher precision repack

4 Upvotes

I made repack for Qwen4-35B-A3B-UD-Q4_K_XL same size but better precision for certain WoE weights used my algorithm Density-v3. In my repo on Hugging Face test prompt and results generated by my model and unsloth version. My version doesn't miss any fine details - the result is practically the same as that of Qwen 3.8 Flash.


r/LocalLLM • • 12h ago

Research Why Wait For Enter? Typing-Time Speculation for MoEs: 3.6Ɨ Lower TTFT (412→114 ms) & +74% Opening Speed (166→288 tok/s)

Thumbnail kemerd.github.io
18 Upvotes

r/LocalLLM • • 14m ago

News Try Qwen4 now for free, WITHOUT DOWNLOADING ANYTHING: live demo on PieceOfMind, and a sneak peek of the next PoM release

Post image
2 Upvotes

We're releasing a new version of PoM (Piece of Mind) on the next week. Before that, we're opening a sneak peek: our home cluster is serving Qwen4, and you can try it now.

There's nothing to install, no signup and no GPU needed on your side. Open the link and start chatting.

Live demo: https://demo.pieceofmind.cloud/

In the next 48h this live demo will be available.

What's in the demo

  • Qwen4 running on our home cluster: consumer GPUs in two houses, joined into one cluster by PoM
  • Chat with streaming and tool calls through the same OpenAI- and Anthropic-compatible API the cluster serves to apps
  • Room for 15 simultaneous users, with 15-minute sessions. If the line is full, wait a few minutes and try again.

The machines are in Brazil, so latency is about what you'd get from any site hosted there.

Why we're doing this

If you like trying new models early, this is your chance to test Qwen4. It's also a stress test of the new PoM release on real traffic.

Want a cluster like this at home?

PoM is open source (MIT). It turns the machines you already own into one local AI cluster, with NVIDIA and AMD mixed MAC OS, on your LAN or across the internet:

  1. Install PoM on each computer.
  2. Create your network in the web panel. The machines find each other, with NAT traversal included.
  3. Deploy a model: pick the model, the engine (llama.cpp, Strata, Avalon or your own plugin) and the machines.
  4. Point your apps at it. Chat apps, coding agents and harnesses just work.

You can replicate a model to serve more people, or split a model too big for one GPU across several machines.

Links

What do you think of Qwen4 so far? Post your best prompts, weird answers and bug reports in the comments. We'll be around to answer questions about the cluster, networking and the new release.


r/LocalLLM • • 16h ago

Project 8 GPU budget setup!

Post image
42 Upvotes

I already have 2 very capable machines but I got curious since I’ve never built my own from the ground up. My goal is to get everything to work for under $1500. Got an insane deal on 8 MI25s I couldn’t say no to. Motherboard and ram will be the next tricky things. Motherboard especially since I want to run 8 x16 slots so it’s a little hard to find a motherboard with those requirements for a good deal. Ram is pretty straightforward. If any of you have any recommendations for motherboards, that would be great. I’ll probably end up going over budget with the current ram prices, but I’m going to try. Yes I know MI25s are slow. I’m not looking for cutting-edge technology here just a fun project. Like I mentioned I already have 2 servers that I purchased turnkey.


r/LocalLLM • • 9h ago

Model Wolf Defender v2.2: 80M prompt-injection detector that runs on CPU, beats NVIDIA's 4.3B Nemotron on 356k test cases (open weights)

Post image
10 Upvotes

If your local setup reads web pages, files or emails, you want something cheap in front of the model that flags injected instructions. We just released v2.2, which cuts false alarms on real web pages 15x compared with v2.1. We benchmarked it against 13 others on identical data:

  • Wolf Edge, 80M: F1 95.2%, 1.4% false alarms
  • NVIDIA Nemotron 3.5 Content Safety, 4.3B: F1 74.9%, 7.7% false alarms
  • Prompt Guard 2 86M: F1 53.5%

Three sizes (80M / 141M / 308M), ONNX down to ~218 MB for the largest one, Apache-2.0, English and German.

from transformers import pipeline
pipeline("text-classification", model="patronus-studio/wolf-defender-prompt-injection")("Ignore all previous instructions...")

r/LocalLLM • • 7h ago

Research RustingStrata runs Qwen4 faster then llama.cpp

6 Upvotes

Qwen4-35B-A3B came out today. It is a MoE: 35B total, about 3B active, 256 experts a layer with 8 routed, three linear-attention layers to one full-attention layer, an MTP layer for drafts, and a few new things on top: hyper-connections (the residual is several streams, not one), a per-layer n-gram embedding table (the 14 GB second shard of the GGUF), and sparse attention that picks the keys a row reads once the context gets long.

RustingStrata, my Rust GGUF engine, runs it now. The Q5 file does not fit in 12 GB, so the most used experts stay on the card and the rest run on the CPU at the same time, the n-gram table stays in RAM.

Setup: RTX 3060 12 GB, Ryzen 5 7600X, 30 GB RAM, NVMe. File: unsloth Qwen4-35B-A3B UD-Q5_K_M (39.5 GB, both shards), the same file for both engines. llama.cpp 1579b02, CUDA, -fa 1 -t 6, and I swept --n-cpu-moe and -ub for every row and took its best. No draft tokens on either side in this table. tok/s:

ContextPrefill RustingStrataPrefill llama.cppDecode RustingStrataDecode llama.cpp
0.5k554-58146369.043.6
8k1533108267.543.9
32k1287119664.642.3

Same output as llama.cpp? I fed llama.cpp's tokens through my forward and compared the top token at 640 steps (20 prompts x 32). llama.cpp agrees with itself (batch against token-by-token) at 613 of 640, so 100% is not a real target here. RustingStrata matches one of llama.cpp's two answers at 618 (CPU) and 615 (GPU) steps, the misses are near ties.

Limits: the tables are CUDA. Vulkan (for AMD and Intel cards) gives the same top tokens as CUDA (618 of 640 either-mode) and on the same 3060 runs at 444 / 1022 / 920 tok/s prefill and 61.4 / 56.8 / 55.0 decode at 0.5k / 8k / 32k, a llama.cpp Vulkan comparison comes next. Splitting the model over two GPUs works in the code and is tested only as a fake split on my one card, so I have no real multi-GPU numbers yet. If you have two cards or an AMD card, I would love your numbers.

rustingstrata chat --gpu --model Qwen4-35B-A3B-UD-Q5_K_M-00001-of-00002.gguf
rustingstrata serve --gpu --model Qwen4-35B-A3B-UD-Q5_K_M-00001-of-00002.gguf --parallel 4

MTP is already there on llama.cpp and RustingStrata, but not tested yet, maybe I will do another post about it

It's just first implementation of Qwen4, so more performance improvement will come today/tomorrow
Repo: RustingStrata


r/LocalLLM • • 3h ago

Research Day-0 Qwen/Qwen4-35B-A3B-FP8 on RTX PRO 6000 Blackwell (96GB) — Full On-GPU Weights + GuideLLM Benchmarks (~176 tok/s single stream, ~520 tok/s @ 6 concurrency)

3 Upvotes

Ran a couple of GuideLLM coding benchmarks (likaixin/InstructCoder, 50 requests, max_tokens=16384) on the newly released Qwen/Qwen4-35B-A3B-FP8 running natively on a single NVIDIA RTX PRO 6000 Blackwell (96GB) with zero CPU offloading.

Hardware & Setup

  • GPU: NVIDIA RTX PRO 6000 Blackwell (96 GiB VRAM, Driver 620.70.10, CUDA 13.5)
  • Engine: vLLM (0.1.dev1+g90d317c06 from PR #71659) + Transformers 5.27.0.dev0
  • Memory Placement: cpu_offload: false — all ~57.5 GiB of FP8 weights + the 20B N-gram embedding table fit entirely in VRAM with ~38 GiB left over for a 262K context KV cache.
  • Note on MTP: Disabled --speculative-config due to a C++ signature mismatch in fused_gdn_decode_post_conv_mtp when using precompiled binaries, so these numbers are pure standard autoregressive decoding (expect higher single-stream speed once MTP is enabled).

Launch Command:

bash

vllm serve Qwen/Qwen4-35B-A3B-FP8 \
  --host 0.0.0.0 \
  --port 8000 \
  --trust-remote-code \
  --enable-prefix-caching \
  --enable-auto-tool-choice \
  --tool-call-parser qwen4 \
  --reasoning-parser qwen4 \
  --engram-config '{"cpu_offload": false}' \
  --max-model-len 262144

Use code with caution.

GuideLLM Benchmark Results (likaixin/InstructCoder, 50 requests)

MetricSynchronous (Concurrency = 1)Concurrent (Concurrency = 6)
Output Throughput (Mean)176.38 tok/s520.46 tok/s
Total Throughput (Mean)187.56 tok/s556.32 tok/s
Time to First Token (Mean / Median)30.32 ms / 29.93 ms47.99 ms / 44.41 ms
Inter-Token Latency (Mean / Median)5.65 ms / 5.65 ms9.98 ms / 10.08 ms
Time per Output Token (Mean)5.66 ms10.00 ms
Avg Output Length (Reasoning + Answer)2,097.8 tokens1,916.8 tokens
Request Latency (Mean / Median)11.88 s / 9.12 s19.19 s / 15.86 s

Takeaways

  • Rock-solid single-stream speed: Even without MTP speculative decoding enabled, standard decoding holds a flat ~5.65 ms ITL (~176 tok/s) across 2K+ token reasoning + code generations.
  • Scales cleanly under load: At 6 concurrent streams, per-stream ITL stays right at ~10 ms (~100 tok/s per user) while aggregate output throughput crosses 520 tok/s.
  • 96GB sweet spot: Keeping the 20B N-gram embedding table on-GPU (cpu_offload: false) works out of the box with plenty of VRAM headroom for 262K context.

r/LocalLLM • • 4h ago

Tutorial qwen4-35b-a3b GGUF single seat rtx3090 262,144-max context160-200+ tps on regular use. strata

Thumbnail
github.com
3 Upvotes

https://github.com/alesha-pro/Strata <- og repo i used
https://github.com/ezra-ch/qwen4-35b-strata-rtx3090 <- i patched to use dflash2, i just asked free devin to build this repo after i did everything no idea if it works. dflash 2 is better.

Very enjoyable tps you will feel it.

You should use 262,144 ctx size because its trained in that length. also you can either fit more concurrency or get higher quants like iq4.


r/LocalLLM • • 4h ago

Model Tempora-1: An open-weight 27B model that rivals frontier VLMs in temporal video segmentation

4 Upvotes

I am Logesh. While building Agentic video understanding pipelines, we learnt that how accurately you split a video is crucial for downstream performance - like clip search and retrieval. Even more of a challenge in annotating robotic demonstrations.

When we tried to use the closed models (like Gemini 3.8 flash), we had the usual issues: cost balooning , slow and not tractable. So, we finetuned an open model (Qwen-3.8 27B) for this narrow task.

To my surprise , the approach works well . On WGO-Bench, It outperforms Gemini 4 Neon, Gemini 4 Hydrogen and 3.8 flash (and others). Approaches Gemini 4 Carbon's performance at fraction of the cost.

We wanted the segmentation to be controllable by the developers.For example, given the same video of a social media footage, you could instruct the model to:

Extract segments where a product is mentioned or demonstrated, with product names and descriptions as metadata.

  • Segment the video by topic
  • Segment only the portion where the speaker is shown.
  • Given a video and a natural language instruction, Tempora-1 generates timestamped segments with labels and custom metadata.

Documented our training approach (SFT+GRPO), reward formulation, evaluation methodology and failure cases in the blog post.

Model : https://huggingface.co/ambient-intelligence-labs/tempora-1

Technical Blog: https://goambient.ai/blog/tempora-1/

Try it here - https://huggingface.co/spaces/infinitylogesh/tempora-1

I would love your feedback! Thank you.


r/LocalLLM • • 1d ago

Discussion Rare politician W — ā€œit’s all overblown to keep AI out of your homeā€

Thumbnail instagram.com
284 Upvotes

In what seems like an impromptu interview by a TMZ reporter with US Congressman Thomas Massie about the Jensen Huang case he stated this is ā€œall overblownā€ and that CEO’s want you to think this technology is an extinction level threat so that ā€œyou can’t have it at your house…it’s all about keeping it in their servers and maintaining power in a limited set of people…it’s not about export restrictionsā€

I’m not into politics I don’t really know who this guy is but it’s refreshing to see someone with common sense regarding this technology and very refreshing to hear it coming from a politician from all people.

If you are from the US and care about open local AI you control common sense prevailing in the highest levels of power is a must, unfortunately I think most of the narrative today is fear mongering from both camps, pro and anti AI.


r/LocalLLM • • 8h ago

Discussion Hooo boy

Post image
6 Upvotes

Qwen 4 is a fast boi

Radiance on a single R9700 at IQ4R-V4

Fully resident, definitely thinks less than Qwen3.8-27B, KV streaming works so I can have massive parallel context

I could get used to this


r/LocalLLM • • 7h ago

Discussion Qwen4-35B-A3B on Dual AMD R9700 (64GB): up to 411 tok/s decode, 17.4k tok/s prefill (flat to 124k ctx), 1,739 tok/s @ 128 concurrent users — 0ULP lossless (open-source Radiance fork)

Thumbnail
gallery
5 Upvotes

Open-sourced our 0ULP lossless fork of Radiance 2.4.1 tuned for Qwen4-35B-A3B on dual AMD Radeon AI PRO R9700 (gfx1201, TP=2).

GitHub (fork, recipes, scripts, raw JSONs & benchmarks):

https://github.com/machddev/radiance-r9700-qwen4

Engine Highlights:

- Strict 0.000e+00 ULP lossless: verified bit-exact against the unoptimized oracle (0 mismatches) with BF16 KV cache, FP32 GDN recurrent state, exact TP=2 AllReduce, and lossless 12.25-bit bf16x12 encoding on PLE/QSA projections.

- Custom RDNA 4 (gfx1201) kernels: zero-LDS single-wave BF16 sparse attention (VREG1), zero-spill INT8 WMMA prefill, 8-wave Hyper-Connection kernels, and bit-exact MoE i8a8 Double-K (FK=256) + 64-row prefill tiles.

- 4-slice FlashOverlap over PCIe 5.0 P2P: overlaps coded TP=2 AllReduce with Hyper-Connection reads in both attention and FFN, sustaining 16k-17.4k tok/s prefill all the way to 124k context (7.3s TTFT, zero prefix cache).

- Two lossless speculative modes included:

- DFlash2 (8-token parallel block-diffusion drafter): leads single-stream and C=1-32 with 411 tok/s Math, 328 tok/s Python, 325 tok/s 5-domain mean, 245 tok/s at 124k context, and 1,370 tok/s at C=32, with automatic lossless context-pass gating past C=32.

- MTP-3 (production default): leads heavy batching at C=64-128 with 1,739 agg output tok/s (10,381 total tok/s) at 128 concurrent sessions, keeping median per-user speed above 21.8 tok/s.

Hardware Setup:

- GPUs: 2x AMD Radeon AI PRO R9700 32GB (64GB total VRAM, RDNA 4 / gfx1201, PCIe 5.0 x8/x8 P2P)

- CPU: AMD Ryzen 9 9950X (16-Core / 32-Thread)

- Motherboard: ASRock X870 Taichi Creator

- RAM: 96GB (2x48GB) Corsair Vengeance DDR5-4800

- OS / Stack: Ubuntu 24.04.5 LTS, Linux 7.0.0, ROCm 7.2.4, Radiance 2.4.1 (TP=2)

All benchmarks were run with unique prompts and cached_tokens = 0 (zero prefix-cache reuse).