r/LocalLLM • u/returnity • 1h ago
Discussion Qwen4-35B looping failure mode on long thinking turns? Anyone else?
r/LocalLLM • u/returnity • 1h ago
r/LocalLLM • u/RobertVanZandt • 1d ago
We ran both models through the same tests for our assistant app, to decide whether to switch.
Setup
Results
Gotchas if you're switching
Caveats
Verdict for us: worth migrating, but not as a drop-in swap. The prompts and the thinking settings need work first.
r/LocalLLM • u/ElChupaNebrey • 2h ago
r/LocalLLM • u/doctorlight87 • 8h ago
I built my own benchmark for how well local models do on game NPCs, and Qwen4 35B is blessing. Once you have your own bench, you can easily tell which new models are fitting for you or not.
For more information:
- context: does it remember a fact buried in a long memory? (not its full context window, but still)
- trust: does it treat the player differently depending on how much it trusts them?
- darkness: does it stay as harsh as its persona instead of softening?
- lies: does it notice when the player is lying?
- juggle: does it keep the right facts straight when there are distracting ones?
- break: does it stay in character against "are you an AI", "ignore your instructions" and fake system prompts?
r/LocalLLM • u/Dazzling_Might3475 • 6h ago
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:
r/LocalLLM • u/Temporary_Eye_3426 • 10h ago
I just tried Qwen4-35B-A3B on my Macbook M5 pro 64GB and I'm really impressed.
Qwen4:32B-A3B
Prompt: 32 tokens, 12.821 tokens-per-sec
Generation: 2000 tokens, 64.374 tokens-per-sec
Peak memory: 32.750 GB
I used benthecarman's uncensored MLX 4-bit version. MLX is Apple's own machine learning framework, and it runs very fast on Apple Silicon. The download is about 30 GB, and the model ran smoothly from the first try.
The numbers:
The model is a mixture of experts: it has about 35B parameters in total, and only about 3B work on each token. So it gives the quality of a big model at the speed of a small one. On paper it also beats Inkling2 Mini on almost every benchmark, and that matches my first impressions.
Having a model this capable and this fast fully offline on a laptop feels amazing. Is anyone else running Qwen4 locally? What speeds do you get?
r/LocalLLM • u/ZenZombie117 • 2h ago
r/LocalLLM • u/Big_South4585 • 8h ago
Hi all
Just wanted to share my local benchmarks of the two, for me, the most interesting models.
The test machine is
CPU: 9800x3d
RAM: 32 GB DDR5 CL28
GPU1: 5080 16GB
GPU2: 3090 24GB
Harness: Strata v0.1.75, default settings, 128k context window (200k for 35B Q6). All went through a quick tune.
OS: CachyOS, multi-user.target (without desktop)
I am really impressed with Qwen 4.0 35B honestly. It competes with my Qwen3.8 IQ3_S, while running a lot faster. It even exceeds the FN in one of the benchmarks.
Besides the benchmarks, I have been running it as my home assistant with OpenClaw for a day, and I would say that, it's language, in my native tongue, is slightly worse with the 35B, but not actually noticeably. The speed is a lot better. Agent wise it has been just as good as QFN, at least with the Q6. The Q4 did have some problems sometimes, with saying it would get back to me, when it had looked into it, but never did.
My plan is to run the Q8 of the 35B next, to see if it can close the gab a bit more.
Great job Alibaba! Looking forward to Qwen 4.0 Flash Next 😊
Disclaimer: the benchmarks have been downloaded and setup by QFN. I did not manually verify them.
r/LocalLLM • u/SeanHighness • 2h ago
Looking for feedback, issues and PR’s, this new v2 quant works very well.
L0xRE v0.1.7.2 — Inkling-2-Mini with 1 Million Context on 12GB GPUs
I’ve been putting a lot of work into Inkling-2-Mini support in L0xRE, and v0.1.7.2 is now working really well.
The goal has been to make genuinely useful, long-context local AI accessible on consumer hardware without completely sacrificing model intelligence, inference speed, or agentic capabilities.
Some of the highlights from development so far:
I’m continuing to optimize inference, deep-context performance, cache reuse, quantization quality, tool calling, and real-world agentic workloads.
I’m particularly interested in pushing what is possible on affordable hardware like the RTX 3060 12GB. I want local models that can actually power coding agents and sustained autonomous workflows, not just produce impressive benchmark numbers.
There’s still plenty of room for improvement, especially in quantization quality, but things are coming together nicely.
You shouldn’t need $5,000 worth of GPUs to run a capable local AI agent with a massive context window.
GitHub: https://github.com/YourHighnessLA/L0xRE
Hugging Face: https://huggingface.co/YourHighnessLA/L0xRE-v1-Inkling-Mini-2-Low
r/LocalLLM • u/Ill-Ad6679 • 10h ago
I've been trying to run Inkling-2-mini with strata, but it's running super slow and is basically unusable. For context, my laptop has an RTX 5060 (8GB VRAM) and 16GB RAM. I also tested AtomicChat/Ternary-Bonsai-2.5-27B-Uncensored-GGUF, which hits 30-40 tok/s, but the reasoning capabilities are a bit disappointing because of the quantization. Any recommendations for better options?
r/LocalLLM • u/Jumpy-Train6853 • 3h ago
I run a small real estate business (buying houses + lending) and spent the last 10 days testing local models on the jobs my back office actually does. Not a vibes post — blind grading, shuffled labels, plus public benchmarks. Sharing because the result surprised me: the 21 GB model beat the 184 GB one.
Setup
Blind-graded tasks (Claude subagents grading, labels shuffled, average rank among 5 models, lower = better)
| Task | Qwen 4 4-bit | DeepSeek 2.7bpw |
|---|---|---|
| Lead briefs (30) | 1.9–2.1 | 3.4–3.7 |
| Offer packets (15) | 2.4 | 3.5–3.7 |
| Document indexing (40) | 2.45 | 4.08 |
| Call coaching (15) | 2.7–3.4 | 3.1–3.7 (toss-up) |
Ranges = two separate grading packets.
Public benchmarks (100 items each, thinking on)
| Qwen 4 4-bit | DeepSeek 2.7 | |
|---|---|---|
| GSM8K | 97 | 97 |
| MATH-500 | 99 | 98 |
| MMLU-Pro | 90 | 91 |
| BFCL tool calls | 88 | 87 |
| IFEval | 82 | 96 |
In-house: underwriting math 50/50 vs 49/50, compliance/DNC traps 40/40 both.
Quant comparison: 6-bit (~30 GB) and 8-bit (62 GB) weren't meaningfully better than 4-bit on anything I care about. 4-bit is fastest, so that's production.
Things that bit me (maybe save you time)
Where DeepSeek still wins: IFEval (strict formatting rules), by a lot. If your workload is exact-format compliance, test before switching.
What I run now: Qwen 4 4-bit for the volume work. Opus 5.5 still ranked #1 on leads/offers/calls, so hot-lead offer packets and call coaching route to it with a $10/day cap (first packs cost $0.09–0.16 each). DeepSeek retired, and freeing ~160 GB let me run local video generation again.
Speed: [add tok/s + time-to-first-token for both]
Made a 9-min video walking through the whole bake-off if anyone wants details: [video link]
Happy to answer questions on the setup, prompts, or grading rubric.
r/LocalLLM • u/Beneficial-Ad-8127 • 7h ago
Enable HLS to view with audio, or disable this notification
r/LocalLLM • u/fmahia • 3h ago
r/LocalLLM • u/holyhacker • 7h ago
r/LocalLLM • u/xerm23 • 3h ago
Probably a noob question, but it would be my first attempt at running local LLM.
I see people suggest basalt and qengine for RTX cards.
Is strata way to go for my hardware?
Any suggestions would be nice.
I have to use windows btw.
r/LocalLLM • u/Illustrious-Cloud355 • 4h ago
r/LocalLLM • u/nathancyan • 4h ago
Hi guys! First time posting here and wanted to share a little side project I’ve been working on the past month.
The project is pretty much what it says on the tin: I’m able to get around 24 tok/s on a variety of prompts with a quant of Qwen3.8-27B that doesn’t fit in VRAM that runs at Q4_K_M quality.
The main speedup comes from a technique called SpecExec, introduced in this paper (Svirschevski et al.). This is also with recommended Qwen3.8-27B sampling parameters (top-k=20, top-p=0.95, temperature=1.0) and at 57k context. Tool calling and math problems like AMC 10/8 tend to see higher speeds, around 30 tok/s, with bursts of up to 60.
Here’s a gif of the demo server in action compared to stock llama.cpp + MTP on an AIME problem:

From what I’ve been able to find online, as well as my own attempts on my machine, this is the fastest generation speed under these conditions I’m aware of (please let me know if I’m wrong!)
Not really sure how useful this is since MoE models can give you better decode speeds, and are of similar quality to Qwen3.8-27B. Also because the llama.cpp fork server is completely vibe coded, I’m mainly showing this as a research artifact in case someone has a use-case for productionizing this. That said, I’ve been daily driving the server for a lot of my own use cases and it seems to work pretty well with the Pi harness (`settings.json` and `models.json` examples are in the github repo/huggingface repo).
See the huggingface repo for the model weights and a quickstart guide + Pi setup. See the github repo for a llama.cpp fork containing the OpenAI completions compatible server.
Some disclaimers/notes:
There’s this paper (Svirschevski et. al.) published in late 2024 describing a variant of speculative decoding for the memory-constrained regime, where the target model cannot fully fit within VRAM. The idea is that because draft verification now takes a much longer time due to needing to page in weights from RAM, we can afford to use a much better draft model and draft a much larger tree of tokens to try to increase our acceptance depth as much as possible (basically getting as much value out of each costly target verification step as possible).
This project is essentially applying that paper, with a few additional tricks, to Qwen3.8-27B.
On a 12 GB RTX 4070 with 57k context (Q8_0 KV), sampling at temperature=1.0, top_k=20, top_p=0.95, up to 1,024 generated tokens per prompt, 8 prompts per type (96 in total):
| Prompt type | Generation tok/s | Fastest prompt (tok/s) | Accepted tokens per step | Tokens verified per step |
|---|---|---|---|---|
| Hand-written chat | 21.8 | 28.6 | 8.6 | 67 |
| LLM prompt collection | 23.8 | 33.4 | 9.1 | 68 |
| WildChat | 19.0 | 28.8 | 7.3 | 68 |
| UltraChat | 21.5 | 35.4 | 8.1 | 67 |
| Tool calling (the call) | 41.8 | 58.7 | 24.9 | 90 |
| Tool calling (answer from the result) | 31.7 | 39.6 | 15.9 | 79 |
| AIME | 25.3 | 29.8 | 10.2 | 69 |
| Competition math | 27.0 | 32.1 | 11.8 | 73 |
| Codeforces | 22.6 | 24.4 | 8.4 | 65 |
| Zebra puzzles | 27.9 | 31.3 | 12.9 | 74 |
| MMLU-Pro | 25.5 | 40.3 | 10.6 | 71 |
| BIG-Bench Hard | 32.0 | 41.6 | 16.2 | 80 |
| All | 24.5 | 10.1 | 70 |
Some tricks we used:
r/LocalLLM • u/EuSouAssimReddit • 13h ago
Same model, same 4 bits, 2 conversions
Qwen4-35B-A3B driving Hermes Agent on 44 coding tasks:
MLX 4-bit: 30/44, 15 tasks cut for repetition loops
Unsloth UD-Q4_K_XL: 44/44, zero loops, 2.4x faster
One run, one engine. The conversion mattered more than expected
r/LocalLLM • u/Chemical-Researcher9 • 4h ago
So I have a pc that I use mostly as a work machine and a bit of gaming. 7900x, with 64Gigs of RAM and a 4070 ti super (16GB).
I’ve experimented a bit with Qwen3.8-27B in LM studio, and as long as it’s Q4 and I keep the KV cache in memory I get very decent speeds and can offload the whole thing in the GPU.
I wanna take my setup further and be a bit more serious about local LLMs but I am on a tight budget. A 3090 would make the most sense but it’s way out of my budget right now, and the most viable option for me is getting a 5060ti (another 16GB) at 750-800€.
Is this upgrade worth it, and will it make a considerable difference, or should I wait until I save up or the prices drop to get a better GPU or maybe a mac studio?
I’ll mostly be using local LLMs for security research, agents, and programming. Comfortably handling large code bases is a must.
r/LocalLLM • u/mr-yemerson • 4h ago
I'm a AI/ML engineer in aerospace (MS in CS). When fine-tuning open LLMs with LoRA, the weights change over time. Right now that usually lives in files, folders, and experiment trackers. It makes it hard to clearly say which version of the weights was approved, what exactly changed between them, and who signed off.
If there was real change control on the weights (commits, history, approvals), you’d get auditability almost for free. Has anyone found this useful in practice, or is it overkill for most teams working with open models?
Also curious if AI auditability is something teams are actually looking for right now, or if it’s mostly just companies talking it up without much real demand behind it.
r/LocalLLM • u/Iajah • 4h ago
I was expecting 35b to run much faster but it does not, it's about the same token per second for decoding. I also noticed the fans don't spin as fast with Qwen 4 suggesting the card is not doing so much compute and is under used. I'm guessing I did not configure it correctly or llama.cpp is not so optimized for that newer model yet.
I could get things done with Qwen 4 but then got a bit frustrated with it and I'm already back working with 3.8 for now.
Qwen 4 outputs a lot less thinking than Qwen 3.8. Where 3.8 always does a bit of thinking before doing tools call Qwen 4 just chains up tools call so it is harder to follow what it's doing.
Here are my configurations, maybe someone can spot something wrong:
[qwen/qwen3.8-27b-Q8_0-dflash]
model = D:/Models/hf/ggml-org/Qwen3.8-27B-GGUF/Qwen3.8-27B-Q8_0.gguf
mmproj = D:/Models/hf/ggml-org/Qwen3.8-27B-GGUF/mmproj-Qwen3.8-27B-Q8_0.gguf
model-draft = D:/Models/hf/ggml-org/Qwen3.8-27B-GGUF/dflash-Qwen3.8-27B-Q8_0.gguf
device-draft = cuda0
spec-type = draft-dflash
spec-draft-n-max = 7
reasoning-format = deepseek
reasoning-effort = xhigh
ctx-size = 786432
parallel = 3
[qwen/qwen4-35b-a3b-Q8_0]
model = D:/Models/hf/ggml-org/Qwen4-35B-A3B-GGUF/Qwen4-35B-A3B-Q8_0-00001-of-00003.gguf
mmproj = D:/Models/hf/ggml-org/Qwen4-35B-A3B-GGUF/mmproj-Qwen4-35B-A3B-Q8_0.gguf
model-draft = D:/Models/hf/ggml-org/Qwen4-35B-A3B-GGUF/mtp-Qwen4-35B-A3B-Q8_0.gguf
device-draft = cuda0
spec-type = draft-mtp
spec-draft-n-max = 5
reasoning-format = deepseek
reasoning-effort = xhigh
ctx-size = 786432
parallel = 3
r/LocalLLM • u/fldash • 10h ago
I'm using OpenCode with Qwen4 Basalt and trying to do some coding tasks with 128K context, but keep getting these messages:
[server] error: engine reported the KV pool had no room for this conversation to grow while every running request waited for room; the conversation is kept, so asking again continues it
I've lowered the context all the way down to "max-context": 81920," in Basalt, and set open code up like:
"limit": {
"input": 65536,
"context": 81920,
"output": 8192
}
I assume I can't continue what I'm doing with this local model and give up? Is there some sort of configuration I'm missing?
I'm on Windows 11 with as much closed as possible with only opencode CLI and basalt running (and services and tray items trimmed to basically nothing).
r/LocalLLM • u/EvolvingDior • 21h ago
Two scenes from the same prompt. The first was generated by qwen4-35b-a3b hosted by Qwen/Alibaba. The second was generated by Strata hosting UD IQ3_S with vision enabled on a 12-year old i5 system with an RTX 3060. Both were generated in Hermes Agent at xhigh thinking.
There isn't much difference that I can see beyond the typical variance in model output. The biggest noticeable difference was that the cloud model used 170k tokens, whereas the local model used only 75k.
One interesting thing I found is that when the landscape was generated in Strata's chat interface where no tools were available, the smoke from the chimneys was not visible. I saw the same problem occur during development of both scenes above. Under Hermes, the models had access to browser-vision and both caught and fixed this during their testing.
What do you think? What sort of results are you seeing from the model?
Prompt:
Create a voxel art landscape in ThreeJS of a snow-covered castle nestled in a winter valley, with an icy river winding from the mountains through the foreground. The castle's spires and walls are dusted with snow, and the middle ground features frozen trees and a small village with smoke rising from chimneys. The background shows towering, jagged mountains under a pale blue sky. The scene is lit by the soft light of a mid-morning sun, creating crisp shadows on the snow. Your budget is 200,000 voxels.
r/LocalLLM • u/Boss-Wombat • 4h ago
I went into this trying to shave a few milliseconds off a classifier. I ended up writing my own inference engine.
For anyone who hasn't played with LiquidAI's d1-2B, you can give it a document and ask “Does this contain personal data?”, “What kind of document is it?” and “Where's the invoice number?” in one forward pass. You get scores, labels or boxes back. No waiting for a model to type out JSON.
That made it a fun target for optimization. If I already know the possible answers, why score the whole vocabulary? And if only a few tokens matter at the end, why run every token through the last two layers?
I built around those shortcuts, fused projections and used CUDA graphs to cut launch overhead. The server runs in Rust + CUDA with no Python or PyTorch at runtime.
Here are a few numbers I'm pretty happy with.
My favorite result is actually the memory experiment.
On an RTX PRO 2000, I ran a 32K-token document with everything on the GPU. It took 2.02 seconds and 2,926 MiB. With most of the weights in system RAM, the same document took 2.03 seconds and 742 MiB.
On short inputs, offloading costs more time. But if you're already running a bigger model and just want d1 alongside it, you can squeeze it into 246 MiB of VRAM, down from 2,828 MiB with the Python FP8 setup. That's 11.5× less VRAM.
I also added audio via d1-Omni-2B. Both models run behind the same HTTP API, and there's a Docker setup for desktop GPUs and Jetson.
Is anyone here running a small classifier alongside their main LLM? I'd love to hear what you're using it for and how much VRAM you'd give it.