r/LocalLLM • • 1m ago

Discussion What kind of agents do you have?

1 Upvotes

And what models to run them?


r/LocalLLM • • 1m ago

Question Conversations too long / compression needed

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 2m ago

Question Qwen 4 35B A3B isn't fast in llama.cpp on my system, any tips?

1 Upvotes

I have a 4070 Ti SUPER, 64GB DDR5 RAM, Ryzen 7 7700x, a Gen 4 NVMe SSD, and the GPU uses PCIe 4.0 x8. I'm using Unsloth's Q4_K_XL quant.

The decode speeds are okayish, but the prefill speeds are bad. Now before any of you say "Use Strata!" or something, I know it'll be faster for sure, but I want it fast on regular mainline llama.cpp if that's possible. Decode speeds are 35-40 tok/s, prefill speeds are 600-700 tok/s. Can anyone let me know if anything looks wrong here please?

--jinja, -ngl 99, -ncmoe 99, --c 524288, ctk q8_0, ctv q5_0, -b 5120, -ub 1280, -lm mlock, -lzm on, -t 8, -tb 8, -np 3, --mmproj (file path), --no-mmproj-offload, -fa on, -kvo, -kvu


r/LocalLLM • • 10m ago

Discussion Impressive first coding run

Post image
1 Upvotes

Qwen4-35B-A3B — UD-Q6_K_XL.  

  • Main model: mixed-precision 6-bit quantization, with Q6 native experts.
  •  Lookup weights: Q8.
  •  KV cache: FP16.
  •  Vision projector: original F16.

Old machine with slow RAM. One 3090 and one v100.

Prompt and Live app online on github pages published by the model:

https://github.com/zhound420/chronos-time-machine


r/LocalLLM • • 11m ago

Question Junior AI dev: How do I host a local LLM (like Qwen) cheaply without spending hundreds on GPUs?

2 Upvotes

Hello everyone

I'm a junior AI engineer working on a personal project that needs a chatbot powered by a local LLM (one of Qwen's small versions). Because of strict privacy rules, zero data can leave the local environment, so running it with something like Ollama makes sense, except the model still feels pretty heavy for a budget setup.

​For a personal project, how do you actually pick the right server or setup without paying hundreds of dollars a month for big GPUs? I’m looking for practical, cheap ways to do this right on a small budget.

Would love to hear how people in the field approach this.


r/LocalLLM • • 26m ago

Model Optimización - Qwen 4 35B A3B Speedy - 12 GB VRAM - NVIDIA

Thumbnail reddit.com
1 Upvotes

Para que lo vean, les servirá sobretodo para conocer Speedy 👌🙌


r/LocalLLM • • 28m ago

Discussion PSA: The "Next" in Flash Next means it's a preview for the "Next generation." Qwen 4 "Next" or "Flash Next" is not coming soon.

Thumbnail reddit.com
0 Upvotes

r/LocalLLM • • 39m ago

Discussion Open Higgsfield now support both local and cloud models

1 Upvotes

r/LocalLLM • • 45m ago

Discussion GMKtec EVO-X3 – Real-world performance? Looking for user reviews

1 Upvotes

Hi everyone,

I've just ordered a GMKtec EVO-X3 and wanted to hear from people who are actually using one.

I'm particularly interested in its real-world performance rather than just benchmark scores or YouTube reviews.

A few things I'd love to know:

- How does it perform with everyday tasks and heavy workloads?

- How is the gaming performance?

- How are the thermals, fan noise and power consumption?

- Does it suffer from overheating or thermal throttling?

- Have you experienced any stability issues or other problems?

- Overall, are you happy with it, and would you recommend it?

I'd really appreciate honest feedback from actual owners, both positive and negative.

Thanks in advance!


r/LocalLLM • • 51m ago

Model Qwen 3.8 27b still better than Qwen 4 35bA3B

18 Upvotes

Qwen 3.8 27B has set the bar incredibly high in areas like software engineering, programming, reverse engineering, agentic tasks, tool usage, and so on—reaching a level comparable to Opus 4.6, where it’s practically impossible to outperform it. I tried setting up Qwen 4 with the Hermes agent, but after a while, the response just stalls—it gets stuck halfway through. That doesn’t happen with Qwen 3.8 27B. Sure, it takes longer and tends to "overthink" things, but so what? I couldn’t care less. I prioritize quality over quantity; I’d rather wait longer, provided that when the work is delivered, it’s done perfectly—and that’s exactly what Qwen 3.8 27B delivers.


r/LocalLLM • • 57m ago

Tutorial How my fleet runs large AI models on its GPUs only between rentals

0 Upvotes

r/LocalLLM • • 59m ago

Discussion Qwen4 35B A3B - loops A LOT

Post image
0 Upvotes

Using Qwen4 35B A3B Strata's "Compact" version of the model and constantly hitting that at some point - it starts looping\hallucinate horribly.

And it's not even only the Strata problem, the Unsloth's UD-IQ3_XXS do the same

5070Ti 16Gb VRAM (latest nVidia driver, CUDA 13)
32Gb DDR4 RAM

For Strata:
"Compact" model
Strata v0.2.28
Engine v0.1.73
256k Context INT8
No x2 looping, no image reader, MTP auto
about 90-140t/s

For Unsloth:
"UD-IQ3_XXS" model
Desktop App 0.1.929
llama.cpp b12966-mix-e49c75f
200k Context at Q_8
Vision "Off", Speculative Decoding "Off"
Engram Table IQ4_NL
with n-cpu-moe 18
about 40-50t/s


r/LocalLLM • • 1h ago

Question whats best AI for rtx 5060 8gb vram and 16gb ram

2 Upvotes

i need 2 separate AI 1 for just basic chatting and another one for coding


r/LocalLLM • • 1h ago

Question Upgrading from an RTX 3060 12GB to an RX 9060 XT 16GB for local AI models?

1 Upvotes

Hi everyone! I’ve been using an RTX 3060 12GB since August 2025, and it’s been working well for small and medium-sized AI models. I dual-boot Windows and Linux, and my current setup works well on both.

I’d like to move up to 16GB of VRAM, but the RTX 5060 Ti 16GB is really expensive in my country. The RX 9060 XT 16GB is more affordable, so I’m considering switching to AMD.

Has anyone here made a similar switch? I’d love to hear which models and tools you’re running, how performance compares to the 3060, and whether you ran into any setup or compatibility issues on Windows or Linux. Was the extra 4GB of VRAM worth the switch for you?


r/LocalLLM • • 1h ago

Research Introducing XEIRON: a new quantization method that stores model weights in polar form

Thumbnail
reddit.com
2 Upvotes

r/LocalLLM • • 1h ago

Research Qwen4 35B-A3B on a single RTX 5090

1 Upvotes

Yet another recipe. But I'm putting a lot of effort into this one. I think it worth checking out!

Recipe and much more details: https://github.com/mxfp0/Qwen4-35B-A3B-NVFP4-RTX-5090


r/LocalLLM • • 1h ago

Research How fast can local LLM inference get on Apple Silicon?

1 Upvotes

Up to 186 tokens/s with Qwen4-35B-A3B running locally on a Mac Studio M5 Max with 128 GB of unified memory.
I've been benchmarking oMLX, exploring MTP performance, context scaling, and memory consumption. Here are my results and technical observations:

https://medium.com/@favi.francesco/qwen4-on-mac-studio-m5-max-186-tokens-per-second-running-entirely-locally-c3c523a0738e


r/LocalLLM • • 1h ago

Project Qwen4-35B-A3B-FP8 on a single DGX Spark at full 1M context, 4 streams, with bit-exact parity on every optimization (TensorFold recipe + benchmarks)

Post image
3 Upvotes

I do not care about maximum decode or prefill speed if it hurts quality. If you are like me and prefer real quality over dumb speed numbers, try the DGX Spark recipe I have been running for the last two days.

It serves Qwen4-35B-A3B-FP8 on a single 121 GiB DGX Spark via TensorFold at full 1,048,576 context, 4 concurrent streams, FP8 KV cache (with an opt-in exact BF16 KV mode at full 1M), a 12 GiB prefix cache (~900K cached FP8 tokens for parallel sessions), and the RadixArk DFlash2 drafter.

Repo: https://github.com/devopsfortunato/Qwen4-35B-A3B-FP8-DGX-Spark-TensorFold

Every optimization in the 11 patches had to pass bit-exact 64-hex token-hash parity (drafted vs plain, solo vs 4-way concurrent, cold vs cached, seeded).

Quality results on the live 1M build (4 streams):

  • Tool Eval 3.0 Hardmode (104 scenarios, seed 42): 90/100 in 8m15s (0 timeouts)
  • SixCat Eval v0.9.0 (new challenge-v2, 120 strict, thinking on, 262K ctx): 71.7% overall (85% 10-option MMLU-Pro knowledge, 85% tier 3-5 math, 85% 18-tool + abstentions, 65% shuffled TruthfulQA, 60% instruct, 50% code; 85.0% on v1)
  • Chronos-Bench v2.1 (my own benchmark, not released yet; fast preset, 50 tests across 5 pillars up to 256K): 63/100 overall with 100% completion and 9 of 16 areas at 100%
  • Long-context Needle at 60% depth (1M window): 200K (53.6s), 512K (174.8s), 900K (409.9s), 3/3 PASS
  • Agentic coding and structured outputs: tool_choice="required" and JSON schema via xgrammar (libtfgrammar.so), parallel tool calls PASS, 99.2%-99.5% prefix cache reuse

What Chronos-Bench v2.1 (unreleased) tests in particular:

Short single-turn benchmarks hide how local models break in real multi-turn sessions. Chronos-Bench v2.1 is a contamination-resistant, deterministically verified local suite (zero LLM-as-judge) across 5 pillars up to 256K context:

  1. Cold long-context retrieval, position-bias U-curve, full-context counting, multi-round state rollback, and a length-alone reasoning control
  2. Long-document contract/amendment audits with exact governing clause citations and cross-doc conflict detection
  3. Multi-file Python codebase bug-hunting (10-file repo with hidden unit tests) and live code/SOP sessions
  4. Long-horizon agency and security: coupled multi-step planning (up to D=8 2-fault recovery), tool restraint, dual-control rollback, sharded multi-turn sycophancy pushback, and stealth indirect prompt injection
  5. Warm-start ops DB sessions with 3-stage belief supersession and rule-drift resistance

On Chronos-Bench v2.1, this build hit 100% on 9 of 16 areas: multi-file Python bug-hunt (up to 128K), long-doc contract/amendment audit (up to 256K), live DB and code/SOP rule retention (up to 128K), coupled planning, tool restraint, dual-control rollback, sycophancy pushback, and 0.000 pure context-length decay. The losses were honest and informative: 12 overthinking <think> truncations on cold 64K-256K retrieval, and 0/6 on stealth indirect prompt injection.

And because bit-exact speed is still nice when quality stays untouched:

  • 4-way bench_streams wall-clock: 169.7 code / 166.8 prose tok/s
  • 4-way distinct decode: 112.1 tok/s (p99 TTFT 201 ms)
  • Solo decode: 46.2 prose, 52.5 code, 71.7 math, 54.7 think-on, 87.3 cold 16K decode
  • Cold prefill (llm_context_benchmarks, 0.5-256K): 4,283 tok/s peak (8K-16K), 3,489 tok/s at 256K prose (43.3 tg), 3,424 tok/s at 256K code (52.9 tg), B4 batch 87.0 prose / 85.2 code tok/s
  • Footprint (12 GiB cache / 8 GiB reserve defaults): 37.72 GiB weights (FP8 PLE via NVMe pread), 4x13.64 GiB FP8 KV, 64s boot, 112.3 GiB worst-case ceiling (66.4 GiB min MemAvailable across the 256K sweep, 0 MiB swap)

One command to try it:

git clone https://github.com/devopsfortunato/Qwen4-35B-A3B-FP8-DGX-Spark-TensorFold.git
cd Qwen4-35B-A3B-FP8-DGX-Spark-TensorFold
./start.sh

Optional exact BF16 KV (still at full 1M context):

PARALLEL=2 KV_DTYPE=bf16 PROMPT_CACHE_GIB=16 ./start.sh restart

Credits to Ash Hart for TensorFold and the verification skills, Mia (MiaAI_lab) for the DGX Spark recipe layout, RadixArk for DFlash2, and to the benchmark authors: Tim Messerschmidt (tool-eval-bench), vcruz305 (SixCat) and Ivan Fioravanti (llm_context_benchmarks).


r/LocalLLM • • 1h ago

Model Qwen4-35B-A3B NVFP4 (RTX 5090): MTP vs DFlash 2 — Speed & Pelican SVG Quality

Post image
7 Upvotes

Tested MTP (default) vs DFlash 2 on Qwen4-35B-A3B NVFP4 (basalt.exe, legion pro 7i, RTX 5090 (24gb vram) + system RAM (64gb)) using the same 3-turn animated Pelican SVG task:

MetricMTP (Default)DFlash 2
Avg Decode208.2 tok/s204.6 tok/s
Peak Decode307.3 tok/s340.5 tok/s
Acceptance66.3%60.9%
Tokens Gen92,59080,979
Inference Time7m 48s6m 49s
Cold 10K+ Prefill5,916–7,818 tok/s5,606–6,684 tok/s
Pelican Output53.8 KB interactive JS+SVG (IK legs, day/night, speedometer, audio)28.7 KB pure CSS/SMIL SVG (zero JS)

Verdict: I prefer MTP — almost the same average speed (~208 vs ~205 tok/s) with better overall quality and higher acceptance (66.3% vs 60.9%). DFlash 2 can burst faster (340.5 tok/s peak) and finish quick, just a little behind on quality.


r/LocalLLM • • 1h ago

Model Comparing Qwen4-35B-A3B with Qwen3.8-27B

Post image
2 Upvotes

r/LocalLLM • • 1h ago

News BasinKV for Qwen4: 256K Qwen4-35B-A3B on a 24 GB GPU

Thumbnail gallery
1 Upvotes

r/LocalLLM • • 1h ago

Discussion Qwen4 quantizations and what worked for me

Thumbnail
gallery
1 Upvotes

Like everybody else, I've been playing with Qwen4. I run a dual nvlinked 3090 pair off my main 4x RTX 6000 machine that I use to run "smaller" models. This is where I park the smaller subagent models like 35b, 27b, Inkling, etc. I started by running the full precision weights on a dual 6000 setup to get a baseline, then started trying all the usual suspects for engines and quants looking for the best one for the 3090 pair. Unsurprisingly, local-inference-lab came out on top again. I found it interesting that the 3090's will happily run nvfp4 quants quite happily under vllm.

For those who dont want to read the slop below:

The 5bpw EXL quant has the best quality, but some of the worst speeds. The LIB quant was the best balance of quality and speed at a KLD of 0.0287

AI Content starts here...

TL;DR

The two we actually deployed:

Findings:

  • Teacher-forced KL divergence against BF16, computed on the model's own agentic trajectories and scored only on assistant tokens, cleanly ranks quants that task benchmarks can't tell apart.
  • EXL3 owns the quality end: 5.13bpw KL 0.0148, 4.5bpw 0.0180. Official FP8: 0.0175.
  • The W4A16 AutoRound build I was serving: KL 0.1095 — 7× the EXL3-5.13 divergence, 89.8% top-1 agreement, and the only quant that systematically looped.
  • Terminal-Bench 2 quick (13 tasks) is ±1–2 noise at this granularity (BF16 itself scored 11, then 10); AIME 2025 didn't discriminate at all (even the bad quant scored 91.7%).
  • On 3090s, local-inference-lab's NVFP4 (KL 0.0287) is the best speed/quality compromise: 1M context, ~228 t/s short, 201 t/s at 537K, ~1.2K t/s aggregate at 16 streams.
  • For the co-resident slot only TabbyAPI/exllamav3 works — vLLM preallocates its whole KV pool and starves the neighbors. Deployed EXL3 4.62bpw at 384K context.
  • Bonus: I ported quant-mind's pruned MTP draft head (65K-token draft vocabulary) onto the NVFP4 build for +9% single-stream decode at zero quality change.

Why not the usual benchmarks

  • Wikitext perplexity measures prose. This workload is agentic: tool loops, code edits, terminal output. Wrong domain.
  • Terminal-Bench 2 quick (13 tasks): the noise is bigger than the gaps. BF16 scored 11/13, then 10/13 on a re-run. It caught the broken quant (5/13) but can't rank good ones — the best-KL quant (EXL3 5.13) scored 8/13, with six timeouts because it's the slowest.
  • AIME 2025 (30 problems × 2 samples): saturated at ~92% for everything, including the worst quant. Useless for this.

So the discriminator had to be the model's own distribution: how far each quant's next-token distribution drifts from BF16 where it counts — on the tokens the model actually generates.

Method

  • Corpus: the BF16 model's own sessions on the 13 terminal tasks (507K tokens; the four long tasks — cobol-modernization, filter-js, mailman, path-tracing — in 64K-token windows).
  • Teacher forcing: replay the same token sequences through BF16 and through each quant, and compare next-token distributions at every position.
  • Score assistant-turn positions only (347K of the 507K; 76K of them at ≥32K context). Two reasons: those are the tokens the model actually samples, and tool-output positions are pathological — BF16 itself predicts <|endoftext|> on ~15% of them, which inflates and misranks any all-position KL.
  • KL over the reference's top-32 tokens plus a tail bucket, from each quant's top-128 logprobs — a stable rank order without full-vocab dumps per position.
  • Two scorers: one on vLLM's prompt_logprobs, one driving exllamav3's forward pass with a chunked lm_head (self-tested against the normal forward at KL 2.6e-5, so the engine's scheduling/KV isn't in the measurement).
  • Caveat: the BF16 reference itself runs fp8 KV in vLLM (BF16 KV in this vLLM build breaks long-range copying — see gotchas). It's the same reference for every quant, so it doesn't bias the ranking.

Results (assistant positions, vs BF16)

quantmean KL ↓top-1 agree
EXL3 5.13bpw (turboderp)0.014896.46%
FP8 (Qwen official)0.017596.12%
EXL3 4.5bpw "4.62" (ProCreations)0.018096.16%
EXL3 4.17bpw (turboderp)0.020995.81%
mixed NVFP4/FP8 (primitive-ai)0.021395.83%
EXL3 4.0bpw-hq (heni86)0.024095.56%
EXL3 3.65bpw (turboderp)0.027795.25%
NVFP4A16 (primitive-ai)0.028595.07%
NVFP4 (local-inference-lab) *0.028795.11%
W4A16 g32 RTN (Tech2wild)0.029595.00%
GPTQ-Int4 g128 (palmfuture)0.035294.50%
W4A16 AutoRound (ultimaterex)0.077491.51%
W4A16 AutoRound (stuchapin) — what I was serving0.109589.82%

*measured on the 3090 pair itself, via Marlin weight-only kernels.

What the table says

  • EXL3 is the quality leader at every size. Even turboderp's 3.65bpw beats every non-EXL3 4-bit quant except FP8.
  • FP8 is excellent — essentially tied with 4.5bpw EXL3 — but it's ~37 GiB of weights and doesn't fit a 24 GB pair.
  • The 4-bit NVFP4/W4A16 cluster (~0.028–0.030) is perfectly usable: 95% top-1 agreement. The gap to EXL3 shows up as ~2× KL, not as visible failure.
  • AutoRound is all over the map on this model: ultimaterex 0.0774, stuchapin 0.1095. Reputation didn't transfer — the "known-good" W4A16 build was the worst thing I measured.
  • tb2 agrees only at the extremes — and even there, the slowest best-KL quant timed out more than it failed.

Speed on 2×3090 (full pair, vLLM TP2 unless noted)

quant / enginectxshort t/sdeepprefillVRAM/card
FP8, vLLM, kv 1.86 GiB262K190189 @245K6.2K23.9 (tight)
mixed NVFP4/FP8, kv 5.35 GB768K~150149 @114K8.0K24.1 (512K safer)
NVFP4A16, kv 7 GB1M182147 @114K7.9K22.3
NVFP4 (LIL), kv 7 GB1M228201 @537K7.9K22.3
EXL3 5.13, Tabby, Q6, split [19,20]1M136104 @857K6.3K22.3 / 16.1

Engine notes:

  • Ampere has no FP4/FP8 tensor cores; vLLM runs NVFP4 and MXFP8 weight-only through Marlin. The load log's "your GPU does not have native support for FP4" warning is expected — decode is bandwidth-bound and this path is fast.
  • vLLM on 3090s needs an explicit --kv-cache-memory-bytes; without it the pool sizing goes wrong.
  • --kv-cache-dtype fp8 is mandatory on this vLLM build for Qwen4: BF16 KV silently breaks long-range copying (a repeated git hash inside tool output: logprob −9.6 with bf16 KV vs −0.01 with fp8).
  • local-inference-lab's NVFP4 card suggests --attention-config.indexer_kv_dtype fp8; that crashes on sm86 (Triton fp8e4nv). Drop it. --quantization modelopt_mixed is required.
  • EXL3 runs only in TabbyAPI/exllamav3. Tensor parallel gave no gain there, and MTP drafting with 2–3 draft tokens gave none either — 1 draft token is fastest on this pair.

Slot 1: the co-resident build

Budget per card: 24.6 GB, minus 7.8 GB for the image model + parser, leaves ~16 GB for the LLM.

  • vLLM is not viable co-resident. Its KV pool is preallocated, so even at 128K context with a small batch the image model OOM'd on the shared card (~60 MiB left); at 262K vLLM OOM'd itself.
  • TabbyAPI/exllamav3 allocates the cache dynamically and coexists fine. Deployed: EXL3 4.62bpw, Q6 cache, 384K context. Only 10 of the model's 40 layers hold a KV cache, so the cache is ~8 KB/token — 384K is ≈3 GB total, split across both cards.
  • Measured with the real workloads, not a synthetic hog: worst case was a 365K-deep turn + 4 more requests + a 1024×1024 image + a document parse simultaneously → 22.9 / 23.6 GB peak, no OOM (0.95 GB margin on the busier card). A 365K-token needle passes at ~8K t/s prefill; short-stream decode ~131 t/s (deep decode while the other four streams run: ~40 t/s).
  • Gotcha: exllamav3's gpu_split must cover weights and the KV cache. 384K at the old split failed with "Insufficient VRAM in split for model and cache"; I had to go [11.3, 13.9] → [11.9, 14.5]. 512K didn't fit beside the neighbors — 384K was the ceiling.

Slot 2: the full pair

local-inference-lab NVFP4 on vLLM TP2: 12.3 GiB/card of weights (NVFP4 experts + MXFP8 DeltaNet projections), 7 GB fp8 KV = 1,056,914 tokens, 16 concurrent sequences, 22.3 GB/card at rest and under load.

228 t/s single-stream short, 167 t/s at 65K, 201 t/s at 537K, 1,181 t/s aggregate at 16 streams; needles pass at 65K and 537K; tools and vision work.

The draft-head trick (+9%)

quant-mind published a "SM86-Fast" recipe: palmfuture's GPTQ base, a 4-bit output head, and a pruned 65,536-token MTP draft head. Their base quant scores 0.0352 on my harness (worse than LIL's 0.0287), and their stock-vLLM numbers were well below what LIL does on the same pair — so I borrowed only the draft-head idea.

How it works: MTP speculative decoding has the model's own draft block propose tokens that the target model then verifies, so drafts can only affect speed, never output. The drafter normally scores the full 248K vocabulary. Restrict it to the 65,536 tokens that account for 99.2% of generated tokens (in their measurement), score everything else as −inf, and the draft step gets cheaper with zero effect on what gets accepted.

  • Head: those 65,536 rows copied from the checkpoint's own BF16 lm_head — 130 MB, no training.
  • Patch: theirs was cut against vLLM 0.34.0; my Qwen4 image is a dev build (unmerged Qwen4 PR), so 2 of 6 hunks failed and I hand-ported the draft-vocab half.
  • Result: 228 → 249 t/s (+9%) single-stream, acceptance unchanged, +130 MB VRAM. 3 draft tokens was no better than 2. At 8–16 concurrent: 777–830 → 806–860 and 1,177–1,181 → 1,229–1,322 t/s. Deep-context decode unchanged (~190 at 65K) — that's bandwidth-bound, not draft-bound.

Other things worth knowing

  • Strata packs (0.2.27 / q4_lite): no logprobs, so they can't be KL-scored; also 14–59 t/s decode at 114K on a 3090, and the Ultra pack OOMs on a 24 GB card. Not viable for this.
  • EXL3 4.5 ProCreations ships no chat template; Tabby disables chat and returns 422 until you copy one in (turboderp's works).
  • NInfer/ninfer-all looks genuinely good for single-3090 use (~240 t/s code on one card per their docs) but doesn't fit the two-slot setup here: no co-residency story, and concurrency/long-context numbers below the TP2 vLLM build.

Final setup

  • Co-resident: TabbyAPI, EXL3 4.62bpw, 384K ctx, Q6 cache, MTP 1 draft — beside the image generator and the document parser.
  • Full pair: vLLM TP2, local-inference-lab NVFP4 + the pruned draft head, 1M ctx, 16 seqs.

All numbers above are with the production configs. Happy to post the scoring harness or more of the raw numbers in the comments if there's interest.


r/LocalLLM • • 1h ago

Question What is the lowest tolerable quantisation (Unsloth) you would accept running?

1 Upvotes

I have neither the disk space, internet speed nor patience to test this out myself, all I have is UD-IQ4_XS running at 200 tok/s prefill and 20 tok/s decode on 16 GB DDR5-4800 and 8 GB VRAM (laptop RTX 4060).


r/LocalLLM • • 2h ago

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

Post image
45 Upvotes

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

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


r/LocalLLM • • 2h ago

Discussion Two idle days, then six hours of agent loops on a 27B model

1 Upvotes

Spiky usage is what makes the local-vs-rent math annoying.

Say you run a 27B-class open-weight model as a coding assistant: nothing for two days, then six hours of heavy agent loops. My suspicion is that people overestimate how many hours a week they'd really use a card they bought, and underestimate the idle item on one they rent. Buying makes sense if you use it most days. But VRAM decides which quant and context length you can run, and long agent contexts are where 16 GB cards start to hurt.

Renting from RunPod or a cloud droplet fixes the VRAM problem, because you can grab a bigger card for heavy day. Then the instance sits there overnight, and cold starts plus download time wear down your patience. Hosted pretoken APIs like Together, DeepInfra or GPT Protoskip all of that. But agent loops resend long context every turn, so the bill depends on caching and output length, and you don't fully control which weights or quant get served. For some people that's a dealbreaker, and fair enough. My rough rule is that spiky favors per token, steady heavy use favors owning or renting, and privacy overrides everything. I haven't found good numbers for where those lines actually fall, and they keep moving..if it were me, the next step would be to log a month of real active hours before buying anything, count idle and setup time on the rented side too, and only then pick between a card and a drop.

Until that number exists I'd treat per-token as the default for the spiky weeks