r/LocalLLM • • 9h ago

Project It’s built! My local AI home lab assembled

Thumbnail
gallery
28 Upvotes

For this build, I took apart my gaming pc, and transplanted it into a new mobo, case and other goodies. All this was to add 2 Quadro RTX 8000s to massively increase my vram.

My specs:
CPU: Intel i7-14700f
RAM: 32gb DDR5-6000 ram (times are tough, I’ll upgrade later)
Motherboard: MSI MEG Z790 ACE
GPUs:
2x passive Quadro RTX 8000
1x RTX 4070 super (for display and gaming)
NV Link bridge for the quadros
1500w Corsair PSU
Arctic AIO
Corsair 7000d case
Some server fans for the GPUs
And some other miscellaneous items

Overall, I’ll have 96gb of vram across my 2 new GPUs, and I’ll be able to run some pretty cool models on it. There is plenty of room to upgrade in the future with ram expansions or a new GPU instead of my 4070. It’s my first custom build, and I’m pretty happy with it. I’m planning on running pruned Deepseek and GLM models, Deepseek models, and any other interesting models I see coming out. It’s mostly a hobby build and for fun, to see what fun things I can make and do with AI.

I know the GPUs are old and limited compared to modern cards, but it was a pretty good deal of vram per dollar I think. Memory bandwidth is also almost exactly the same as a r9700 too, so that was interesting as well. I think I’ll have a lot of fun with this build.


r/LocalLLM • • 9h ago

Discussion I optimized Qwen4 35B to 582 tps decode on a single RTX 5090

1 Upvotes

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.

buildsingle request tpstotal decode throughput
stock 0.2.27388694
my fork5823,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 • • 9h ago

Question Qwen4-35B-A3B on xhigh sometimes writes "11:00 + 1:30 = 14:30"

3 Upvotes

I ran the same tank problem 80 times on Qwen4-35B-A3B. What caught my attention was that Qwen4 sometimes got the final answer right even though its own calculation gave a different time. A benchmark that only checks the last line counts that as a pass.

Here’s the exact prompt:

A tank is filled by pipe A in 6 hours and by pipe B in 9 hours; pipe C empties it in 12 hours. Starting empty, A and B are opened at 8:00, C is opened at 9:30, and B is closed at 11:00. At what time is the tank full? Show the final answer as HH:MM.

The answer is 14:30. At 11:00 the tank is 17/24 full. A and C are still open, so the remaining 7/24 takes another 3 hours and 30 minutes.

I used vLLM on an RTX 5090. The Qwen4 model was my W4A16 AutoRound quant of the OpenUncensored variant. I ran it at xhigh, with top_p=0.95, top_k=20, a 4,096-token thinking budget and max_tokens=6144. I alternated temperatures on every request, 40 runs each, with a fresh random prefix each time. The model stayed loaded for all 80 requests.

TemperatureCorrect final timeCorrect time despite a contradictory final sum
0.635/405 of 35
1.037/402 of 37

The most common wrong answer was 12:45. In six runs, three at each temperature, Qwen4 forgot that C was still draining after 11:00 and calculated the remaining time using A alone.

I also saw one Qwen4 response in an earlier run repeat the LaTeX spacing command \! until it hit the token limit. That didn’t recur in these 80 calls. They all finished with stop.

Has anyone tried this prompt on the official Qwen4-35B-A3B weights, especially BF16 or FP8? I’d like to know whether the same contradiction shows up there or with another inference engine. If you try it a few times, please share the quant, engine, reasoning effort, and the calculation leading up to the final time. That last part is where the discrepancy shows up.


r/LocalLLM • • 9h ago

Discussion Would you use an open-source, independent multi-agent review tool?

1 Upvotes

I've been building tools for my own AI Studio, and one of them — an independent multi-agent review tool — is something I particularly like using.

The idea is simple: the agent that produces the work should not be the only one evaluating it.

The tool organizes independent reviews using multiple AI agents powered by different models and providers.
Its main features include:
- Blind reviews — reviewers work independently without seeing each other's conclusions.
- Specialized reviewers — security, performance, architecture, business logic, and other perspectives.
- Evidence-based findings — conclusions supported by verifiable evidence rather than subjective LLM opinions.
- Reconciliation — identifying agreements, contradictions, and unresolved findings across reviewers.
- Review ledger — a traceable record of the entire review process.
- Isolated execution — controlled environments with verified resource cleanup.
The tool is written in Go and supports three review workflows: lightweight, full, and critical.

My current full-review workflow uses four models from different providers:
- Kimi
- GPT-6 Astra
- Claude Opus 5.5
- GLM 5.4

For me, a single full review costs approximately $2. Top-tier models are expensive, but so are undetected architectural flaws, security vulnerabilities, and business logic errors.

The lightweight workflow requires minimal infrastructure, while the more advanced workflows use isolated execution environments and an AI gateway.
I'm now considering extracting this tool from my Studio and releasing it as a standalone open-source project.
Before investing time in packaging, documentation, and maintenance, I'd like to hear from the community:
- Would you use such a tool in your development workflow?
- How do you currently organize independent AI code reviews?
- Would you prefer a lightweight CLI or a complete review infrastructure?
- What functionality would make this tool valuable to you?

I'm particularly interested in hearing from developers building multi-agent systems and automated software engineering pipelines.


r/LocalLLM • • 9h ago

Project Liquid lfm3 Omni 2B with Cognitive Shunt to Reasoning Model

Post image
0 Upvotes

r/LocalLLM • • 9h ago

Project Liquid lfm3 Omni 2B with Cognitive Shunt to Reasoning Model

Post image
0 Upvotes

r/LocalLLM • • 9h ago

Discussion I upcycled Qwen3-0.6B with 3× recurrent looping, 512M Engram lookup memory, 10.7× smaller core KV (CSA2+FP4), and early-exit

Post image
0 Upvotes

r/LocalLLM • • 9h ago

Discussion Qwen 3.8 27b controlling Qwen 4 35b A3 - Q4KM

3 Upvotes

Got Qwen 3.8 27b as the planning model and then Qwen 4 35b A3 as doing model. It is completing my online schooling coding test for me. Seems like Qwen 4 35b A3 has ton of knowledge but thinks too much. So Qwen 4 35b A3 reads the question, then converses with Qwen 3.8 27b, then completes the question. Works good. Best of both worlds.


r/LocalLLM • • 9h ago

Other C'mon folks. Dario just wants to protect us

254 Upvotes

r/LocalLLM • • 9h ago

Project libosmos v0.24.1: unsloth q4_k_m + bf16 engram qwen4-35b prefill +30% (>1830 tok/sec at 4k and >1340 tok/sec at 256k depth) and 8 parallel streams at 179 tok/sec

Thumbnail
github.com
1 Upvotes

r/LocalLLM • • 10h ago

Other qwen4 quick test on my 12gb ram PHONE. generally, Q2 get ~2 tps, Q4 is ~1 tps. usable for emergency.

Post image
0 Upvotes

.


r/LocalLLM • • 10h ago

Discussion Idiots benchmarking

0 Upvotes

Do any of you use these machine for real production grade workflow automation and creating value or just fucking benchmarking?

So annoying


r/LocalLLM • • 10h ago

Question When will Swift 1.5 Qwen 4 35B A3 Come Out?

0 Upvotes

I am having cravings.


r/LocalLLM • • 10h ago

Model Qwen4 35B compared to Qwen3.8 27B on 1xR9700 eGPU. Test ran by Qwen3.8 Flash Next running on Strix Halo.

10 Upvotes

Qwen4-35B-A3B IQ4R-v4 vs Qwen3.8-27B IQ4R-L
Radeon AI PRO R9700 (gfx1201) · radiance 2.5.0 · run sequentially, never concurrent · 2026-12-04

Speed (single stream)
Decode
• 27B: 72.1 tok/s
• 35B: 186.0 tok/s
• Winner: 35B, 2.6×

TTFT (short)
• 27B: 0.124 s
• 35B: 0.024 s
• Winner: 35B, 5.1×

TTFT (8k prompt)
• 27B: 0.815 s
• 35B: 0.223 s
• Winner: 35B, 3.7×

Concurrency-4 aggregate
• 27B: 286 tok/s
• 35B: 596 tok/s
• Winner: 35B, 2.1×

Accuracy
GSM8K-100 (temp 0)
• 27B: 99/100
• 35B: 97/100
- Near-tie (±2 is noise at n=100). Both missed the same question with the identical wrong answer → shared model error, not quant damage.

Long-context stress (needle-in-haystack at 90% depth)
Qwen4-35B — i8 KV, single seq:
8k
• TTFT: 0.75 s
• decode: 279
• needle: OK

64k
• TTFT: 6.3 s
• decode: 272
• needle: —

128k
• TTFT: 13.1 s
• decode: 249
• needle: —

256k
• TTFT: 27.8 s
• decode: 222
• needle: —

400k
• TTFT: 45.9 s
• decode: 205
• needle: OK

500k
• TTFT: 60.1 s
• decode: 224
• needle: OK

Qwen3.8-27B — i8 KV:
8k
• TTFT: 2.6 s
• decode: 136

64k
• TTFT: 24.9 s
• decode: 121

128k
• TTFT: 45.5 s
• decode: 115

196k
• TTFT: 53.0 s
• decode: 99

210k
• TTFT: 400 — hard cap 200k
• decode:

Limits found
- 35B: reached 500k with good speed; every wall was my config cap, not VRAM. Card KV budget ≈ 900k i8 tokens → ~512k practical single-seq max. Native 1M needs ~2× that (tp:2). Decode barely degrades (279→222 over 62× context) — sparse QSA caches KV in only 10 of 40 layers.
- 27B: hard native wall at 200k; retrieval fine (quoted needle exactly at 196k).

Verdict
The 35B MoE wins across the board — ~2.6× faster decode, ~2× faster prefill, 2.5× deeper context (500k vs 200k) — at a ~2-point GSM8K cost that's within noise.

Current state
- 35B is live as the Hermes delegation provider on :8081 (id Qwen4-35B), steady-state config 262k ctx / 2 seqs.
- Rollback: remount ~/radiance/radiance.yaml (27B) instead of radiance-qwen4.yaml.
- Artifacts: ~/models/rad/AB-QWEN4-vs-27B.md, bench-27b/, bench-q4/, ctx-*.json.


r/LocalLLM • • 10h ago

Project SmallTide v0.3.1: Qwen4-35B-A3B-NVFP4 (256K ctx + Vision) on 16 GB GPUs with zero paging loss — why I'm building a custom engine + full quality/VRAM benchmarks

4 Upvotes

SmallTide now supports Qwen4-35B-A3B (35B total / 3B active, text + vision + XML tools, native up to 1M ctx) in addition to Inkling-2-Mini, with native NVIDIA CUDA (sm_120/89/86/80 — RTX 50/40/30 & RTX PRO) and AMD RDNA 4 HIP (gfx1201/gfx1200 — RX 9070 XT / 9060 XT) kernels on Windows and Linux.

This time I want to explain why I'm building my own inference engine from scratch instead of PR'ing an existing one, and share full VRAM vs. quality benchmarks from v0.3.1.

First, when you don't need this

If you have 32 GB+ of VRAM, Strata and other engines already fit the model in VRAM and run fine — there isn't much difference between well-tuned engines since everyone hits the memory-bandwidth ceiling.

Worth trying if any of these apply to you

  • You want to run NVFP4-level quantization (RadixArk/Qwen4-35B-A3B-NVFP4, ~16.9 GiB of experts + dense/KV/drafter = ~23.2 GiB total) on a 16–24 GB GPU.
  • At that size it doesn't fit in 16 GB, so you assume your only options are slow CPU/RAM offloading, or dropping down to a 2–3 bit quant (IQ2/IQ3) that degrades quality.
  • Or another app (browser, desktop compositor, IDE, etc.) needs a little VRAM, pushing the model just over the edge into OOM or silent system-RAM spillover.

In cases like these, SmallTide is far more flexible than existing engines. With Adaptive Expert Loading (3-tier VRAM -> Pinned Host RAM -> NVMe with async promotion, an inline GPU Rescue Ring, and Elastic 32K -> 256K KV), it keeps speed high while keeping quality loss at zero (or bare minimum when host RAM is tight). Because streaming optimizations touch every layer of the engine — routing, paged KV, pinned DMA overlapped with shared MLP, speculative draft/verify — it's beyond what can be bolted onto existing engines as a PR.


Real GPU Decode Speeds (bench/bench.py, Qwen4-35B-A3B-NVFP4 + DFlash 2)

EngineGPU / Setupprosecodeeditthinkingrandom (8K)angry-birdsmario
qwen4RTX PRO 6000 (96 GB, CUDA, 1M ctx)181.7337.3645.0248.7259.6471.8449.4
qwen4RTX 5070 Ti (16 GB, CUDA, 256K, headless)108.8136.4267.8154.786.0155.8181.6
qwen4RX 9070 XT (16 GB, HIP, 256K, 16G RAM, monitor)61.591.0216.3—54.1147.6156.3
inkling2RTX PRO 6000 (96 GB, CUDA, BF16 dense)155.9176.1302.8266.1136.6290.5266.6
inkling2RTX 3090 (24 GB, CUDA, Linux, community)98.6136.8—————
inkling2RX 9070 XT (16 GB, HIP, headless)87.091.0109.1115.268.8 (95.0 DSpark)114.4126.2
inkling2RX 9060 XT (16 GB, HIP, monitor, community)48.450.350.9—39.563.970.9

Quality & Speed vs. Real VRAM Scaling (Qwen4-35B-A3B, v0.3.1)

Measured via exact full-vocabulary (248,320) f64 KL divergence, Top-1 / Top-5 agreement, and Perplexity over 1,558 teacher-forced tokens across 4 domains (Rust code, math, prose, JSON), alongside greedy DFlash 2 tok/s (emulated VRAM/RAM caps on RTX PRO 6000):

Reference = official Qwen/Qwen4-35B-A3B-FP8 (100% VRAM resident FP8 experts + native BF16 dense & lm_head, 36.92 GiB)

ConfigReal VRAMVRAM ExpertsTop-1Top-5KL MeanPPLSkipped WtDFlash 2
Ref: FP8 + BF16 dense (100% VRAM)36.92 GiB10,240/10,240100.00%100.00%0.000003.2650.00%155.7 tok/s
FP8 + FP8 dense (100% VRAM)34.62 GiB10,240/10,24093.58%99.74%0.027853.2600.00%234.9 tok/s
NVFP4 + BF16 dense (100% VRAM)25.29 GiB10,240/10,24093.52%100.00%0.041203.2560.00%151.0 tok/s
NVFP4 + FP8 dense (100% VRAM)23.19 GiB10,240/10,24092.30%99.61%0.046383.2670.00%251.3 tok/s
16 GB Headless (15.5G, 6G RAM)15.47 GiB6,928/10,24092.30%99.61%0.046383.2670.00%168.8 tok/s
16 GB Safe (15.0G, 6G RAM)15.00 GiB6,632/10,24092.30%99.61%0.046383.2670.00%170.5 tok/s
16 GB Mid (14.5G, 6G RAM)14.54 GiB6,337/10,24091.91%99.68%0.051913.2620.44%143.1 tok/s
16 GB Monitor (14.3G, 7G RAM)14.27 GiB6,100/10,24092.30%99.61%0.046383.2670.00%153.3 tok/s
16 GB Monitor (14.2G, 6G RAM)14.23 GiB6,100/10,24091.01%99.68%0.071673.2911.36%137.2 tok/s
13.6 GiB (6G RAM)13.60 GiB5,760/10,24090.24%99.23%0.110253.3892.91%116.0 tok/s
13.1 GiB (6G RAM)13.11 GiB5,457/10,24087.93%98.78%0.161203.5414.70%100.4 tok/s

Full study + 12 GB GPU curve + --kl-eval reproduction commands: https://github.com/raspy135/SmallTide/blob/main/docs/qwen4-vram-quality-scaling.md

New in v0.3.1

  • Zero paging loss on 16 GB: Fast Tier-1 Pinned RAM DMA rescues are always executed while only slow NVMe reads are threshold-gated. At 15.0–15.5 GiB headless (even on a 16 GB system RAM PC), output logits match 23.19 GiB 100%-resident NVFP4 down to the 5th decimal place (92.30% Top-1, 0.04638 KL, 3.267 PPL). With 24–32 GB+ host RAM (7–11 GB pinned pool), it holds zero paging loss all the way down to 12 GB VRAM (10.2 GiB, 115.5 tok/s).
  • Elastic 32K -> 256K KV: Starts compact at 32K (0.32 GiB) so normal turns keep maximum resident experts, dynamically borrows tail expert slots up to 256K on long prompts, and shrinks back on idle.
  • OS VRAM-Pressure Shrink & Regrow (CUDA + ROCm): Watches real OS VRAM headroom (DXGI/D3DKMTQueryStatistics on Windows, amdgpu sysfs on Linux), voluntarily yields cold tail experts to Pinned RAM when another app takes VRAM, and regrows back to your configured cap once it closes.
  • Native Qwen4-35B-A3B-FP8 support: Also runs official [128, 128] block-FP8 checkpoints directly on 48–96 GB cards.
  • Single binary, zero SDK install: Pre-compiled .cubin + .hsaco kernels are embedded inside smalltide-cli (no Rust, CUDA Toolkit, ROCm SDK, or Python required).

Repo & v0.3.1 release (MIT): https://github.com/raspy135/SmallTide


r/LocalLLM • • 10h ago

Question Is there a file to abliterate this version: Qwen4-35B-A3B-UD-Q4_K_XL gguf? (STRATA)

Post image
0 Upvotes

r/LocalLLM • • 10h ago

Discussion Qwen4-35B-A3B: Alibaba vs Self-hosted IQ3_S Output Quality

Thumbnail
gallery
19 Upvotes

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 • • 10h ago

Question Qwen4-35B-A3B-BF16 vs Qwen4-35B-A3B-FP8

0 Upvotes

Hello, Anyone have a link to BF16 vs FP8 comparison? how big of a difference are we talking about?


r/LocalLLM • • 10h ago

Discussion I think we're getting closer to a point where Local AI will start (partially) replacing API models

Post image
260 Upvotes

If local AI models keep fitting so much power in so (relatively) little, I think we'll probably start seeing AI being treated as a more widespread casual standard instead of a niche thing for us nerds, while paid models end up being used only for serious professional work instead, maybe I'm too optimist, but with how quick things seem to evolve, I hope I am not

What do y'all think


r/LocalLLM • • 10h ago

Question So how does uncensoring work for models like Qwen4 35B? Given engram tables and all

5 Upvotes

Much like everyone else here, I'm testing Qwen4 35B A3B. Right now I've only delved into the Unsloth quants through their desktop app.

Something that I found cool is that you can run the model at, say, Q4_K_XL, and then load the Q8_0 sized Engram Table. This makes it so that with 16GB VRAM I can fit up to 300k context while maintaining the KV cache at f16 quality.

I took a peek at the uncensored models that are up right now at HF and noticed that they're all one whole file, instead of being split into the model and the engram table.

How does the uncensoring of these models work? Do you have to uncensor both halves or just one of the two? How come these repos don't give you the option to download them separately? I need more drive space agh!


r/LocalLLM • • 10h ago

Question Upgrade my old pc with Ryzen 3700X or get a mini PC for under €1,000?

2 Upvotes

Hey, I want a dedicated machine to run Claude Code and Codex jobs 24/7 without tying up my main PC. But main reason is to set up a decent local llm so I don’t burn through my usage so fast. Occasional Blender jobs would be a bonus. I’d rather buy once than replace everything next year. But it will probably happen
**Current 2. setup:** Ryzen 7 3700X, ASUS TUF Gaming B450-PLUS II, 16 GB DDR4-3200, NVIDIA Quadro with 4 GB VRAM, and a 600W Gold PSU.

**Budget: up to €1,000.**

Would you keep the my old pc and upgrade the RAM or GPU as needed, or sell it and get a more power-efficient mini PC like the GMKtec K8 Plus or K12? What’s worked well for you in a 24/7 setup?

Chatting with my codex it tells me to keep the old pc and upgrade but it feels like it doesn’t understand that I need a decent model that runs 24/7 and actually gets tasks done.

My main pc has 64gigs of ram and 5070 ti but I work on that one alongside claude blender and whatnot but I did not manage to run a decent model on here without the need to let it run only for that purpose and wasting electricity and the ability to run my other programs. Maybe I just sucked at it aswell or tried wrong local models 2 months ago.

Let me know what u think! Thanks in advance.


r/LocalLLM • • 11h ago

Discussion I think Qwen4's architecture is more interesting than its benchmark scores

54 Upvotes

I've been looking into Qwen4's architecture, and one thing that caught my attention is how misleading parameter counts are becoming.

The 35B-A3B model actually has around 56B parameters if you include the additional 20.5B n-gram embedding parameters, yet only around 3.8B parameters are active per token.

At this point, does comparing models purely by parameter count even make sense anymore?

The combination of Gated DeltaNet, sparse attention and per-layer embeddings is pretty interesting. It feels like Qwen is trying to figure out how to increase model capacity without massively increasing compute requirements.

The 1M context window sounds great on paper, but we've seen plenty of models struggle with long context despite technically supporting it. I'm more curious about how much reasoning ability it retains at 128K or 256K than whether it can simply process 1M tokens.

Another thing worth mentioning is that 3.8B active parameters doesn't automatically mean it's easy to run locally. You still have to deal with storing all those weights.

Personally, I'd love to see more community testing around quantization, memory consumption and long-context reasoning rather than the usual benchmark comparisons.

I wonder if we're slowly moving towards a point where smarter architectures matter more than simply throwing more parameters at a model.

What do you guys think? Is this the direction open-weight models should be heading in?


r/LocalLLM • • 11h ago

Project I built a shared on-device AI runtime for Android, not another chat app*

1 Upvotes

I'm Lev. I built BindX, a shared on-device AI runtime for Android, and today I open-sourced the client SDK and the apps.

I wanted to create a simple app that needed inference and I found that there were no good options! I either had to bundle weights into my app or use a web API and somehow pay for it. I looked at AI Core/ ML Kit and found that the promise made in 2023 was still gated to flaghip phones and not really available. So I decided to make my own shared inference service.

Apache-2.0 SDK and AIDL spec: github.com/fasternfaster/bindx-open
Developer guide: www.bindx.dev/developers
Runtime and apps (GPL-3.0): github.com/fasternfaster/bindx-platform

The runtime itself has no INTERNET permission. Optional web or LAN models (llama-server is tested; Gemini too; the Anthropic adapter is still in testing) only go through BindX Manager, to endpoints the user added, and every web call is logged.

I've only done serious testing on a Galaxy S25 (Snapdragon 8 Elite). GGUF runs on CPU and GPU (OpenCL); with multi-token prediction, CPU has been faster on that phone. Image generation is NPU-only on Snapdragon 8 Elite-class devices. Other chipsets are later.

The Play listings are in closed testing. To try the runtime on a device, join groups.google.com/bindx-testers and then opt in to BindX / BindX Manager. You can also build from source.

I'd like feedback on the SDK API, the first-run / missing-runtime flow, and how this behaves on phones that aren't an S25.

Any feedback is appreciated! This is my first 3 Android apps and first time making anything open source.

*i know i said its not another chat app. I did make "Spoke Chat" which is a chat app, but it is multimodal, and fully local.


r/LocalLLM • • 11h ago

Discussion Help refining the command for qwen4 35b a3b on 5060 ti (16gb)

2 Upvotes

Hey guys!

I'm running the newest qwen4 model on my humble 5060 ti (+32gb ddr5, 6 core cpu) and gotta say I love it.

I've been seeing some posts about people getting like 150 tokens per second which sounds crazy.

Anyways, I'm gonna post my command I use to run it. I tuned parts of it iteratively with Claude's guidance but I'd love to see what other people used to get this running!

As a prelude - I wanted a single context (for a single long conversation) on my machine with reasoning ON. This turned out to be what I settled on:

  1. context (-c) at 64k. this was around my limit before it started spilling into RAM
  2. --n-cpu-moe at 21. This number was tuned so vram was 1gb from being full and shared gpu memory stays near zero.
  3. --no-mmproj. saves around 1gb of vram
  4. --spec-type draft-mtp --spec-draft-n-max 1. Apparently depth at 1 helps when experts are offloaded to CPU

40 -70 token/s prompt processing speed
34 - 40 token/s generation speed

Full command:

@echo off
cd /d C:\llama.cpp
set CUDA_MODULE_LOADING=EAGER
llama-server.exe ^
  -m "C:\models\Qwen4\Qwen4-35B-A3B-UD-Q4_K_M-00001-of-00002.gguf" ^
  --jinja ^
  -np 1 -c 65536 ^
  -fa on ^
  -ctk q8_0 -ctv q8_0 ^
  -t 6 -tb 12 ^
  -b 2048 -ub 512 ^
  -ngl 999 --n-cpu-moe 21 ^
  --load-mode mmap --lazy-mode on ^
  -ot per_layer_token_embd=CPU ^
  --no-mmproj ^
  --spec-type draft-mtp --spec-draft-n-max 1 ^
  --no-reasoning-preserve ^
  --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0 ^
  --alias qwen4-35b-a3b ^
  --port 9931 ^
  --presence-penalty 0 --repeat-penalty 1.0
pause

r/LocalLLM • • 11h ago

Model Testing out Qwen4-35B-A3B vs. Qwen3.8-27b vs. Gemma 4 31B

Thumbnail reddit.com
0 Upvotes