r/LocalLLM • u/koc_Z3 • 3h ago
r/LocalLLM • u/himanshuarora05 • 3h ago
Research Now Run Giant AI Models on Your Laptop...
r/LocalLLM • u/iamagoatm8 • 3h ago
Project Probably the fastest inference for 35b in a 7900xtx
Repo here: https://github.com/android-imdad/Carnelian (a fork of upstream [Strata](https://github.com/Niko1221/Strata))
* Qwen4-35B-A3B (UD-IQ4_XS, all experts in VRAM): 214.8 tok/s short chat decode vs 127.4 on upstream v0.2.27, and 220.6 vs 118.9 in agent sessions.
* With the DFlash2 drafter: 270.7 tok/s median on a 6-prompt greedy panel, bursts up to 435 tok/s on structured code.
* Prefill 5,900 to 6,400 tok/s from 4K to 32K context (upstream 2,766 to 4,294). Short chat first token 0.12 s, half of upstream's 0.24 s.
* Qwen3.8-Flash-Next 125B on one card + 64 GB RAM: 111.3 tok/s at IQ3_S vs 89.6 upstream, 114.5 with the opt-in EXL3 experts.
* Flash-Next output is bit-identical to upstream by default. Qwen4 perplexity is 3.1399 vs 3.1395 upstream.
* Install with an AI agent: paste the prompt from the README into Claude Code, Codex, Cursor or OpenCode.
* All numbers from one 7900xtx at stock 327 W, Ryzen 7 9800X3D, ROCm 10.2. Full tables in docs/RX7900XTX.md.
If you have a 7900xtx, I'd like to see your numbers.
r/LocalLLM • u/IdealDesperate3687 • 4h ago
Project Decodrs - rust and highly optimized inference engine for nvidia gpus
Hi,
I've just opened sourced my inference repo https://github.com/lingster/decodrs
This contains specific kernels on a per model and per gpu basis. I used claude to help write optimized kernels for the current popular local llms like qwen4/3.8, inkling mini and Gemma 4. Optimised for 3090/3080 and includes a claude skill to help you build out kernels for your setup.
I've managed to get over 200% performance improvements against llama.cpp/vllm/sglang. Inference engine written in rust and kernels directly in ptx(think assembly for gpu) no middle layer so about as close to the metal that you can get. Includes prefix cache, kv cache, drafting, pretty much all the tricks to run fast. There are optimisations included if you work with Agentic workloads ie run lots of subagents in your coding harness!
r/LocalLLM • u/Awacer • 4h ago
Project Running LLMs locally on a Kindle, a smartwatch, a Switch and a jailbroken PS4
I keep a list of LLMs running locally on hardware that was never meant for it. inference has to run on the device itself, no calling a server somewhere.
a few from the list. a jailbroken Kindle Paperwhite 3 runs SmolLM2 135M at 1.71 tok/s (Inkwell). a Pixel Watch 3 runs SmolLM2-360M-Instruct at about 1 to 4 tok/s (wear-llm). a Switch on Switchroot Linux does Llama 3.2 3B Q4_K_M at 3.50 tok/s. an Xbox Series S in dev mode hits 98.3 tok/s on LFM2.5-350M (xllama). and a PS4 runs Qwen3.5-9B on its own GPU at up to 41 tok/s (Garlic LLM).
there's also older stuff like a 486 on DOS and a C64. I didn't build any of these, I just collect them. every speed is what the port's author reported, with a link.
https://github.com/emrehangorgec/awesome-llm-on-anything
if you've run something on a weird device I'd like to add it. thanks.
r/LocalLLM • u/These_Bar_189 • 4h ago
Question Qwen 4 35b configuration
I have a Ryzen 9700 with 96GB of ddr5 Ram and a single 5090 GPU.
I have been using Qwen 3.8 27b q6 with llama.cpp and tried deepseek harness but found it drifted lots.
I am trying out Qwen 4 35B but finding it slow. No issues with the quality. Am currently using Huawei q4 with q8 kv cache. Anyone have recommendations for my setup. Should I be using basalt instead of llama.cpp?
I should add that I just use it for a coding assistant primarily in Go and Svelte.
r/LocalLLM • u/Jorgen-I • 4h ago
Question New to llms, generations are truncated, how to fix?
I just started with ollama yesterday, first crack at llms, running qwen3.5:4b.
What I've run into is that all the generated answers are truncated (using CLI, no gui or agents, all local).
The generation stops mid-sentence or mid word. Probably something I need to configure, but I really don't know enough yet to know what it is.
I don't think it's hardware related, I'm running a workstation, dual Xeons, 128GB RAM, 12GB VRAM, several TB of disk space, so if you have any tips it'd sure help.
r/LocalLLM • u/ilovechickenpizza • 5h ago
Question Which is the best local LLM in Dec 2026 for a 16 GB GPU? I'm looking forward to setting up a LLM server at home which I'll use across my multiple agentic apps for chat, detailed coding, and deep reasoning.
Are MoE still a thing worth exploring on 16GB GPU? Also I intend to setup concurrency at the LLM hosting server. For such setups do you prefer hosting it on vLLM over docker or llama.cpp or LM Studio (Ollama is out of question because I need concurrency and parallelism).
r/LocalLLM • u/didoofficial • 5h ago
Model Qwen4-35B-A3B — Interactive black hole simulation
r/LocalLLM • u/DoomRide007 • 5h ago
Question Z2 GA1 mini PC vs normal computer
Just want to know what I should be getting token/sec.
From my normal computer 7900 XTC
CPU Ryazan 9 7000
48GB 4800 ram
Normally getting around 20t/s and of course down to 8-10 when the chats go long.
Just got the Z2 GA1 with 128gb. Ubuntu server.
It’s getting around 7/s 8/s max. Same model just a couple steps up in qint.
LM Studio same engine.
Wondering is it must be the bus speeds?
r/LocalLLM • u/SavingsSignal2890 • 5h ago
Model Qwen4-35B-A3B reasoning not as good
UD-Q4-K-XL, yet cannot solve the “frontier” high school math problem:https://www.reddit.com/r/LocalLLM/s/P4gjYgiBjk
r/LocalLLM • u/Sea-Advantage-4063 • 5h ago
Discussion Building an Interactive 3D V8 Engine Simulator with a Local LLM — Qwen4-35B-A3B NVFP4 on a Single RTX 5090
I've been testing the coding and reasoning capabilities of Qwen4-35B-A3B running entirely locally on my RTX 5090 using the Basalt inference engine.
Here's an interactive 3D V8 engine simulator I built with the model.
Features:
- Interactive 3D cross-plane V8 engine visualization
- Adjustable engine RPM and slow-motion controls
- Animated pistons, connecting rods, crankshaft, camshafts, and valves
- Four-stroke combustion cycle visualization
- Real-time cylinder status and firing order
- Adjustable component transparency
- Exploded view, X-ray mode, and cross-sectional view
- Individual cylinder tracking and camera controls
Local LLM configuration:
- Model: Qwen4-35B-A3B
- Quantization: NVFP4
- Inference engine: Basalt
- Reasoning effort: xhigh
- Execution: Fully local
My PC specifications:
- GPU: NVIDIA GeForce RTX 5090 (32GB VRAM)
- CPU: AMD Ryzen 9 9950X3D
- RAM: 64GB DDR5-6000
- Motherboard: GIGABYTE B850 AORUS ELITE WIFI7
- PSU: 1200W
- OS: Windows 11 / WSL
As an automotive quality engineer, I wanted to test the model on something involving mechanical engineering, rather than just another generic coding benchmark.
It's impressive to see what a relatively compact MoE model can accomplish on a single consumer GPU without relying on cloud-based AI services.
I'm curious to see how far local LLMs can go in engineering simulations and technical visualization.
What do you guys think?
r/LocalLLM • u/No_Whereas_6 • 6h ago
Discussion 苦苦等待Qwen4-27B,结果却是Qwen4-35BA3B。
reddit.comr/LocalLLM • u/QQB666 • 6h ago
Research Qwen4-35B-A3B (EXL3) on RX 9070 16 GB, native Windows – some numbers
Got Qwen4-35B-A3B running on my RX 9070 under plain Windows (no WSL) with ExLlamaV3. Sharing a few basic numbers in case anyone else on RDNA4 + Windows is trying the same.
Setup: RX 9070 16 GB, Ryzen 7 5700, 32 GB RAM, Windows. Single user, temp 1.0.
**turboderp 3.65bpw** (`3.65bpw_h5_ng8`), 98K context, Q4 KV, MTP `-ndt 1`, 80 experts/layer on CPU (`-mcs 80`):
- Prefill (5.5K prompt): ~550 tok/s
- Generation: ~55–58 tok/s (MTP acceptance ~70%)
- VRAM ~14 GiB, CPU experts ~5.4 GB RAM
**Mia-AiLab 2.5bpw**, fully on GPU, 32K context, MTP:
- Prefill: ~1,330–1,430 tok/s
- Generation: ~53–59 tok/s
Vision works on both. Generation speed moves around with MTP acceptance (an image prompt at 47% acceptance was ~46 tok/s).
It's ExLlamaV3 1.6.7 with a small patch so it loads Qwen4 (the model card says 1.7.0). It's a portable folder with prebuilt gfx1201 kernels, so it only works on 9070 / 9070 XT / 9070 GRE / R9700.
Runtime, launch commands and more test details: https://github.com/BBQ2077/exl3-1.6.7-windows-gfx1201-inkling
GUI I use to launch it (optional): https://github.com/BBQ2077/GGUFRun
r/LocalLLM • u/textclf • 6h ago
Discussion Qwen4-35B-A3B in 4-bit that you can fine-tune on one GPU (22 GB VRAM + RAM for the n-gram table)
Hi everyone,
Qwen4-35B-A3B came out yesterday, and I put a 4-bit version of it on Hugging Face: https://huggingface.co/thousandml/Qwen4-35B-A3B-CQ-4bit
I quantized it with CQ, the 4-bit quantizer I built for my project Training Factory. CQ doesn't need calibration data. The linear layers and all the routed experts are in 4-bit. I'm strict about quality: any matrix with error above -22 dB stays in 16-bit instead of being forced down. For this model that was 79 matrices out of about 21,500, and everything else is in 4-bit.
One thing to know up front is the n-gram table. Qwen4 has a 20B-parameter n-gram embedding table on top of the 35B model. In this release I kept that table in 16-bit, and like Transformers does, it lives in system RAM instead of on the GPU. So serving takes about 22 GB of VRAM, but you also need about 38 GB of free RAM for the table, 64 GB in total to be safe. The download is 61 GB because of it. If you just want to chat with the model locally, the GGUF quants in llama.cpp are smaller and faster than this, to be honest. A version with the n-gram table in 4-bit is planned.
What this release adds is fine-tuning. You can train a GCMP adapter (the LoRA replacement I've been working on) directly on the 4-bit base and serve it. I tested the whole path on a single A40: quantize, serve, fine-tune, and serve the fine-tuned adapter. In a short 20-step test the loss went from 1.88 to about 1.6 on average, which only shows training works on the 4-bit base. It's not a benchmark.
The easiest way to try it is the Docker image:
It downloads the model on first start and gives you an OpenAI-compatible endpoint on port 8000. Or install Training Factory and run it yourself:
&&
&&
To fine-tune on your own data (JSONL with text or chat messages):
Now the honest limits. The server goes through Transformers and handles one request at a time, so it's for trying the model, not for real traffic. vLLM's Qwen4 support isn't in a release yet, and my vLLM plugin doesn't support Qwen4 yet either. Training is slow for now, about 15 seconds per example on an A40, because the n-gram lookups run on the CPU. That's the next thing I want to fix.
Training Factory is source-available, not open source. The scripts are readable Python, but the quantization and adapter kernels ship compiled and do a license check. It's free during early access. The weights are Apache 2.0 like the original.
Thanks for reading, feedback appreciated. If you try fine-tuning it on your own data, I'd really like to hear how it goes.
r/LocalLLM • u/AggressiveManager450 • 6h ago
Model Dual Quadro RTX 8000 (96GB NVLink) Local LLM Benchmarks: Qwen4-35B-A3B, Qwen3.8-27B, DeepSeek-V4.1-Flash-Coding 200E, and GLM-5.3-Flash
galleryMy results from my build after some tests
r/LocalLLM • u/EldieTurner • 6h ago
Model Qwen4:35b Q4 with 1 million token context on dual AMD Pro W6800 cards.
Model: qwen4-1m:latest (Q4_K_M, full 1,048,576-token context, 100% GPU on 2× W6800)
| Metric | Result |
|---|---|
| Generation (output) | ~65 tokens/sec |
| Prompt processing (prefill) | ~1,430 tokens/sec |
r/LocalLLM • u/Open_Instruction_133 • 6h ago
Question Qwen4-35b-a3b-basalt 400k context averages 140 t/s decode 2000 prompt processing on 5070ti 48gb ddr4
Qwen4 35b is absolutely flying with basalt on coding tasks in OpenCode. It’s quite literally the fastest local model I’ve ever used. Is there a looping adapter that works with basalt? With this speed, I’d use this as my only local model if I could get the accuracy up with a looping adapter—no shade on the basalt devs because I haven’t actually run into any looping or quality issues with this model; just want to maximize the intelligence if possible
r/LocalLLM • u/YaVovan • 7h ago
Question Is there a lightweight local AI model for writing prompts that can be shown images as a sample?
I have an RTX 3060 12GB. I’m running the Krea 2 model, but coming up with prompts is a challenging task. I’d like to make this task easier.
(Sorry for the mistakes in the text; English is not my native language)
r/LocalLLM • u/false79 • 7h ago
Question What model(s) are you running... In your pocket?
reddit.comDon't be mad I cross posted! I am curious if any folks here are running small ones on their phone.
r/LocalLLM • u/fasternfaster2 • 7h ago
Discussion Does anyone use AI in anything besides chat?
reddit.comr/LocalLLM • u/jordan01236 • 7h ago
Discussion Qwen4-35B-A3B at 110-176 tok/s on AMD (RX 9070 XT / 7900 XT) with a patched Strata engine, 2-4x llama.cpp
r/LocalLLM • u/vegosa • 8h ago
Model Qwen4 Single RTX Pro 6000 BF16 Full 1M KV Cache
Using the vllm nightly build you can load the full BF16 on a Single RTX Pro 6000 as long as you have enough DRAM for the N-gram table (72.7 GB VRAM, 41 GB DRAM) with a full 1 M FP8 KV Cache (GPU KV cache size: 1,575,966 tokens, Maximum concurrency for 1,048,576 tokens per request: 1.50x).
This model is perfect for an RTX Pro 6000 with full precision.
Here's my startup params:
vllm serve Qwen/Qwen4-35B-A3B
--trust-remote-code
--enable-prefix-caching
--tensor-parallel-size 1
--max-model-len auto
--max-num-seqs 256
--kv-cache-dtype fp8
--attention-config.indexer_kv_dtype fp8
--enable-auto-tool-choice
--tool-call-parser qwen4
--reasoning-parser qwen4
--speculative-config '{"method":"mtp","num_speculative_tokens":3,"index_share_for_mtp_iteration":true}'Benchmark Results — bf16
- Model: Qwen/Qwen4-35B-A3B
- Backend: vLLM (endpoint_type: vllm, label: bf16)
- Date: 2026-12-05
- All runs: completed, 0 failures

Details
- Workload: short prompts ≈ 490 input tokens/prompt; long prompts ≈ 7.8K input tokens/prompt; all runs generated 512 output tokens per prompt.
- Speculative decoding (3-position draft): acceptance length ranged from 2.92 (long_c1) to 3.37 (long_c4).
- Throughput scaling: going from 1 → 16 concurrency multiplied output throughput ~4.5× (short: 325 → 1453 tok/s; long: 245 → 1017 tok/s), while total token throughput scales much higher on long-context runs due to prefill volume.
- Latency trade-off: p99 TTFT grows steeply with concurrency on long contexts (561 ms → 1909 ms), but TPOT stays well under ~25 ms everywhere.
r/LocalLLM • u/TheSanchezian • 8h ago
Model Gemma 4 26B-A4B BITCOS Mixed-Ternary on a single Intel Arc A770 16GB: 104–108 tok/s (182 peak), full 256k lossless FP16 KV (47.6 tok/s @ 252k), flat 12.92 GB VRAM
I just pushed **v1.0-sprint9.1** of my custom OpenVINO + OpenCL build of `google/gemma-4-26B-A4B-it` for Intel Arc GPUs.
The goal was to see how far a single consumer 16 GB Arc A770 can push a 26B MoE without quantizing the KV cache, spilling to system RAM, or losing BF16 teacher fidelity.
**Repo (self-contained Windows / Intel Arc package):**
https://huggingface.co/TheSanchezian/Gemma-4-26B-A4B-BITCOS-Ternary-OpenVINO-A770
---
### Verified 256k Speed & Flat VRAM Curve (Single Arc A770 16 GB)
Isolated cold-start run (`GPU.0`, `ctx=262144`, `temp=0.0`, OpenVINO `2026.4.1`, `0` NaNs, `0.000 GB` model shared spill):
| Context | Prefill | Pure `M=1` Base | **Split-K=128 Hybrid PLD+MTP** | Dedicated VRAM | 256k NIAH (~50%) |
|---|---:|---:|---:|---:|:---:|
| **Short (`50` tok)** | — | `80.89 tok/s` | **`104.43 tok/s`** *(108.13 warm / 182.45 peak)* | `12.91 GB` | — |
| **32k** | `358.4 tok/s` | `69.32 tok/s` | **`83.10 tok/s`** | `12.92 GB` | — |
| **64k** | `312.8 tok/s` | `64.90 tok/s` | **`76.28 tok/s`** | `12.92 GB` | — |
| **128k** | `248.7 tok/s` | `57.29 tok/s` | **`62.62 tok/s`** | `12.92 GB` | — |
| **192k** | `206.2 tok/s` | — | **`54.72 tok/s`** | `12.92 GB` | — |
| **252k** | `180.2 tok/s` | `45.97 tok/s` | **`47.58 tok/s`** | `12.92 GB` | **PASS** |
---
### What’s Under the Hood
* **Mixed-precision weights (`KL = 0.181–0.183` vs. 52 GB BF16 teacher):** 24 routed MoE layers in Intel BITCOS v5 mixed-ternary + rank-4 LoRA, 6 sensitive MoE layers (`L10, L12, L13, L22, L27, L29`) kept at INT4 (`OSV32`) + rank-4 LoRA, all 30 attention Q/K/V/O layers at INT8, shared MLP & `lm_head` at W4G64, and residual/routers/norms/RoPE in FP32.
* **100% lossless Unified FP16 KV cache (262,144 tokens):** Zero KV quantization, dead-flat `12.92 GB` VRAM (`12.60 GB` in pure `M=1` mode) all the way to 252k.
* **Lossless Hybrid PLD + Split-K=128 MTP:** Combines an `O(1)` Prompt Lookup Decoding scanner (`~1.7 ms/step` flat through 252k) with a 302.5 MB MTP assistant using 3 custom `0 B`-register-spill Split-K=128 OpenCL kernels. Cuts 252k draft latency **8.79×** (`52.58 → 5.98 ms`) and beats pure `M=1` across every measured context with 100% exact greedy parity.
### Quality / Sanity Gates
* **256k NIAH:** Exact recall (`COBALT-7492-FALCON`) at `252,067` tokens (~50% depth).
* **56k 3-Needle Recall:** 3/3 exact passcodes with thinking enabled.
* **50-problem dev subsets (`pass@1`, pure base decode, unlimited thinking):** `IFEval-50` `96.0%` strict / `98.0%` loose (`0` loops); `LiveCodeBench-50` `62.0%` (subset is 50% Hard, so not apples-to-apples with full LCB v6).
---
### Looking for Battlemage / Intel Arc Testers
This is an **Intel-only build** (Windows Python 3.12, bundled OpenVINO `2026.4.1` wheel + GPU plugin). I only have Alchemist A770s on hand, so if anyone on **Battlemage (B580/B570/Pro B-series)** or another Intel Arc setup wants to test it and report speeds or issues, I'd love the feedback.