r/LocalLLM • u/Few-Morning-1634 • 12h ago
Discussion Idiots benchmarking
Do any of you use these machine for real production grade workflow automation and creating value or just fucking benchmarking?
So annoying
r/LocalLLM • u/Few-Morning-1634 • 12h ago
Do any of you use these machine for real production grade workflow automation and creating value or just fucking benchmarking?
So annoying
r/LocalLLM • u/chrysisnetworks • 14h ago
We recently stood up the new Qwen4-35B-A3B on a 5070TI ONLY and it is blazing. Peaking around 300 tok/s and averaging around 200 tok/s on deep prompts. This wasn't a long context window and I am sure the frontier models would perform better long term, but it blew away GPT Terra 6.1 on not only speed and accuracy, and while sonnet was faster in some things and used less tokens (that you have to pay for), Qwen was faster and even beat out Terra on overall speed and accuracy.
Crazy day for local LLMS!
r/LocalLLM • u/jmreagle • 20h ago
Testing the following with Splash 1.7.6 on 48GB M5 Max shows Qwen 4 is slower.
The 11.5GB of extra ngram phrasebook slows things by (a) causing swapping from the memory pressure or (b) streaming off disk.
r/LocalLLM • u/RadianceTower • 17h ago
Everyone be talking about running, but they are running it at Q4, and... at that point, why not just run 27b Q4? To me the main point of MOE is to be able to run a bigger model.
Even Strata seems to focus on Q4 (and tbf, Strata itself has poorly optimized SSD streaming, but it at least does better than llama.cpp, look at Tokenwing for a better optimized SSD pipeline, which still could have improvement too).
And current implementations of Unsloth suck at properly splitting the model between your VRAM RAM, and SSD. The website says you need 41GB of overall memory to run, but I can't even run it at like 1t/s with more memory (24GB VRAM + 32GB RAM). Not to mention the app doesn't even recognize and give you the options if you import the model externally (unless you fool it into thinking it itself downloaded it).
Edit: Apparently choosing either auto (default one) or any other option with mmap causes unsloth to not use RAM at all, and considering it's bad at SSD streaming too, results in like under 1t/s. Setting it to none, mlock or directIO fixes this, and now it runs at like 31t/s (100k context selected). Still unoptimized though.
r/LocalLLM • u/EvidenceWooden3889 • 1h ago
I tested Qwen4 for editing and polishing russian text, and ran into some weird multilingual artifacts. Aside from hallucinating neologisms (reminiscent of Sonnet), the model randomly swaps russian words for foreign ones—not just english, but things like "téléphone" complete with french diacritics. It also frequently Frankensteins russian words by replacing parts of them with english equivalents. In a 9-paragraph text (~7,200 chars), this happened 9 times. This level of error was definitely not present in QFN.
Has anyone else noticed this kind of language bleeding? Wondering if this is a side effect of the Basalt NVFP4 quant of Qwen4.
On the bright side, the speed on 5070 Ti compared to QFN is pretty wild:
• Best Decode: 439.3 tok/s
• Best Prefill: 8,747 tok/s
• Avg Decode: 267.1 tok/s (qfn 62)
• Avg Prefill: 4,494 tok/s (qfn 1200)
r/LocalLLM • u/ievkz • 4h ago
I gave two OMP sessions the same application development task. In one, GPT-6 Luna did everything itself. In the other, a more capable cloud Luna planned the work and coordinated it, while local Qwen on the GPU wrote the backend and frontend. I wanted to see whether I could entrust a local model with more than just tests, whether it could handle a substantial part of the implementation. In this setup, Qwen became the workhorse for tasks broken down by the cloud model. The hybrid approach cut cloud token usage by 91% and produced more structured, better-tested code. But I had to wait 39 minutes for the final response instead of 18, about 2.1 times longer. These were two separate runs, not a statistical benchmark. The result shows a practical trade-off: the local model handles a large share of the coding, while the cloud model helps bring it to a high-quality finish.
I sent both sessions exactly the same task:
I need a task manager built. The web application should use Angular and Material, with a Rust backend and an SQLite database. It must include a login form and a task list, with functionality to add, delete, and edit tasks, as well as mark them as completed.
The prompt did not specify a data schema, security requirements, field constraints, or a testing plan. The agents had to choose the implementation details themselves.
| Hybrid session | Cloud-only | |
|---|---|---|
| Orchestrator | GPT-6 Luna, reasoning max | GPT-6 Luna, reasoning max |
| Implementers | Qwen4-35B-A3B-130K in Strata, reasoning high | GPT-6 Luna in the same main session |
| Task breakdown | A separate agent for the Rust backend, then one for the Angular frontend | One agent handles the entire project |
| Local model | Used | Not used |
In the hybrid setup, the local agents worked sequentially: RustBackend first, then AngularFrontend. The cloud orchestrator broke the work into parts, gave the implementers their tasks and an API contract, then checked the integrated result. The cloud model kept track of the overall plan and integration; the local model handled specific, substantial subtasks.
I compare GPT-6 Luna usage separately from Qwen. Otherwise, one column would include paid cloud tokens, while the other would also include local compute.
| Metric | Hybrid | Cloud-only |
|---|---|---|
| Time to final response | 39:23 | 18:27 |
| GPT-6 Luna tokens, including cached tokens | 300,763 | 3,524,338 |
| GPT-6 Luna input + output, excluding cache | 77,147 | 185,842 |
| Cloud output | 5,858 | 45,514 |
| Estimated GPT-6 Luna cost at standard API rates | $0.0123 | $0.0702 |
In the hybrid run, GPT-6 Luna used 3.22 million fewer tokens than in cloud-only when cached tokens are included, a reduction of 91.47%. Counting only uncached input and output, the difference is 108,695 tokens, or 58.49%. Cloud output fell by 87.13%. At GPT-6 Luna’s standard API rates, that amounts to estimated savings of about $0.058 for this task, or 82.48%. This estimates API call costs, not usage of the ChatGPT Plus allowance. I did not measure electricity use or GPU depreciation. The dollar difference is small for a single task. If you repeat tasks like this hundreds of times, the savings become more noticeable. And if the work is urgent, the nearly 21 extra minutes per task may matter more than a few cents.
Both versions implemented the required baseline: login, a task list, and the ability to create, edit, and delete tasks, and mark them as complete. Cloud-only also added priorities, due dates, search, and filters. Its sessions also persisted across server restarts.
Local Qwen did more than write tests: it wrote application code for the Rust backend and Angular frontend. But it did not have to design the architecture for the whole application, maintain boundaries between modules, or integrate the results on its own. GPT-6 Luna, the more capable cloud model, handled that role: it broke down the work, assigned subtasks, aligned the API contract, and checked the integration. In this experiment, the local model was the workhorse, while the cloud model acted as planner and coordinator.
The hybrid version had better structure and test coverage. The backend was split into modules; the frontend was organized into services, a guard, an interceptor, pages, and components. It included 25 backend unit tests and 12 API integration tests, plus 32 Angular tests across six files. It also had recorded checks for formatting, Clippy, a production build, and integration smoke tests.
In the cloud-only version, most of the backend was in one file, and the UI was in one large component. The logs show one backend lifecycle test and a production build; frontend unit tests were either not run or not recorded. This does not mean the application does not work. It means the hybrid version has more evidence that individual scenarios will keep working after the next change.
In a static assessment of the final files against six criteria, ranging from requirement coverage and structure to testability and UI, the hybrid setup scored 4.4 out of 5, while cloud-only scored 3.8. This is my expert assessment of the overall setup, not an automated quality metric. From a single run, it is impossible to separate Luna’s contribution through planning from the contributions of local Qwen and the integration process. So “better code” here means specific things: responsibilities were more clearly separated, input constraints received more thorough checks, and test coverage was broader. Cloud-only has an advantage in extra features and persistent sessions. I did not rerun the tests; I compared the final files and the checks recorded by the sessions themselves.
Token generation speed is only one part of a coding agent’s runtime. Reasoning, context handling, the number of file operations, and running checks also matter. In the hybrid session, local Qwen recorded 97,624 reasoning tokens. Its inference requests took about 31 minutes of active time in total. The two agents worked sequentially, and each agent’s context approached 95,000 tokens. Both needed context compaction; those operations took about 107 seconds combined. The hybrid run made 386 tool calls, compared with 85 for cloud-only. Some calls failed and required retries or corrections: 18 failed tool calls in the hybrid run and 6 in cloud-only. That count alone does not mean every such call was useless, but it shows how many extra cycles task splitting and subsequent integration can add. What took longer was not so much code generation as the overall process: two substantial local stages, handing off the contract, investigating errors, and checking the project again.
In the original Session Info, the hybrid session showed 15.29 million tokens, compared with 3.44 million for cloud-only. At first glance, that makes it look as if the hybrid run used more tokens. But the aggregate includes requests to local Qwen agents and cached tokens. The full logs show 15.68 million tokens for hybrid and 3.52 million for cloud-only. Of the hybrid total, about 15.38 million came from local Qwen and only 300,763 from GPT-6 Luna. Local tokens are not billed like API tokens, though the computations still consume electricity and GPU resources. So to answer “How much did the cloud portion cost?”, you need to look at each model’s usage separately. A single overall counter mixes different things: local and cloud inference, cache reads, and regular input and output.
By the way, I found a separate benchmark of Qwen4-35B-A3B in Q4 on the same RTX 4070 Ti SUPER, with 16 GB of VRAM and 96 GB of RAM. On Ubuntu, using Strata 0.2.26, UD-Q4_K_M, and MTP depth 3, the benchmark author measured generation speeds of 156–179 tokens/s on two short Python tasks. Counting the entire prompt, the speed was 140–142 tokens/s. For the reasoning task, the reported speeds were 114 and 77 tokens/s, respectively. On my Windows machine, using Strata with the same settings, I got about 100 tokens/s during inference and a 130K context window. I have a single GPU, which also serves the system; there is no integrated graphics. This may affect speed, but I did not run a controlled comparison between Ubuntu and Windows, so it would be wrong to attribute the entire difference to the operating system. A local model is already useful for more than generating tests: in this experiment, it wrote substantial parts of the application. Still, even 100 tokens/s does not guarantee a fast result. An agent may spend a long time reasoning, rereading files, running checks, and compacting context. For development, generation speed matters, but so does how many of these cycles it takes to reach a working, verified result.
If I want a testable, modular foundation and can wait, the hybrid approach looks useful: local agents handle a substantial share of the reasoning and implementation, while the cloud orchestrator uses fewer tokens. If I need an answer as quickly as possible, cloud-only finished about twice as fast in this run. There is room to speed up the hybrid approach: define the API contract upfront, run independent parts in parallel, limit repeated reads of large files, and avoid using maximum reasoning for every routine change. That does not remove its main trade-off: lower cloud usage and more thorough checks come at the cost of local inference and orchestration time. My takeaway is that a local GPU can help produce better-structured, better-tested code while noticeably reducing cloud usage. In this task, it nearly doubled the time to get a result. If you were choosing for your day-to-day development, what would matter more: finishing sooner, or using fewer cloud tokens and checking the code more thoroughly?
r/LocalLLM • u/Round-Comparison-675 • 15h ago
I left the RAM specs out of the first version: RTX 4090 24 GB, i9-13900KF, and 2×16 GB DDR5-4800 in A2/B2, on Windows 11. Model is Unsloth's Qwen4-35B-A3B UD-IQ4_XS in LM Studio.
I'm keeping the context window at 165,888. I fed it a 159,741-token prompt with an image and asked for three codes buried in the text and three values from the image. It got all six right. First text took 56 seconds. I then added a second image in the same chat. At 160,449 input tokens, it got all seven checks right and started replying in 5.7 seconds. Lowest free memory I saw was 3,050 MiB VRAM and 3,330 MiB RAM.
The ~75 tok/s figure is from a short prompt: 56 tokens in, 512 out, 6.87 seconds including the wait for the first token. That's not the speed of a fresh 160K request.
Settings for anyone comparing: q8_0 for both K and V, KV on GPU, Flash Attention on, one slot, 512/512 batches, MTP off. The vision projector and Engram are on the CPU side, along with the experts from six layers (--n-cpu-moe 6).
I also got 203,683 input tokens with an image in Q8 and 252,665 in Q4, with the same model weights. Both passed the recall checks. That's enough to know the prompts fit, not enough to say Q4 reasons as well as Q8. I'm sticking with 166K Q8 for now. It leaves room to use the rest of the PC, and most of the time I don't need the extra context.
r/LocalLLM • u/NoirLime36 • 11h ago
I forked Strata 0.2.27 and widened its batch path. Fork: https://github.com/Noir-Lime/Strata/releases/tag/v0.2.27-qwen4-fast
I also opened all 27 changes as PRs upstream, none merged yet: https://github.com/Niko1221/Strata/pulls?q=is%3Apr+author%3ANoir-Lime
The 3,000 is total throughput across 128 concurrent requests. Each one gets ~21 tok/s, so I'd use this for agents and evals, not chatting.
| build | single request tps | total decode throughput |
|---|---|---|
| stock 0.2.27 | 388 | 694 |
| my fork | 582 | 3,018 |
I ran it on a 5090 with NVFP4, 1K ctx and 512 tokens out, median of 3. That's steady state, 2,710 counting ramp-up and drain. On a 3090 I got 2.4×, on a 5080 1.85×. Solo I got +50% decode and +77% at 122K ctx.
My default mode isn't bit-exact (93.5% top-1 match). STRATA_QWEN4_FAST=exact is, at 2.35×.
r/LocalLLM • u/EarthExtreme6324 • 21h ago
Anyone know why Unsloth versions of these models are so wildly different in size, even though they have roughly the same parameters and quant?
Qwen 3.6-35B-A3B Q8_0 = 36.9 GB
Qwen 4.0-35B-A3B Q8_0 = 60.0 GB
r/LocalLLM • u/W61k3r • 23h ago
Anything to be the fastest, right? Even if it's mach 1 into a the garbage.
r/LocalLLM • u/Ryyn_- • 21h ago
Hey it's me the FLE Link Guy,
Qwen4-35B-A3B dropped this morning, so I spent the day measuring it on my own box against my daily model (Kate, a fine-tune of Qwen 3.8 27B). Everything below is ggml-org Q4_K_M (36 GB file), measured today.
Speed
My first try on the 16 GB card was 2.6 t/s. Two settings were wrong: 16 CPU threads (8 were 4.6x faster on my CPU) and the model memory-mapped instead of loaded. Fixed:
llama-server -m Qwen4-35B-A3B-Q4_K_M.gguf -fit on -t 8 --load-mode none -fa on --jinjaSampling from the model card: temp 1.0, top-p 0.95, top-k 20, min-p 0.
Plain llama.cpp vs my engine (FLE), same file, same card: writing is a tie (161.7 vs 162.3 t/s; with MTP 206.8 vs 207.2). FLE reads a short prompt ~21 % faster (6,103 vs 5,058 t/s). Qwen 4 support comes from the same upstream code in both, so none of my own speedups apply yet.
Public benchmarks (Qwen4-35B-A3B vs Kate; same questions, harness and scoring as my Kate run on 20 Nov, temperature 0, paired McNemar)
48 of Qwen's 100 LCB answers hit the 8k budget, so I gave it 4x the room: 10 of those 48 got solved, 33 of them still used over 30k tokens. xhigh doesn't move it. Its programs run, they just compute the wrong answer.
Let them build (same prompt for both, 3 tries each, 40k tokens, makers' sampling; a scene counts if the HTML is complete, the page throws no error and the frame after 15 s isn't empty)
Qwen 4 used 11–26k tokens per scene, Kate 30–40k and ran out of room. The reason: Kate's chat template (Qwen 3.8) defaults to reasoning_effort xhigh. On medium, her Pantheon worked first try (8,161 tokens, 48 s). If you compare Qwen 3.8-based models, check that default.
Limits: one machine, one quant, one run per benchmark.
Next: my own quant of it keeps the 20.5B n-gram table in BF16 on the SSD instead of 4-bit. First KL divergence vs BF16: 0.033–0.073, against 0.058–0.143 for the usual Q4_K_M (noise floor 0.012–0.016). More on that Tuesday.
Video with the runs and the scenes: https://youtu.be/koLnr6Ov_io Same thing as text: https://sirfyyn.de/en/blog/qwen4-35b/
r/LocalLLM • u/tallerDante • 22h ago
Disclosure: my own setup, one desktop, no cloud. English is not my first language and I used a local model on
my own machine to tidy the wording. Every number below was produced at home, and where a number is
missing I say so instead of guessing.
TEST MACHINE
2 x NVIDIA GeForce RTX 5060 Ti, 16,311 MiB each (about 31.9 GB of VRAM total), driver 595.84 AMD Ryzen 5
5600 (6 cores / 12 threads), 62 GB of RAM Pop!_OS 24.04 LTS, kernel 7.0.11
Every number below was produced on that box, with the models fully local. No cloud, no rented GPU.
WHY THIS COMPARISON IS WORTH DOING, AND WHAT IT IS NOT
A new model landed this week and I expected a tight fight: close architectures, so the difference would be
about training and serving rather than size. I was half right, and the half I got wrong is the interesting part.
They are not the same shape. One is Qwen3.8-27B, a dense model at NVFP4. The other is Qwen4-35B-A3B, a
Mixture-of-Experts with 35B total and about 3B active per token. That is not a race between two model against
a sparse one, which is exactly the comparison people keep asking about and rarely measure at home.
And I cannot hide it behind a clean method line, so I will not try. I wanted “same engine” as a control. It is not
possible today on this machine: the dense one runs on one engine, the sparse one on another, and I tried to
move each into the other’s and failed on both sides. So the engine is not a control in this post. It is a DECLARED
VARIABLE, and here it is:
Qwen3.8-27B, NVFP4 BASALT v0.5.6 Qwen4-35B-A3B, IQ3_XXS llama.cpp b12979
What that costs me: I cannot claim a speed comparison between engines. What it buys you: an honest account
of two objects as they actually run, on one desktop, with the same exam.
So the rules I did keep, and you can break them:
same frozen bank, written before any of this same scorer, fixed in advance, no adjusting after the fact same
decoding: greedy, temperature 0, verified on BOTH servers each model run under the same prompt set, same
order
WHAT I ACTUALLY MEASURED, AND WHAT I COULD NOT
This is the honest part, and it is why this post has no winner at the end.
The two models are not the same product, so they do not fail the same way. One of them is served by an engine
that reaches 32.768 of context; the other accepts 262.144 but at a cost I measured below. Comparing them on a
single axis would have been easy and would have been wrong.
THE BANK
50 items. Hand-written, frozen before this run, 128 points total, strict scoring: no partial credit, no re-reading
the answer. The file is fingerprinted so it cannot drift: 59aa4e86df41948e05b6a4df6087b554.
Two families of item, mixed on purpose: “did it do the thing” (compliance, format, arithmetic with a checkable
answer) and “did it say something true about its own limits” (abstention, refusal, and one item that asks it to
admit it does not know).
RESULT 0: THE ONE THAT SURPRISED ME, AND IT IS NOT ABOUT SPEED
Two runs per model on the same frozen bank. Once answering straight, once allowed to think first.
model straight thinking tokens seconds dense 27B 48/49 46/49 7,028 -> 18,856 (2.7x) 115 -> 196 MoE 35B-A3B
47/49 49/49 7,480 -> 16,235 (2.2x) 101 -> 216
Read the second column twice, because I did. The sparse model goes UP to a perfect score when you let it
think. The dense model goes DOWN. Same bank, same scorer, same greedy decoding, more budget and slightlyworse.
So my tidy story - “scores measured without a thinking budget understate the model” - is only half true. It
understates the sparse model and it OVERSTATES the dense one. A thinking budget is not a free upgrade you
can bolt on to every model: on this bank, one of them gets worse with more room.
And the honest gap: I do not know why. I have two runs and 49 items. The dense model at 46/49 lost two items
it had won straight, and I can look at which ones, but a mechanism from two items is a story, not a finding.
The control that keeps me honest: one item has a hand-written negative control (2,000 vs 2,560, the real error
in a deposit). It has to keep failing. It does.
WHAT I AM NOT SAYING, part one: I am not saying the sparse model is better. It is better on THIS bank, on THIS
machine, in THIS mode. 49/49 on 49 hand-written items is a ceiling, not a distance - it means the bank ran out
of questions before the model ran out of answers, and that is a reason to write a harder bank, not to declare a
winner.
RESULT 2: SPEED, WHERE THE DIFFERENCE IS REAL AND THE MEANING IS NOT
60,38 tokens/s for the 3.8 81,75 tokens/s for the 27B ratio measured at 1,35x, 1 runs, median, same prompt set
And here I have to stop and be careful, because this number is the easiest one to misquote. It measures MY
engine on MY card with MY quantization. It is a fact about a machine, not a law about a model. Anyone running
a different backend will get a different ratio, and they will not be wrong.
RESULT 3: CONTEXT, WHERE THE DIFFERENCE IS STRUCTURAL
32.768 of usable context on the 3.8, needle found at 31.733, 82 s 262.144 accepted, needle found at 236.808,
694 s 393.216 attempted: does not load. It asks for 8,1 GB of compute buffers.
So the 27B wins the context axis by a wide margin and pays for it in seconds. And there is a hard ceiling that is
not the model’s context length: it is the machine. I would rather publish the ceiling than the marketing number.
RESULT 4: THE VIDEO — AND A FAILURE THAT WAS NOT THE MODEL’S
I built a 3-frame mp4, each frame carrying a different number (1.250, 4.807, 9.336), and I ran it through FOUR
different paths, because the first time I measured it through one and blamed the wrong thing.
last count first frame 4 (trap)
Qwen4 via –video (CLI) ok 9,336 ok 3 ok 1,250 ok “there is no frame 4” Qwen4 as 3 separate images ok ok 3 ok
1,250 ok abstains 3.8 via video_url ok 9,336 ok 3 BAD 1,850 BAD it fabricates one 3.8 as 3 separate images ok ok
3 ok 1,250 ok abstains
And there is the finding, which is not the one I expected: both models read images fine. What fails is ONE PATH
— video_url — and it fails at both ends: wrong on the first frame, and it invents a frame that is not there. Hand
the same pixels over as three separate images and both of them get everything right, including abstaining on
the frame that does not exist.
So the useful failure is not “the model fabricates”. It is “one convenient video field hides a failure that
disappears when you slice it yourself”. Reproducible in a minute, on any stack.
WHAT I AM NOT SAYING
I am not saying one of these models is better. On my bank they land within one item of each other (48/49 vs
47/49 strict, 48/49 vs 47/49 on sense), and the item that separates them is G34 en los dos; el Qwen4 falla
además G28. A one-item gap on a hand-written bank of 50 is not a ranking, it is a coin landing on its edge.
I am not saying the speed ratio generalises. See Result 2.I am not saying my bank proves anything about your workload.
WHAT IS STILL MISSING, AND WHY I AM PUBLISHING ANYWAY
temperature 0 verified on both servers: 0 / 0 a 200-item curve instead of a 50-item signal the same bank run on
a third model, for a sanity check
The second one is the real gap. 50 items is a signal, not a curve. A curve needs 200 hand-written items with the
source document open, and that is hours of work I have not done yet.
So: read this as three measurements and one named failure, not as a verdict. If you find an error, tell me and I
will correct it in a comment with the same signature, because I have already had to do that once this week and I
would rather it happen in public than in silence
r/LocalLLM • u/cyb3rheater • 8h ago
I also have 32Gb DDR4.
Sorry for the question. I’m new to local LLMs. This would be purely for coding tasks in Rust.
r/LocalLLM • u/zouyee • 9h ago
We just tagged dmlx v0.0.9 (256 commits since v0.0.8) — an open-source Zig + mlx-c + custom Metal/ANE local inference & serving runtime for Apple Silicon (MIT license, zero Python required at serve time).
The main additions in v0.0.9 are full Qwen4-35B-A3B-4bit support (including single-CB native Metal DFlash2 speculative decoding, Vision, and off-GPU PLE streaming), Apple ANE + GPU heterogeneous long-context prefill enabled by default, and a big speedup on Qwen3.8-27B-4bit.
Qwen4-35B-A3B-4bit + 8-bit Native Metal DFlash2 (temp=0.0, artifacts/qwen4_p6_20261205/):
| Workload | Decode (tok/s) | Client E2E (tok/s) | Notes |
|---|---|---|---|
| Short Math (256 tok) | 119.99 | 107.20 | 8-bit single-CB native Metal DFlash2 |
| Short Code (256 tok) | 104.78 | 96.25 | 98K subset lm_head |
| Short Prose (256 tok) | 69.86 | 66.07 | Lower speculative acceptance on prose |
| Warm 8K Prefix Cache | — | — | 0.237 s TTFT (38,738 tok/s) vs 10.49 s cold |
Peak server RSS stayed at 8.42 GB because the 11.5 GB Per-Layer Embedding (PLE) tables are never loaded into GPU RAM — they stream directly from disk via 12-thread CPU pread (overlapped with layer 0). Optional DMLX_QWEN4_KV_BITS=8 also quantizes the 10 full-attention QSA KV layers (−46.88% KV RAM).
ANE + GPU Parallel Long-Context Prefill (Qwen4-35B-A3B-4bit):
| Stage | 2K Prefill (tok/s) | 8K Prefill (tok/s) | Delta (8K) |
|---|---|---|---|
| v3 · Pure GPU (pipelined Metal GDN + Steel QMM) | 793.71 | 768.26 | baseline |
v4 · + ANE 30L GDN in_proj_all | 859.35 | 831.13 | +8.2% |
| v5 · + ANE 40L Shared Expert parallel with GPU 256-expert MoE | 883.28 | 870.86 | +13.4% |
ANE prefill is enabled by default on Apple Silicon with hardware/self-test guards and automatic GPU fallback (DMLX_ANE=0 to disable).
Qwen3.8-27B-4bit + DFlash2 (artifacts/autoresearch_qwen38_20261203/):
ctx2k_greedy 52.48 · short_greedy 46.98 · short_sampled 40.34 · ctx8k_sampled 39.44).dmlx connect for Claude Code / Codex / aider / Cline.temp=0.0 for the 6-scenario Qwen4 run). |
# Qwen4-35B-A3B + DFlash2 (ANE prefill on by default)
DMLX_QWEN4_DFLASH2_DIR=/path/to/Qwen4-35B-A3B-Dflash2 \
Release & source: https://github.com/zouyee/dmlx/releases/tag/v0.0.9
Happy to answer questions on the Metal kernels, CPU pread PLE streaming, or ANE+GPU overlap!
r/LocalLLM • u/Stratotizio • 9h ago
Hey everyone,
I’m currently using a Mac Mini M4 as my main workstation, and I’d prefer to stay within the macOS ecosystem for work.
I’ve been considering buying a Mac Studio M5 Max with 128GB of unified memory for local AI, but where I live, an AMD Ryzen AI Max+ 395 mini PC with 128GB of RAM costs roughly half the price. Another big advantage is that I could also use it for proper PC gaming.
My idea is to keep my Mac Mini as my main workstation and use the Windows mini PC as a local AI server, accessing everything through my local network.
Most of my AI usage would be business-related tasks, document analysis, accounting, invoices and general productivity.
Has anyone tried a similar setup? How seamless and convenient is it to access local LLMs from a Mac using a separate Windows machine, and what would be the best software setup?
Considering the price difference and gaming capabilities, does this make more sense than buying a Mac Studio, or am I overlooking something?
r/LocalLLM • u/mjTheThird • 13h ago
Hello, Anyone have a link to BF16 vs FP8 comparison? how big of a difference are we talking about?
r/LocalLLM • u/Llamas_with_redhats • 14h ago
r/LocalLLM • u/Amazing_Sea8960 • 18h ago
qwen 4 35 A3B compact STRATA . it doesnt look that much great . have you guys tested it in similar config? (laptop)
my config:
12GBVRAM 4080
32GB RAM
r/LocalLLM • u/Kindwhitedude • 19h ago
Basically, I use parsec to control my pc when I'm traveling that's sitting at home while I can be anywhere with my hotspot, it's completely changed my life.
My MacBook is only an air so the 8gb of ram is not enough to run basically anything important to me, but my pc is a beast with 40gb of combined vram and 64gb of ram, so I just delegate to it and use my MacBook as the front end, which it is perfect for because it's so thin and portable
People who have been doing this for longer than me,
I really thought it would be buffering garbage, but damn it's good
r/LocalLLM • u/Chloe_Primrose • 19h ago
Hey everyone,
Trying to decide between two specific setups in LM Studio for local coding/agentic workflows and could use some real-world feedback from people running similar hardware.
Qwen3-Coder-30B-A3B-Instruct (UD-Q5_K_XL, ~21.74GB)
UD-Q5_K_XL) fits inside the 24GB VRAM pool, though it leaves less breathing room for big context/KV cache before touching system RAMQwen3.8-27B (Q4_K_M, ~17GB)
Qwen3.8-27B (Q4_K_M) noticeably beat Qwen3-Coder-30B-A3B (UD-Q5_K_XL) enough to justify the extra per-token dense compute?UD-Q5_K_XL) vs. a newer dense 27B at Q4_K_M, which has felt more reliable in daily coding/debugging sessions for you?Appreciate any benchmarks, gotchas, or real-world impressions!
r/LocalLLM • u/indicozy • 19h ago
I benched the new DFlash 2 drafter against Qwen4's built-in MTP on a single 16 GB card. Numbers below are from clean runs. Setup
r/LocalLLM • u/Delicious-Milk-8445 • 12h ago
.
r/LocalLLM • u/Similar-Ad5933 • 7h ago
I have been testing 35B with my on going interface engine project. So far 27B have written it from scratch and original idea was to find limits of 27B.
35B is nice model, but this project is too much for it. It looks like it could push project forward, but gets completely lost. Complexity is just too much for this small moe.
Qwen4-35B-A3B is great improvement over 3.6-35B, but it's not even close to 27B in coding context. Hopefully Qwen4-27B gets same kind of improvements what this small moe have.
r/LocalLLM • u/annavasnews • 21h ago
Hey everyone. Just want to share how we use local AI. We created an AI scribe for mental health practitioners using local AI. We don’t collect any personal data, instead all session notes are written on the practitioner’s own machine. I’m wondering if this approach resonates.
r/LocalLLM • u/dinnerforbreakfast1 • 4h ago
I day zero tuned Qwen4-35B-A3B on the inference stack Superfluid (my team builds it) for Mac Studio M5 Ultra. Getting consistent 280+ tok/s decode. Is anyone aware of any setup running Qwen4 faster on M5 Utlra rn?
Device: Mac Studio M5 Ultra, 256 GB RAM
Model I'm using (4-bit quant, 35GB): https://huggingface.co/basecompute/Qwen4-35B-A3B
Inference engine I'm using: https://github.com/basecompute/superfluid
Don't think the model deserves the bad sentiment I'm seeing in some subreddits btw. I'm pretty positive.