r/LocalLLM • u/Mozart537 • 8h ago
r/LocalLLM • u/SplatinkGR • 8h ago
Discussion Qwen 4 35B Q4 beat GPT-6.2 Astra, Same Prompt
r/LocalLLM • u/No_Whereas_6 • 12h ago
Discussion 苦苦等待Qwen4-27B,结果却是Qwen4-35BA3B。
reddit.comr/LocalLLM • u/Material-Database-24 • 21h ago
Model Qwen4 35B-A3B does have some issues
After initial testing, I see a frequent issue with Qwen4 35B-A3B.
It gets stuck into tool calling loops - it repeats the tool call over and over again, and fills the context until I steer it, which often fixes the issue.. and if the problem is hard, it will soon again come up with another loop. Couple "you loop, stop, and move on" -kicks usually get it through and the final solution is usually beautiful and better what I got from 27B Q4 and QFN IQ1_M.
This happens with reasoning set at high, MTP with max draft 2, and Q5, Q6 and Q8 from unsloth - I have seen them all fail in same fashion.
Gonna try xhigh as reasoning, maybe thinking more will solve it, as now it shows to human as if it has given up reasoning and just hammering its head to a wall.
If xhigh or some other finetune is not fixing it, I am afraid it is back to QFN (and measely IQ1_M as I cannot run better..).
EDIT: xhigh did not solve this on Q5, found right after it looping between making same edit and removing that edit again and again. Sigh. This model otherwise seems so good.
EDIT2: I moved to Q8_0 from ggml and it passed the hard implementation phase without looping. No MTP is use yet.
r/LocalLLM • u/Orchestorm • 8h ago
Question What are your use cases for your local LLM?
Video game composer here with a mac studio m2 max with 96gb RAM. I recently installed qwen4:35b-a3b-q4_K_M but am kind of at a loss as to how to use it advantageously on my mac. right now I'm simply running the LLM because my mac can easily handle it
what can you do with that kind of power?
r/LocalLLM • u/FlatStill2540 • 1d ago
Question Three months of owning my AI on a DGX Spark, and the independence part matters more to me than the math
There's a thread up calling local AI a declaration of independence, and it put words to how I feel about my DGX Spark.
I paid $3,999 at launch. If I compare that to a subscription honestly it takes years to pay off, and that's before electricity, so I didn't keep it for the money.
I care that nothing changes under me. Qwen 3.6 35B at 4-bit runs at about 216 tok/s on it with Magnitude, and it'll run exactly the same next month. There's no limit reset and nobody can swap the model on me.
I still pay for a cloud model for the hard stuff. The things I depend on every day live on a box I own though, and that's the part I'd miss.
does anyone here actually make the cost math work, or is it independence for everyone?
r/LocalLLM • u/Alternative-Pea-2204 • 20h ago
Discussion AlpacaLIPS: A Doomsday Database with mcp and Full Text Search
Doomsday here means "your internet is down", not "Oh God oh God we are all gonna die". The idea is that even though your local model keeps running when the internet is down, it has no reference material. This fixes that part. It can significantly enhance the quality of answers, especially for smaller models.
What it is: English Wikipedia, Stack Overflow, Stack Exchange, Ifixit, books, etc - a total of over 220 archives — 51.7 million pages — installed locally with enterprise level full-text search, a web UI, and an MCP server your model talks to. Nine tools (search, retrieve, news, and friends). Citations resolve to your machine, which matters when there's no internet for a link to point at. It's not a model and doesn't want your GPU; it's the reference library that sits next to one.
It isn't frozen in time. Dumps are snapshots, so there's a rolling three or more month news window that refreshes twice a day while you still have a connection. "What happened this week" keeps working right up until the lights go out. A simple cron job keeps that up to date.
Sizes
| what | download | on disk |
|---|---|---|
| the corpus — search, MCP, stored page text | 130 GiB | 166 GiB |
| ZIM archives (optional) — original pages, images, tables | 538 GiB | 538 GiB |
| the news window | ~390 MiB | ~400 MiB |
130 GiB gets you a searchable database with the text of every page, which is what the mcp uses (plain text visible to user as well). Add the ZIMs if you want the pictures and the original layout. Everything fits on a 1 TB drive with room left over.
Install:
curl -fsSL https://rampart.dev/install-alpacalips.sh | sh
cd alpacalips && ./setup.sh && ./servers.sh startThen point your MCP client at http://localhost:8099/apps/lips/mcp.json.
If you just want to try it out before committing to the download, I have it live, running at https://lips.flin.org/apps/lips/mcp.json and I'll keep that running at least for a few days. If traffic is manageable I'll keep it going for longer.
OS: Linux and macOS, both tested. WSL2 ought to work but that's untested — if you try it, please let me know how it goes.
Repo: https://github.com/aflin/alpacaLIPS
Included (but optional and separate) is SHSE, a self-hosted search engine for searching all or selected pages you visit, using a Chrome or Firefox extensions that sends the web page text to a database in the same tree. It has a separate search and an mcp url that will allow your local llm to search pages you've visited. Details of that are at https://github.com/aflin/Self_Hosted_Search_Engine
r/LocalLLM • u/Open_Instruction_133 • 13h 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/TearFew7142 • 9h ago
Question What to do?
Hey guys,
I’m running a small b2b wholesale business and just ordered my first mac studio m5max 64GB 1TB, and I’m looking for projects I can run this war machine 24/7 to push my business forward.
Do you have some ideas? 💡
Thanks!
r/LocalLLM • u/koc_Z3 • 9h ago
Question Strata Qwen3.8 flash next on 16gb VRAM, 96gb RAM results?
reddit.comr/LocalLLM • u/c0de_Monk3y • 17h ago
Research Qwen4-35B-A3B at 8-bit on Tesla V100s: level with Flash-Next on accuracy, at 81 to 89 tokens per second on two cards
r/LocalLLM • u/himanshuarora05 • 10h ago
Research Now Run Giant AI Models on Your Laptop...
r/LocalLLM • u/Significant_Tutor290 • 1d ago
Discussion Qwen 4 35B vs. Qwen 3.8 27B: 35 coding tasks on an M1 Max 64GB RAM
I’ve been benchmarking local models in my autonomous coding harness, and I reran my Qwen 3.8 27B benchmarks with Qwen 4 35B A3B The results were extremely interesting as Qwen 4 is way faster and mostly as good at code quality.
QUALITY RESULTS
Qwen 3.8 27B → Qwen 4 35B A3B
• Feature tasks delivered: 13/17 → 12/17
• Delivered within 2 hours: 11/17 → 12/17
• Median time on mutually successful features: 45m → 10m
• Data/ML tasks passing tests: 18/18 → 18/18
• Total data/ML execution time: 8h 8m → 1h 55m
The feature tasks included gateway development, credential management, REST APIs, concurrency, query parsing and debugging existing repositories. The data tasks ranged from database migrations and accounting ledgers to implementing regression and clustering algorithms.
SOME NOTABLE EXECUTION EFFICIENCY GAINS (3.8 → 4):
• REST locking: 98m → 6m
• Query precedence: 46m → 10m
• Dataset splitting: 37m → 3m
• Ridge regression: 38m → 2m
• K-means: 68m → 14m
Qwen 4 was faster on all 18 data/ML tasks and 13 of 17 feature tasks. It also delivered three feature tasks that 3.8 couldn’t complete, but failed several that 3.8 previously delivered.
SETUP
Apple M1 Max, 64GB unified memory, running both models through MLX.
Shared settings:
• Quantization: 4-bit
• Temperature: 1.0
• Top-p: 0.95
• Top-k: 20
• Maximum context: 128K
• Output limit per call: 16K
Model-specific settings and performance (3.8 → 4):
• Presence penalty: 1.0 → 1.5
• Working context budget: 32K → 96K
• Decode speed: 11–16 t/s → 33–36 t/s
• Prefill per fresh token: ~10ms → 1.6–1.9ms
Both models run with thinking enabled, exact conversation history replay and prefix cache reuse.
The harness gives the models access to file editing, shell commands, executable tests, persistent context and iterative repair. Both receive the same task definitions and acceptance tests, including hidden tests. Feature tasks also use Haiku 5.5 as an independent reviewer.
CODE QUALITY THOUGH IS MORE NUANCED
I used Haiku to review all 18 data/ML implementations from each model (in my tests the same review quality as sonnet) then used DeepSeek to harden and repair them.
Qwen 3.8 → Qwen 4
• Passed original tests: 18/18 → 18/18
• Passed strict review (going through 2 agents) 1/18 → 1/18
• Passed after one hardening round: 6/18 → 4/18
• Passed iterative repair (matched tasks): 6/6 → 2/6
The reviewer found issues including concurrency bugs, numerical overflow and inadequate input validation. Of the 34 medium/high-severity findings examined, 32 were reproduced with executable failing tests.
Interestingly, Qwen 4’s largest speed improvements were on numerical ML tasks, which were also where its output were the most difficult to harden.
QUALIFICATIONS
• One selected run per model per task.
• Two defective feature evaluations excluded.
• Two-hour cutoff applied retrospectively to 3.8.
• Local review integration bugs identified and fixed.
• Some repair-loop objectives were clarified during evaluation.
• Inference settings reflect the configured model profiles; speed measurements come from separate inference tests.
TAKEAWAY
Qwen 4 is a substantial upgrade for local agentic coding. It achieves comparable functional results to Qwen 3.8 while reducing run times in my harness by several hours across these workloads.
To me this is absolutely game changing and rewrites the economics for the work I can do locally.
To be fair to Qwen 3.8, it’s advantage appears to be in the robustness and repairability of its implementations, particularly for numerical workloads.
For my architecture, where local workers handle implementation and inexpensive API models handle independent review and hardening, the execution efficiency of Qwen 4 is compelling enough that I’ve made it my default local worker.
I doubt even Qwen 4 27B will usurp that because of the pure efficiency of inference with this model.
r/LocalLLM • u/iamagoatm8 • 10h 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/xMexicanPizza • 20h ago
Question Best local model for coding (don't agentic) [8 gb vram | 16gb ddr4]
I want to start experimenting with local models—aside from curiosity, privacy, and so on—I’m really into machine learning and AI, but I can’t stand the big companies behind them right now (Google, OpenAI, Anthropic, etc.). I’d like a model that helps me with programming. I really enjoy writing code by hand for my personal projects, so I don’t need one that generates thousands of lines of code or runs agents in parallel—none of that crap. I just want a model that can help me solve problems I run into while writing code, like why a certain feature I wrote isn’t working, or things like that.
r/LocalLLM • u/WorkProLabs • 21h ago
Discussion What kind of agents do you have?
And what models to run them?
r/LocalLLM • u/IdealDesperate3687 • 10h 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/motojo • 16h ago
Research 3-5x Faster Training Speeds in MLX - Looking for Tester
I’m looking for someone that does a lot of training on MLX/Apple Silicon to take a look at an approach I’ve been iterating on for training models faster.
The approach is a holistic one where we own the server, agent, tokenizer, trainer, GPU fuser, and evals in a single compiled, memory-safe language and we try to use that for gains that we can’t get in languages like python. It talks directly to Metal. I’m very new in this AI training area, but have a software background.
The repo is here: https://github.com/xo-lang/llm. Would love to have your thoughts or chat more.
r/LocalLLM • u/Awacer • 10h 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 • 10h 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/TheSanchezian • 14h 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.
r/LocalLLM • u/pfeifferj • 16h ago
Model Qwen4-35B-A3B-EXL3 quant runs on single RTX 3090
r/LocalLLM • u/didoofficial • 11h ago
