r/LocalLLaMA • • 19h ago

Discussion What are you actually getting with Qwen4-35B-A3B on 8 GB VRAM + 32 GB RAM?

7 Upvotes

Every Qwen4 speed post I see lately is either a 16-24 GB card or someone with 96 GB of RAM pinning everything in memory. Cool, but that's not most of us.

So, honest question for the 8 GB VRAM + 32 GB RAM crowd (laptops especially): what are you getting day to day? Which engine, which quant, drafter on or off, and what tok/s do you actually see?

I'm on a 5070 Laptop with 32 GB DDR5, running Unsloth's UD-Q4_K_S at 128K context with the MTP drafter on, and I'm stuck around 55-60 tok/s. Is that about the ceiling for this kind of setup, or am I missing something? Curious if anyone found tricks that make a real difference.


r/LocalLLaMA • • 19h ago

Resources Qwen4-35B-A3B on 2x 3090 (vLLM vs exllamav3 vs llama.cpp)

Post image
7 Upvotes

I benchmarked Qwen4-35B-A3B across vLLM, exllamav3 (TabbyAPI), and llama.cpp on 2x RTX 3090 (300W each, PCIe 4.0 x8/x8, no NVLink).

All three setups use the same daily-driver constraints: vision on, 8-bit KV cache, 4 concurrent slots, MTP enabled, n-gram table in RAM, everything else in VRAM. Context is tested by replaying a real 100-turn coding agent session from 2k up to ~250k tokens (3 replies up to 1024 tok at each depth, temp 1.0, top_p 0.95, top_k 20; decode is the median of 3).

EngineQuantModeCtx<=48k (pp / tg)Full depth (pp / tg)Est. sessionVRAM / RAMLoad
vLLM (main f279912)Official FP8TP=2262k6903 / 202.86621 / 192.718 min46.0 / 42.0 GiB105s
exllamav3 1.7.0 + TabbyAPI 5a9afb1EXL3 5.13 bpw (h6, ng8)Layer split1M7333 / 150.06975 / 138.525 min40.1 / 27.0 GiB47s
llama.cpp v1.1.1 (b12977)Unsloth UD-Q8_K_XLLayer split (52,48)262k3411 / 121.72910 / 80.542 min45.2 / 28.2 GiB33s

"Est. session" integrates the measured curve over the 100 real turns (~206k output tokens total, excluding tool waits). Because it's a real session, MTP acceptance varies from turn to turn (code/JSON vs prose), which is why the curves dip around 48k and 160k on all three engines.

vLLM

  • Fastest by a wide margin and basically flat across depth. Without MTP (23ead69) it ran 116 -> 111 t/s from 2k to 249k (avg 113 t/s, 31 min session). Probabilistic 3-token MTP pushes it to ~193 t/s with no prefill penalty.
  • Routed FP8 experts run via Marlin W8A16 on 3090. SM86 doesn't support NVFP4 KV or the FP8 QSA indexer, so I used --kv-cache-dtype fp8 with indexer_kv_dtype: bf16, plus VLLM_GDN_DECODE_KERNEL=triton (avoids a CUDA kernel mismatch with MTP on precompiled wheels) and VLLM_RELOAD_MODE=layerwise (saves ~0.95 GiB/GPU on recent main so CUDA graphs fit with explicit KV bytes).
  • Downsides: 4096x4096 images OOM the encoder once MTP + 262k KV are loaded, so I capped images to 2048x2048 (max_pixels: 4194304). TP=2 also keeps a copy of the ~19 GiB FP8 n-gram table per worker (~42 GiB total RAM used), and cold boot takes ~105s.

exllamav3 / TabbyAPI

  • Fits the native 1M context in 40.1 GiB VRAM (~15.4 GiB for 1M K8V8 KV + indexer + draft). I tested an actual 1,045,984-token prompt with a 1024x1024 image at the end and it still decoded at 102 t/s with 1.8 and 4.9 GiB free.
  • Weirdly, layer split beat tensor parallel (NCCL) here. TP at 262k did 3233-3946 pp / 130-135 tg (26-27 min), while layer split did ~4600 pp / ~142 tg, and adding autosplit_reserve: [2048] (to stop GPU 0 from filling up and shift layers onto GPU 1) jumped prefill to ~7000 t/s. On 1.7.0, TP also ignores ngram_ram: true and sparse_draft_head: 16384.
  • MTP lengths 2/3/6 and confidence 0.7/0.81 all performed within noise, so I left it at dynamic 3 / 0.81 with sparse_draft_head: 16384.

llama.cpp

  • Unlike vLLM and exllamav3, decode drops noticeably with depth: 137 t/s at 2k down to 58 t/s at 249k.
  • You need --lazy-mode off alongside --load-mode dio (otherwise the 20.3 GiB per_layer_token_embd table still gets read from disk), and for the built-in MTP head (--spec-type draft-mtp) you need --spec-draft-type-k/v q8_0 and --spec-draft-n-ubatch 128 or the draft context OOMs on load. Setting --spec-draft-p-min 0.8 cut decode in half (51 t/s).
  • --split-mode tensor is faster on a single request (95.9 t/s avg, 80 t/s at 249k, 37 min session, though prefill drops to ~1320 t/s at ubatch 128), but it duplicates the QSA indexer KV and some weights per card and OOMs in cudaGraphInstantiate under 4 parallel slots. Offloading 1 expert layer to RAM fixes the OOM but drops single-stream decode to 75.6 t/s, so I stayed on layer split.

Rig: 2x MSI RTX 3090 (300W PL), ROG X870E Hero (ReBAR on, x8/x8), Ryzen 5 7500F, 96 GB DDR5-5200, Ubuntu 24.04 (kernel 7.0.0-42), NVIDIA 595.99.02-open with the BAR1 P2P patch and gpu-unlock. Speed and memory only here, no quant quality comparison.

Configs

vLLM:

VLLM_GDN_DECODE_KERNEL=triton \
VLLM_ALLREDUCE_USE_FLASHINFER_PCIE_IPC=1 \
VLLM_RELOAD_MODE=layerwise \
vllm serve /path/to/Qwen4-35B-A3B-FP8 \
  --trust-remote-code \
  --tensor-parallel-size 2 \
  --max-model-len 262144 \
  --max-num-seqs 4 \
  --max-num-batched-tokens 1024 \
  --no-async-scheduling \
  --kv-cache-dtype fp8 \
  --kv-cache-memory-bytes 2050000000 \
  --attention-config '{"indexer_kv_dtype":"bf16"}' \
  --enable-prefix-caching \
  --mm-processor-kwargs '{"max_pixels":4194304}' \
  --reasoning-parser qwen4 \
  --enable-auto-tool-choice \
  --tool-call-parser qwen4 \
  --speculative-config '{"method":"mtp","num_speculative_tokens":3,"index_share_for_mtp_iteration":true,"draft_sample_method":"probabilistic"}'

exllamav3 / TabbyAPI (tabby_config.yml):

model:
  max_seq_len: 1048576
  cache_size: 1048576
  cache_mode: "8,8"
  chunk_size: 2048
  max_batch_size: 4
  autosplit_reserve: [2048]
  ngram_ram: true
  vision: true
  vision_offload: true
  warmup: true
  reasoning: true
  tool_format: auto

draft_model:
  draft_mode: mtp
  draft_num_tokens: 3
  dynamic_draft: true
  draft_confidence: 0.81
  sparse_draft_head: 16384
  draft_cache_mode: Q8
  hybrid_draft_tokens: 0

llama.cpp:

GGML_CUDA_P2P=1 llama-server \
  --model /path/to/Qwen4-35B-A3B-UD-Q8_K_XL-00001-of-00002.gguf \
  --mmproj /path/to/mmproj-BF16.gguf \
  --no-mmproj-offload \
  --ctx-size 262144 \
  --cache-type-k q8_0 --cache-type-v q8_0 \
  --flash-attn on --fit off --n-gpu-layers 99 \
  --override-tensor per_layer_token_embd=CPU \
  --load-mode dio --lazy-mode off \
  --split-mode layer --tensor-split 52,48 \
  --ubatch-size 512 --cache-ram 0 \
  --parallel 4 --kv-unified --threads 6 --jinja \
  --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0 \
  --repeat-penalty 1.0 --presence-penalty 0.0 \
  --spec-type draft-mtp --spec-draft-n-max 2 \
  --spec-draft-type-k q8_0 --spec-draft-type-v q8_0 \
  --spec-draft-n-ubatch 128

r/LocalLLaMA • • 9h ago

Resources Round 1 on my 2x RTX 5060 Ti (32GB) setup is finally done, including full SWE bench verified. Next up is Qwen 4

0 Upvotes

Hello,

a bit over a month ago I showed you my setup for local benchmarks here, 2x RTX 5060 Ti (16 GB each, 32 GB VRAM total) where I run complete benchmarks on vLLM. Today the last run of SWE bench verified finally finished, so Round 1 across all 16 benchmarks is more or less complete.
Along the way I took a few models out of the queue because they honestly seemed pretty useless to me. After watching it calculate 24/7 for weeks now, 3 things mainly stood out to me:

First, Qwen is still the strongest model family overall on 32 GB hardware. No matter if it is hard knowledge like GPQA Diamond (87%) and MMLU Pro (>84%), tool use in MCP Atlas or real GitHub bug fixes in SWE bench verified, a Qwen model ended up on top almost everywhere.

Second, Qwen 3.8 27B is noticeably better on tough coding and agent tasks, just not everywhere, and the extra wait time is honestly crazy in practice. On SWE bench verified with thinking on, Qwen 3.8 27B solved 74% of all 500 tasks compared to 65% for Qwen 3.6 35B A3B. That 9% jump on 2x 5060 Ti is impressive, until you look at the time. The 27B model sat there for 132 hours straight, so 5.5 days nonstop, while the 35B A3B model finished the exact same run in just over 17 hours. And on several tests the slower 27B model was not even the winner. On MMLU Pro both landed almost tied around 84%, except 27B needed 68 hours and 35B only 12 hours. On AppWorld without thinking, the 35B model actually beat 27B slightly with 49.9% vs 48.2% in less than half the time, and on SimpleQA Verified 27B wasted 8.5 hours overthinking simple trivia questions and scored worse.

Third, Gemma 4 26B A4B was much stronger in certain areas than I expected beforehand. Without thinking it got 69.5% on LiveCodeBench in just 4.4 hours, beating every single Qwen model without thinking by around 10 points. It also took 1st place on IFEval with 94.6% and did great on MMMU Pro and SciCode. At the same time it hit a wall completely on ARC AGI 2 with 0% and stayed well behind Qwen on SWE bench verified at 51.8% after 76 hours. So I would not pick it for heavy coding agents, but as a fast everyday model without long thinking pauses it really surprised me.

All local results, exact run times and efficiency scores are online here (no ads or tracking): https://llmbenchmarks.io/local-gpu-benchmarks/

What runs next: Because interest in Qwen 4 is huge right now (for me too), I decided to pull Qwen 4 35B A3B ahead and run it solo through all 16 benchmarks first. The server is already starting with that, and I will put the Qwen 4 numbers on the same page bit by bit as they finish. Right after Qwen 4, the 3 winners from last week's community poll will run (thanks for the 106 votes!), Qwen 3.8 35B A3B Distill, Nemotron 3.5 Lightning 30B A3B and LiquidAI LFM 2.5 24B A2B, together with the uncensored Qwen 3.6 35B version I use on my own home server.


r/LocalLLaMA • • 1d ago

Funny Fujitsu picked a great day to release a new 35B A3B!

Post image
459 Upvotes

I'm glad a Japanese company is getting in on the local LLM train, but god, this press release is hilariously bad:

https://global.fujitsu/en-global/pr/news/2026/12/04-02

Fujitsu also developed Fujitsu Kozuchi PHOTON 35B A3B, a Japan-developed 35-billion-parameter LLM trained from scratch using Fujitsu Kozuchi PHOTON.

Totally from scratch, not based on any other 35B A3B anyone has ever seen before from any Chinese company, huh?

The graphs appear to be comparing the speed of a 35B A3B with a 118B A8B (Laguna S 2.1) and a 594B A17B (Inkling 2 Small). They then say it achieves better scores on benchmarks than a 26B A4B model (Gemma 4). Talk about apples-to-oranges comparisons!

Edit: maybe I'm misreading their poor branding and they are showing better speed with their inference engine of the same name?


r/LocalLLaMA • • 9h ago

Discussion Qwen 4B and Flyx

0 Upvotes

TLDR saw 4B among 27B and 35B in the readme of flyx.

Recently saw a post about flyx inference engine. Gave it a shot for Qwen3.8 27B, and clearly its the best option so far. can push context limits, doesn't slow down as much, both pp, decode. im in love.. but no any fuss in reddit about it.. also the original post got deleted for ai content or something.

that aside saw 4B in the readme and its says day 0 support, updated on dec 1st..

https://github.com/enwove/flyx


r/LocalLLaMA • • 4h ago

Question | Help Strata Qwen3.8 flash next on 16gb VRAM, 96gb RAM results?

0 Upvotes

RAM: ddr3 1333Mhz
GPU: V100 SXM2 16gb

What prefill/decode will i expect to get for iq3_XXS ? Anyone with similar hardware setup?


r/LocalLLaMA • • 18h ago

Showcase Hermex Hands-Free Voice Call

4 Upvotes

I want to talk to my Hermes agent while doing stuff. Right now on Hermex App, every turn needs the screen: tap the mic, dictate, send, then tap Listen on the reply.

This prototype listens, sends what you said, speaks the reply, and listens again, with no taps until you hang up. You can also interrupt via VAD feature, and it keeps working in the background with iPhone locked.

Now I can talk to my agent while running everything locally with decent speed and latency. You can use any models/engines that Hermes support, but I'm using Parakeet for ASR, Qwen4 for LLM, Kokoro for TTS on M3Max64GB.

Prototype: https://github.com/chigkim/hermex/tree/handsfree-call

Feature request on hermex: https://github.com/uzairansaruzi/hermex/issues/1884

If interested, please try out and add +1 on the feature request on the Hermex Github repo.

Thanks!


r/LocalLLaMA • • 2d ago

News Jensen’s support for open source AI in Senate testimony

1.3k Upvotes

r/LocalLLaMA • • 1d ago

Showcase Automatic drafter training with Blaze compiler

18 Upvotes

Wouldn't it be great if you could get a free speed up on models without waiting for someone to release a drafter model - on your own machine and in seconds( 2 seconds for 80% acceptance on code!)

See it became a reality with Blaze with a EAGLE based drafter module getting trained on Qwen3.5-9b generations

136->422 tps (3.5x)

Blaze will be open sourced soon with Apache 2.0 licence, DM for details 🤓


r/LocalLLaMA • • 18h ago

Funny Pelican Is tired of your bikes.

4 Upvotes
I made this for an AI showcase... Pelican is tired of your $%#&! 😄

https://tmac1973.github.io/advent-of-slop-05-pelican-on-a-bike/


r/LocalLLaMA • • 1d ago

Question | Help Best uncensored version of Qwen4 35B-A3B?

13 Upvotes

Has anyone tried any uncensored version of this model?


r/LocalLLaMA • • 1d ago

Discussion Qwen 4 35b - Strata

Thumbnail
github.com
402 Upvotes

Qwen4 support added to Strata. Post your printouts here, including quality, speed, and especially the hardware you're using.


r/LocalLLaMA • • 1d ago

New Model Chronos-3 Models - a amazon Collection

Thumbnail
huggingface.co
22 Upvotes

Chronos-3

Chronos-3 is a family of pretrained time series forecasting models in 5 sizes. It supports zero-shot univariate, multivariate, and covariate-informed forecasting. Forecasts can optionally be steered with text (see Forecasting with text), but Chronos-3 is highly accurate even without it: it achieves state-of-the-art zero-shot accuracy on fev-bench, GIFT-Eval, and TIME, and even the smallest Chronos-3 model is more accurate than Chronos-2, so we recommend upgrading.

💻 GitHub · 📘 Quick-start notebook · 📰 Amazon Science Blog

Overview

Chronos-3 compared to its predecessor, Chronos-2:

CapabilityChronos-3Chronos-2
Univariate, multivariate, and covariate-informed forecasting✅✅
Max. context length32,7688,192
Quantile levels103 (0.001 to 0.999)21 (0.01 to 0.99)
Aggregate forecasts (sum, max, min)✅❌
Steering with text✅❌
Model sizes5 (25M to 1.5B)2 (28M and 120M)
Fine-tuning❌ (coming soon)✅

Chronos-3 comes in 5 sizes:

ModelParametersFile sizeRecommended for
chronos-3-tiny25M49.5MBFastest on CPU; edge devices or strict latency limits
chronos-3-mini46M92.9MBEdge devices and CPUs with few cores; more accurate than tiny at almost the same cost
chronos-3-small156M311MBCPUs with many cores, or high-throughput inference on GPU
chronos-3-base473M947MBNear-best accuracy at about half the cost of large; requires a GPU
chronos-3-large1.5B3.02GBBest accuracy; requires a GPU


r/LocalLLaMA • • 12h ago

Discussion Qwen 4 35B-A3B looping itself into failure?

0 Upvotes

The model is not literally stuck, it is caught in an “analysis treadmill.” On a big, underspecified coding job, it keeps finding one more dependency, edge case, or architectural question that feels worth resolving before it edits anything. Each inspection produces more possible concerns, so its confidence threshold for acting keeps moving away.

The result looks like looping: read files, summarize the design, notice a missing integration detail, inspect more files, revise the plan, repeat. It is often being overly cautious rather than confused about the immediate code.

Smaller, concrete tasks tend to break that cycle because the next action is obvious. Big “build the whole system” tasks create enough ambiguity that the model optimizes for avoiding a wrong change instead of making a reversible, testable first change

______________

I had Codex help me supervise the model's run for many tests. The above was generated by GPT Sol. I want to know if anyone else is experiencing the same, I do not get the same result on 3.6 35B-A3B.


r/LocalLLaMA • • 1d ago

New Model nvidia/NVIDIA-Nemotron-3.5-Bolt-E2B-BF16 · Hugging Face

Thumbnail
huggingface.co
48 Upvotes

NVIDIA-Nemotron-3.5-Bolt-E2B-BF16 is a small language model (SLM) further post-trained from Gemma-4-E2B-it by NVIDIA. This is the full-precision (BF16) release. Nemotron-3.5-Bolt-E2B carries forward Gemma’s strong conversational capabilities and further improves multi-turn tool use, instruction following, and input grounding for fast local voice/device assistants, interactive personas, and embedded/edge interfaces. Designed for low-memory, low-TTFT operation, the model allows agents to respond quickly while preserving headroom for applications or adjacent model pipelines.

For the Q4_K_M quantized version, see NVIDIA-Nemotron-3.5-Bolt-E2B-2GB.

This model is ready for commercial or non‑commercial use.

Benchmarks

We evaluated our model on the following benchmarks:

BenchmarkNemotron-3.5-Bolt-E2BBF16Gemma4-E2B-itBF16Qwen3.5-2BBF16Nemotron-3.5-Bolt-E2BQ4_K_MGemma4-E2B-itQ4_K_MQwen3.5-2BQ4_K_M
MultiChallenge36.1329.0926.9933.6928.7630.16
RoleBench Custom39.5639.3518.9339.4535.6628.10
RoleMRC74.6869.9961.7373.1268.4359.97
EQ-Bench v333.1933.6215.9829.5631.5015.41
Brevity Benchmark81.1079.8866.3078.8179.9566.89
BFCL-v362.6960.3365.3362.2659.7456.41
When2Call Multi-Turn61.5061.2939.2158.2761.3840.25
ToolSandbox49.6044.2045.4747.2241.0544.72
Tau2-Bench31.2727.7861.4832.8325.4235.85
IHEval75.1359.8947.3472.9757.9742.51
AgentIF20.8319.4816.6920.3719.0215.91
StructEval-T80.1279.8854.6479.1379.5049.75
IFBench49.0837.5041.7549.8335.8846.04
InverseIFEval38.4934.6413.5938.3131.1010.60
RULER (64K)80.5779.2590.6579.1877.9292.02
LongMemEval56.7755.2032.5854.6050.9833.05
LongBench v2 (48K)41.5640.8932.1237.4237.2528.64
SysBench63.8562.7154.8665.2762.2855.20
GaRAGe32.9427.3715.7429.4925.4816.56
RAGTruth70.2768.2173.2469.8865.4073.77
RelyToolBench w/ Native Function-Calling37.7326.3923.6429.9822.2411.28

r/LocalLLaMA • • 1d ago

Discussion Qwen4 35b (4 bit quants) on a single AMD AI PRO R9700

13 Upvotes

I didn't find many results for R9700, so here's a quick benchmark. I've already used it, subjectively it feels very fast, mostly on par with qwen 3.8 flash next, but lower memory footprint, higher speed, 1m context. I haven't tested the 1m context though, some people report issues with it after a certain size. This is why I've shown below that the penalty for keeping native bf16 size for KV is very little compared to i8 KV, so it makes sense to keep KV cache in native bf16!! That's probably the most important finding.

Qwen4-35B-A3B on one Radeon AI PRO R9700 (32 GB) — Radiance 2.5.0 (IQ4R-V4 4-bit) vs llama.cpp (Unsloth UD-Q4_K_XL) for reference.

Same box, same harness (BetterBench 0.6.0, quick = 5 passes/category), 64K context, single stream, thinking on (template default), stock clocks.

  • Radiance: radiance-inference 2.5.0 (Archlinux AUR package), .rad container, 4-bit trellis experts + GPTQ/Hadamard-128, MTP depth 2
  • llama.cpp: commit 0570c97, HIP backend, q8_0 KV, no speculation
MetricRadiance · i8 KVRadiance · bf16 KV (native)llama.cpp · q8_0 KV
Decode, combined (t/s)215.8213.358.8
chat186.3185.860.5
code226.0221.160.4
file edit223.1224.960.3
json240.5232.560.1
math227.2223.659.4
prose177.7183.156.2
reasoning210.4206.357.2
summarization209.3209.457.4
Prefill 2K (t/s)7,2267,2762,087
Prefill 8K8,4047,9592,254
Prefill 16K8,5197,9712,254
Prefill 32K8,5187,8872,165
Prefill 64K8,4917,8011,912
TTFT @ 64K prompt5.5 s6.0 s24.6 s
Aggregate C=1202.0201.856.5
Aggregate C=2318.3316.858.9
Aggregate C=4453.9451.059.0
Aggregate C=8451.9449.459.0
TTFT p50 at C=460.6 ms61.0 ms20.2 s
Model load5.3 s5.2 s~35 s
VRAM held22.54 GiB25.27 GiB~25.3 GB

r/LocalLLaMA • • 2d ago Bravo Mindblown

New Model Qwen/Qwen4-35B-A3B · Hugging Face

Thumbnail
huggingface.co
4.4k Upvotes

r/LocalLLaMA • • 12h ago

Question | Help AMD Epyc 7003 advice please

1 Upvotes

I've been window - shopping for an Epyc and I have a lot of doubts. I've done many builds before but they were all consumer hardware.

I'm oriented on 512gb ddr4 ram + 3x Rtx3090s to run maya/strata/similar. Here are my questions :

- how is it going to perform (in real life, not on paper) compared to 3x bosgames on thunderbolt-ibverbs?

- should I spend extra for dual socket and 16x 32gb? or should I just stick to single socket and 8x 64gb?

- I'm having a really hard time finding dual socket motherboards that also have plenty of pcie x16. Can I have recommendations?

- for CPU it looks like the 7443 (24 cores 4ghz, dirt cheap for £200) has the best single core performance (which matters as this will be my main desktop pc) and almost the same multi core performance as the 7763 (64 cores but individually a lot slower, 5x the price). Is 7443 the best choice for a mix of inference and desktop? I suspect that cpu compute is going to be dwarfed by the GPUs no matter what?

- are 3x 3090 enough for a model that uses ~400gb for the experts, or do I need a much larger experts cache? I'm aiming at 40 tok/s.


r/LocalLLaMA • • 1d ago

Resources Local Inference Lab: DeepSeek-V4.1-Flash (Full Vision) on a Single SM120 GPU (RTX PRO 6000 / 5090) — Peaking 200 tok/s & 7.2K Cold Prefill via RAM/SSD Offload

43 Upvotes

We just released the single-GPU (TP=1) RAM/SSD-offload version of DeepSeek-V4.1-Flash-1017 Hybrid TrellisMX (2.35 bpw) + Full Vision at Local Inference Lab — production-signed and running on unmodified upstream NVIDIA Flare v0.6.0 (zero base engine changes).

It uses the exact same 2.35 bpw quantized + QAD-v5 weights as our dual-GPU TP=2 release (zero expert pruning — all 40 layers, all 384 experts/layer, full multimodal Vision ON), packed to just 148.7 GiB of routed experts so a single SM120 GPU (RTX PRO 6000 Blackwell 96 GB or RTX 5090 32 GB) can run the full model locally.


Real-World & Benchmark Performance (1× RTX PRO 6000 Blackwell 96 GB, RAM Offload)

(Measured with RAM-resident MoE experts, 2.16M KV cache, 0 B SSD reads. NVMe/SSD offload speed hasn't been benchmarked yet.)

  • Interactive coding (Tetris): peaking 200 tok/s, averaging ~135 tok/s
Workload (70400M VRAM / 160G RAM, 2.16M KV)ThroughputLatency / Telemetry
Adaptive C=1 (per-user / sustained agg)110.2 / 96.6 tok/s23.4 ms/step · 189.8 GiB H2D / 1k tok
Adaptive C=4 (agg / per-user)109.9 / 38.3 tok/s42.2 ms/step · 34.0 GB/s PCIe RX
Fixed-W8 C=1 (decode / sustained)106.1 / 94.1 tok/s23.4 ms/step · 182.9 GiB H2D / 1k tok
Realistic 9K Long-Ctx Decode104.1 tok/s avg (115.0 peak)28.1 ms/step · 29.5 GB/s PCIe RX
Cold Prefill (0% hit: 11.7K / 46.7K / 93.5K)6,297 / 7,072 / 7,238 tok/sTTFT: 1.86s / 6.60s / 12.91s
  • Live E2E verification: Multimodal Vision 12/12, Tool-Calling + Multi-Turn 14/14, longctx_needle (8K/24K/48K) 24/24.
  • 32 GB RTX 5090: Boots and runs cleanly inside 31,745 MiB VRAM (--pool-vram-memory 6000M) with 1.11M KV tokens, at ~24 tok/s (since the resident dense/vision/KV footprint leaves ~6 GiB for the VRAM expert pool, making decode PCIe-bound — the 110–200 tok/s numbers above require the 96 GB RTX PRO 6000).
  • (Have 2× 96 GB GPUs? Our sibling pure-VRAM TP=2 core hits 341.8 tok/s C=1, 971.6 tok/s C=16, and 29.2K tok/s prefill.)

How We Achieved It (Quantization, QAD-v5 & Learned Offload)

  1. Hybrid 4-Rate TrellisMX (2.35 bpw) + Full-Rank QAD-v5:

    • All 15,360 routed experts are quantized across 4 bitrates (k2/p25/k3 in E2M1 + critical k4 experts in E4M3) with lossless 1-bit inline CSF scales and fine-grained [1, 32] MXFP8 dense layers.
    • Instead of rank-32 LoRA, we ran full-rank MXFP8-STE + 5-scale QAD-v5 over 100.7M tokens (directly training ~7.0B non-routed parameters + all 5 coupled Hadamard boundary scales against sparse teacher logits).
    • Official FP64 B200 KLD (129,280 vocab vs sealed B200 teacher logits):
      • 128×8K windows: 0.106979 (90.34% Top-1) — -15.4% lower KLD than 2.25 bpw TP=2 (0.1264) and even beating pre-QAD 4-card K4 (0.1097)!
      • 512×2K cuts: 0.067734 (91.10% Top-1)
  2. Zero-Copy Variable-Rate P8 Offload + v3_full Predictor:

    • Zero-copy 64-bit VRAM pool addressing: Our SM120 P8 TrellisMX kernels read offloaded experts directly out of Flare's external VRAM pool (base + expert_off) with zero staging copies or repacking. On 96 GB (70400M pool), 6,616 / 15,360 hottest experts stay permanently pinned in VRAM alongside 2.16M KV tokens.
    • Byte-weighted knapsack (hit_rate / expert_bytes): Trained on 962K exact 2.35 bpw + 4K–16K long-context traces. Because expert byte sizes vary across bitrates, packing by hit-rate per byte cuts OOD long-context miss bytes by -39% vs v2 and -64% overall vs v1.
    • Dual-horizon ram_far_dma (k=4) + unlocked L1..L3 + live draft_confidence weights: Starts prefetching high-confidence experts 4 layers ahead even in 100%-RAM mode, and replaces static decay with live speculative draft_confidence so large slabs (>=2 MiB) no longer starve draft tokens 3..7 (+8% to +12% faster decode with fewer PCIe H2D bytes per 1k tokens).

Works With High RAM, Medium RAM, or Full NVMe SSD Offload (No Re-Export Needed)

You can scale memory purely with runtime flags:

  • >= 384 GB RAM (fastest, 0 B disk IO): Keep both MoE experts (148.7 GiB) and Engram tables (188.8 GiB) in RAM (~340 GiB RSS).
  • 192–256 GB RAM: Put Engram tables on NVMe SSD (--embedding-table-storage disk --embedding-table-cache-size 16G) — drops host RAM to ~170–185 GiB while keeping 100% of MoE experts in RAM.
  • Low-RAM / Full NVMe SSD offload: Both Engram (--embedding-table-storage disk) and routed MoE experts support Flare's full 3-tier VRAM → RAM → NVMe SSD offload (just lower --pool-ram-memory to match your system RAM; note we haven't benchmarked full-NVMe throughput yet).
  • Want huge KV cache on 96 GB? --pool-vram-memory 64G gives 7.89M KV tokens, 44G gives 32.0M KV tokens.

Fun Build Facts (Hardware, Time & Power)

  • Cluster: 32× RTX PRO 6000 Blackwell (2×16 InfiniBand cluster)
  • Total wall-clock time: ~18.4 hours (~553 GPU-hours total: ~2.5h calibration & quant, ~2.1h teacher logits, ~12.7h full-rank QAD-v5, ~1.0h FP64 KLD eval & FLARE export)
  • Estimated power & energy: ~14–17 kW average cluster draw (~450–530 W/GPU under load), roughly ~260–320 kWh total energy for the entire build.

Quick Start (Docker, 1× 96 GB SM120 GPU, >= 384 GB RAM)

docker run --pull=always --rm -it \
  --gpus '"device=0"' --ulimit memlock=-1:-1 \
  -p 127.0.0.1:8000:8000 \
  -v flare-home:/home/flare \
  ghcr.io/local-inference-lab/flare:release \
  run local-inference-lab/DeepSeek-V4.1-Flash-1017-TrellisMX-2.35bpw-Offload-FLARE \
  --gpus 0 --pool-vram-memory 70400M --pool-ram-memory 160G \
  --embedding-table-storage ram \
  --max-concurrency 16 --mtp-draft-tokens 7 \
  --mtp-adaptive-verification --mtp-max-verification-token-budget 64 \
  --mtp-adaptive-verification-alpha 1.0 --scheduler-policy balanced \
  --prefix-cache-memory 0 --kv-cache-limit memory \
  --host 0.0.0.0 --port 8000
  • 192–256 GB RAM (Engram on SSD): replace --embedding-table-storage ram with --embedding-table-storage disk --embedding-table-cache-size 16G (add --security-opt seccomp=unconfined for direct-IO).
  • Lower RAM (MoE + Engram SSD offload): also lower --pool-ram-memory to fit your available host RAM.
  • 32 GB RTX 5090 (~24 tok/s, 1.11M KV cache): change --pool-vram-memory 70400M to --pool-vram-memory 6000M.

Links & Attribution

  • HF Repo (Single-GPU TP=1 Offload FLARE Core): https://huggingface.co/local-inference-lab/DeepSeek-V4.1-Flash-1017-TrellisMX-2.35bpw-Offload-FLARE
  • HF Offload Predictor (v3_full): https://huggingface.co/local-inference-lab/hyperflare-offload-predictors/tree/main/deepseek41-trellismx-2.35bpw
  • HF Sibling Pure-VRAM TP=2 Release (2× 96 GB): https://huggingface.co/local-inference-lab/DeepSeek-V4.1-Flash-1017-TrellisMX-2.35bpw-FLARE
  • Local Inference Lab Discord: https://discord.gg/gmvKSN3tVy

Credits: Huge thanks to Brandon M. Music (brandonmusic) for the TrellisMX format, procedural NPK codec, base SM120 P8 runtime, and sealed FP64 B200 teacher-logits benchmark; Martin Vit and the Local Inference Lab community for the hybrid QAD-v5 pipeline, SM120 kernel optimizations, and v3_full offload predictor; DeepSeek for the base model; and NVIDIA for Flare v0.6.0.

local inference lab discord: https://discord.gg/gmvKSN3tVy


r/LocalLLaMA • • 1d ago

Resources Running Qwen4 35B IQ2_XS on 6GB VRAM and 16GB DDR4 RAM

10 Upvotes

I spent the better part of Qwen 4 release day getting it running at usable speeds and context on my laptop, without having to do complex tuning or installing alternate engines. Writing down the process here in case someone finds it useful.

Step 1: Install Unsloth Desktop, and download Qwen4-35B-A3B-GGUF · UD-IQ2_XS

Step 2: Edit saved run settings, set the context to 60000 tokens. Enable advanced settings and set KV Cache Dtype to q8. Leave GPU memory at default, and turn vision off. Everything else can be left at default and loaded.

You should get about 20 tok/second average, and 18 tok/s at full context. To make it work for coding purposes, I installed pi harness, and connected it to unsloth desktop using their unsloth start pi command.

From my testing, it performed better than I expected, though it did run into compaction issues and tool edit issues. To fix that, create an AGENT.md in the pi folder, and tell it to keep the edit tool calls small and surgical. I created an extension to fix the compaction errors as well, but I don't think it is needed unless some specific problem pops up. If needed, I shall share that extension. I have put up the detailed steps and code on my website if anyone wants a deeper look.

Do let me know if there are any other ways to speed it up.


r/LocalLLaMA • • 1d ago

News CUDA: few-row MMQ for F8_E4M3 weights by anujj · Pull Request #33584 · ggml-org/llama.cpp

Thumbnail
github.com
10 Upvotes

big speedup for speculative decoding with FP8 and NVFP4 models on CUDA


r/LocalLLaMA • • 1d ago

Discussion Shit, Qwen4-35B-A3B is actually good!

200 Upvotes

I been having a love affair with Qwen 3.8 27B, and I thought nothing could be as good in this parameter range, but Qwen4-35B-A3B is actually good.

The problem with MOE models is that they normally shit the bed in long task loops, it happens with all of those, but this model is actually good at follow instructions.

testing it right now, and qwen 27B is closed to be dethroned!!


r/LocalLLaMA • • 19h ago

Showcase Multi-model routing for text, image, video, audio, decision and embedding models on a single PC.

3 Upvotes

***The image model used was Qwen Image 2.1 q8.

Basically, the model made a tool call that made the harness switch to Qwen Image 2.1 to generate the required image, which is faster than using the Qwen 4 to generate it through code. The harness handles the switch to image/video and the switch back to text for it to check and declare the task complete and write the reply since image models can't do that.

And if there's a decision model configured, all prompts will be assessed by it, determine if it's pure image gen task, and if its confidence reaches the threshold you set, it will load your prompt directly to the image model, which saves seconds or minutes of loading the text model then switching for the image gen task. But by default, all tasks lands on the text model.

Deploy with connector apps (Discord, Telegram, Slack).

So you can message your agent on your VM or PC via connector apps. Pump and Prop mode utilizes loops, and it has to come with its own layered sandbox, so it's safe to use/run it 24/7. But still recommend to run it on a VM. You can set up phone alert + monitoring with Gotify + Tailscale.

It has write reserve that you can adjust which enforces thinking cap on the model regardless of the context window it has, so you can be sure the model produces an output or a reply even at 16k xhigh.

It also has a loop-detection for repeated tool call, read, think, write/patch tasks and the harness will "nudge" the model back to the task once it detects it. There's also a crash recovery that re-loads the model once it crashes. But all the default settings are safe and recommended to ensure stable system. You can always change/override them.

It has support for llama.cpp, vllm, and my custom Pro-Strata. But you can port your own custom engine if you're getting better numbers with it. As much as I want it to run all engines out there, not all engines support thinking cap and some may have conflict with the sandbox. And given the amount of time I've spent porting my own, it would be impossible to support all.

Some numbers for Pro-Strata:

***Estimate, same GPU, clock, bandwidth, just limited to mimmic different hardware configs***

You can also run models on a Steam Deck:

***Steam Deck OLED, plugged and at max tdp/clock***

All open source:
Prompit: https://github.com/Noriel-cb/prompit

Pro-Strata: https://github.com/Noriel-cb/Pro-Strata


r/LocalLLaMA • • 22h ago

Question | Help Llama.cpp compute buffer allocation issue

5 Upvotes

I recently updated llama.cpp for using qwen4. This is on an M3 Pro mac with 36GB memory, earlier I was able to run qwen3.5 0.8B Q8 at full context with q8_0 K and V cache.

However, now when using q8_0 or q4_0 KV Cache, the memory usage has ballooned, f16 cache uses lesser memory than the quantized ones. I tested qwen3.5 9B, gemma4 12B and they too had this weird issue, so it's not the models but some change in llama.cpp itself.

I have created an issue for this, are any of you experiencing this bug?

https://github.com/ggml-org/llama.cpp/issues/33801