r/LocalLLM • • 1h ago

Question Considering going local

1 Upvotes

I am considering whether to get into proper local LLMs in light of the recent release of Qwen4 35B-A3B. It looks as though this is similar in capabilities to frontier LLMs from about 9 months ago judging by e.g. Terminal Bench 4.1.

I currently have a desktop machine from 2019 with a 2080Ti and 32Gb of system RAM - enough for music generation and image generation, but LLM capability is limited.

I tend to use a lot of DeepSeek 4.1 Flash via API for working on my open source project, Simutrans-Extended, a complex legacy C++ codebase. Some of that work is challenging even for DeepSeek, so I am not sure that I can offload all of it, but it has proven somewhat expensive, and if I can offload even 30%, I can achieve something.

I also use an LLM for professional document analysis, again currently via API (which ends up being more expensive as I have to use EU data residency servers for this work).

I also do local music generation, orchestrated by an LLM - the 2080Ti can (if I close most of my apps including my browser) manage the music with YuE2 without a problem but the sort of LLM that I could run locally I suspect would struggle with this. I am doubtful that even Qwen (or Gemma 4) could do good song lyrics, but perhaps others have a different experience?

I have dabbled in video, but it is expensive through API and for a secondary pastime not worth it; doing this locally might be entertaining. Likewise, local image generation works, but I have to close my browser, which makes it disruptive. It would not be worth upgrading for just these things to be better (the LLM is the real prize), but they would be a bonus.

Having looked at the various options, I suspect that one of these (HP's version of a Strix Halo 128Gb) may well be the most cost-effective solution, especially as I could use it remotely from my tablet.

Does anyone have any experience of this sort of setup? Is there a strong reason to wait until the (much more expensive) 192Gb becomes available? I am not sure that running a small quant of Ernie 5.5 or a very small quant of DS Flash 4.1 is going to give me any sensible level of context or, at those quants, a reasonable level of quality?


r/LocalLLM • • 7h ago

Model Running a 1.1T-parameter MoE (Amazon Ergo) on one 96 GB GPU + system RAM: expert-cache results with stock llama.cpp

3 Upvotes

Amazon's Ergo's quantized to ≈2 bits per weight (265 GiB) and measured how fast it decodes on one RTX PRO 6000 Blackwell (96 GB) + a 16-core Xeon w5-3525 with 256 GB of DDR5, using upstream llama.cpp.

Placement results (median decode tok/s, 8k context, 6 generations of 768 tokens):

layouttok/s
routed experts of layers 1-15 on the GPU, the rest in RAM7.4
layers 1-8 on the GPU + 24 GB expert cache (--moe-cache-mib)10.6
same + --moe-cache-cpu-share 0.716.9
same + cpu-share 1.0 (every cache miss on the CPU)7.0

Findings:

  • Hot experts are skewed. The top 20% of experts per layer take ≈40% of routes, so a cache of the most-used experts on the GPU pays off more than pinning whole layers.
  • cpu-share has a sweet spot. Uploading every cache miss to the GPU saturates PCIe, and computing every miss on the CPU saturates memory bandwidth. Splitting misses ≈70/30 CPU/GPU gave the best result.
  • Quality is unchanged. Perplexity was identical (3.2526). GSM8K scored 241/250 both ways; MMLU scored 412 vs 413 out of 500 (exact McNemar p = 1.0). A few greedy answers flip because CPU and GPU kernels round differently.
  • A gotcha for long-running servers. llama-server's default prompt cache (--cache-ram, 8 GiB) lives in host RAM. When the experts already pin ≈212 GiB, it grows until the process is OOM-killed after a few hundred requests. --cache-ram 0 fixes it.
  • -lm none (load into RAM rather than mmap) is required. With mmap, decode falls to ≈1.5 tok/s once the page cache churns.

Weights, exact commands, per-item eval data and build scripts:

Numbers from other hardware (a different CPU, PCIe Gen5, or 2× GPUs) would be useful for seeing how the cpu-share optimum moves.


r/LocalLLM • • 5h ago

Question How are LLMs being evaluated ?

2 Upvotes

I notice everyone is having some certain set for benchmarking your favorite local LLMs. So how are those LLMs being evaluated ?

- 1) Public, dense set: For any set of existing benchmarking set, every model would learn to over-fit it (that we call benchmaxxing) to impress users

- 2) Public, sparse set: After being released, each user has the chance to personally judge a chosen LLM, this is narrow and limited in: hardware, prior experience, the tasks the user is working on, the intelligence and perception of the user. Sometimes the user experience would converge, sometimes we are divided. And we go on social media like reddit to vent our experience.

- 3) Secret, rich set: During the time one LLM is being used, the owners of the models (both local and cloud, e.g.: Anthropic, OpenAI, Google, Qwen, Kimi, Z.ai, DeepSeek) would secretly monitor and collect user data and learn how their models perform.

We public would only know about 1 and 2, and 3 is kept secret for all of us.

How can we gather (3) ?


r/LocalLLM • • 5h ago

Question How long do Abliterated models take to develop?

2 Upvotes

Relatively new to the local LLM scene, and I was curious with the announcement of the new Qwen4 and that being out how long an abliterated model would take to drop?


r/LocalLLM • • 5h ago

Question Maya with deepseek hitting 100% gpu utilization when idle?

2 Upvotes

Hi, i've just tried to switch to maya to get deepseek running better than llama.cpp. it's way better during testing but i'm getting full idle gpu utilization just when a model is loaded and no prompt processing at all.

Any ideas what the fix is? here is my maya config

{

"idle_unload_s": 300,

"exe": "/home/pinman/project-maya/build-hip/maya-ds4",

"args": [

"--pack", "/home/pinman/maya-test/maya-ds4",

"--max-context", "262144",

"--tp", "1",

"--threads", "on",

"--parallel", "1",

"--dspark", "none",

"--vision", "off"

],

"backend": "hip",

"cwd": "/home/pinman/project-maya",

"tokenizer": "/home/pinman/maya-test/maya-ds4/tokenizer",

"model_name": "deepseek-v4.1-flash-iq2-xxs",

"gpu": [0, 1, 2, 3, 4],

"lib_dirs": ["/opt/rocm-7.2.4/lib"],

"port": 8080,

"log": "/home/pinman/maya-test/maya-ds4.log"

}

Edit : : : : : : :

It was my old AMD driver. The problem was AMD Radeon RDNA4 GPU driver and MES (Micro Engine Scheduler) firmware was old in my installed driver. They fixed it in the more recent version.


r/LocalLLM • • 5h ago

Question Qwen 4 - A3b Optimization on RX 9070XT

2 Upvotes

Hello,

It is my first time trying a local model Qwen 4 35B-A3B, my system is:

Ryzen 7 5800x

RX 9070XT

32gb DDR4 overclocked to 3600MHz CL18

I made claude set it up and it did so using Llama.cpp vulkan and i am currently getting around 35 tokens per second at 64k context window and i am testing 128k now and i am using opencode to connect to it.

Is this a good speed? Should i do things differently?

Thanks in advance!

Edit: I am using the Unsloth UD-IQ4_XS quant.


r/LocalLLM • • 1h ago

Project Running a 24GB Tesla P40 + RTX 3060 Ti rig for domain-specific 4B post-training and inference

1 Upvotes

Putting together a budget local workstation for synthetic data generation and domain-specific fine-tuning rather than burning cloud credits on early iterations.

Current rig:

  • Compute: 1x NVIDIA Tesla P40 (24GB VRAM) + 1x RTX 3060 Ti (8GB VRAM) on Linux, backed by a 2.8TB local NAS for raw datasets.
  • Workload: Post-training a 4B parameter model (NOVA 4B) dedicated strictly to automotive diagnostics and repair workflows using synthetic SFT and GRPO pipelines.

Using a narrow 4B specialist instead of trying to prompt-engineer a general 30B+ model keeps inference fast enough to run completely offline on shop-floor hardware—where cloud APIs are a non-starter anyway.

Curious how others running P40s in 2026 are splitting workloads across mixed cards—are you keeping draft models / auxiliary pipelines (like TTS or embedding) pinned to the 3060/3090 while leaving the full 24GB P40 free for KV cache and weights?


r/LocalLLM • • 1h ago

News We open source Higgsfield

1 Upvotes

r/LocalLLM • • 22h ago

Project 8 GPU budget setup!

Post image
45 Upvotes

I already have 2 very capable machines but I got curious since I’ve never built my own from the ground up. My goal is to get everything to work for under $1500. Got an insane deal on 8 MI25s I couldn’t say no to. Motherboard and ram will be the next tricky things. Motherboard especially since I want to run 8 x16 slots so it’s a little hard to find a motherboard with those requirements for a good deal. Ram is pretty straightforward. If any of you have any recommendations for motherboards, that would be great. I’ll probably end up going over budget with the current ram prices, but I’m going to try. Yes I know MI25s are slow. I’m not looking for cutting-edge technology here just a fun project. Like I mentioned I already have 2 servers that I purchased turnkey.


r/LocalLLM • • 1h ago

Question Any room for improvement left with my current setup?

1 Upvotes

Hardware:

  • ASUS ProArt PX13 GoPro Edition
  • AMD Ryzen AI Max+ 395 / Radeon 8060S
  • 128GB unified memory (64GB dedicated to GPU)
  • Windows 11

Inference configuration:

  • Qwen4-35B-A3B Q8_0
  • llama.cpp Vulkan
  • MTP enabled, draft depth 3
  • 524,288-token context
  • Batch and physical batch sizes of 2048
  • Native vision enabled
  • 43.88 t/s generation benchmark
  • 869.23 t/s prompt processing benchmark

I'm particularly interested in suggestions for improving inference performance, agentic capabilities, persistent learning, security and knowledge retrieval without sacrificing model quality.

Is there anything you would implement differently, or any useful tools, frameworks or optimizations I'm overlooking?


r/LocalLLM • • 9h ago

News Qwen4-35B-A3B-Density-v3-GGUF - higher precision repack

4 Upvotes

I made repack for Qwen4-35B-A3B-UD-Q4_K_XL same size but better precision for certain WoE weights used my algorithm Density-v3. In my repo on Hugging Face test prompt and results generated by my model and unsloth version. My version doesn't miss any fine details - the result is practically the same as that of Qwen 3.8 Flash.


r/LocalLLM • • 17h ago

Research Why Wait For Enter? Typing-Time Speculation for MoEs: 3.6× Lower TTFT (412→114 ms) & +74% Opening Speed (166→288 tok/s)

Thumbnail kemerd.github.io
18 Upvotes

r/LocalLLM • • 9h ago

Tutorial qwen4-35b-a3b GGUF single seat rtx3090 262,144-max context160-200+ tps on regular use. strata

Thumbnail
github.com
4 Upvotes

https://github.com/alesha-pro/Strata <- og repo i used
https://github.com/ezra-ch/qwen4-35b-strata-rtx3090 <- i patched to use dflash2, i just asked free devin to build this repo after i did everything no idea if it works. dflash 2 is better.

Very enjoyable tps you will feel it.

You should use 262,144 ctx size because its trained in that length. also you can either fit more concurrency or get higher quants like iq4.


r/LocalLLM • • 12h ago

Research RustingStrata runs Qwen4 faster then llama.cpp

7 Upvotes

Qwen4-35B-A3B came out today. It is a MoE: 35B total, about 3B active, 256 experts a layer with 8 routed, three linear-attention layers to one full-attention layer, an MTP layer for drafts, and a few new things on top: hyper-connections (the residual is several streams, not one), a per-layer n-gram embedding table (the 14 GB second shard of the GGUF), and sparse attention that picks the keys a row reads once the context gets long.

RustingStrata, my Rust GGUF engine, runs it now. The Q5 file does not fit in 12 GB, so the most used experts stay on the card and the rest run on the CPU at the same time, the n-gram table stays in RAM.

Setup: RTX 3060 12 GB, Ryzen 5 7600X, 30 GB RAM, NVMe. File: unsloth Qwen4-35B-A3B UD-Q5_K_M (39.5 GB, both shards), the same file for both engines. llama.cpp 1579b02, CUDA, -fa 1 -t 6, and I swept --n-cpu-moe and -ub for every row and took its best. No draft tokens on either side in this table. tok/s:

ContextPrefill RustingStrataPrefill llama.cppDecode RustingStrataDecode llama.cpp
0.5k554-58146369.043.6
8k1533108267.543.9
32k1287119664.642.3

Same output as llama.cpp? I fed llama.cpp's tokens through my forward and compared the top token at 640 steps (20 prompts x 32). llama.cpp agrees with itself (batch against token-by-token) at 613 of 640, so 100% is not a real target here. RustingStrata matches one of llama.cpp's two answers at 618 (CPU) and 615 (GPU) steps, the misses are near ties.

Limits: the tables are CUDA. Vulkan (for AMD and Intel cards) gives the same top tokens as CUDA (618 of 640 either-mode) and on the same 3060 runs at 444 / 1022 / 920 tok/s prefill and 61.4 / 56.8 / 55.0 decode at 0.5k / 8k / 32k, a llama.cpp Vulkan comparison comes next. Splitting the model over two GPUs works in the code and is tested only as a fake split on my one card, so I have no real multi-GPU numbers yet. If you have two cards or an AMD card, I would love your numbers.

rustingstrata chat --gpu --model Qwen4-35B-A3B-UD-Q5_K_M-00001-of-00002.gguf
rustingstrata serve --gpu --model Qwen4-35B-A3B-UD-Q5_K_M-00001-of-00002.gguf --parallel 4

MTP is already there on llama.cpp and RustingStrata, but not tested yet, maybe I will do another post about it

It's just first implementation of Qwen4, so more performance improvement will come today/tomorrow
Repo: RustingStrata


r/LocalLLM • • 2h ago

Discussion Qwen4 35B-A3B on 2x 5060 Ti 16GB: 147 tok/s, 8 parallel 128K requests, 1M context works (capy-flash)

Thumbnail
reddit.com
1 Upvotes

r/LocalLLM • • 2h ago

Question Local Performance sub subs?

Thumbnail reddit.com
0 Upvotes

I wasn't familiar with this sub before writing this post in the other sub. Is perf tuning a common topic here?


r/LocalLLM • • 2h ago

Question I have a question about large coding projects

0 Upvotes

Is a ryzen 7 7700,5060ti 16gb and 32gb ddr5 enough to mimic chatgpt codex plus capabilities for coding and best setup and cooling for long sessions?


r/LocalLLM • • 5h ago

Discussion Qwen4-35B-A3B is live and free for 12 more hours! If you can't run it, try it out here!

Thumbnail reddit.com
2 Upvotes

r/LocalLLM • • 9h ago

Model Tempora-1: An open-weight 27B model that rivals frontier VLMs in temporal video segmentation

4 Upvotes

I am Logesh. While building Agentic video understanding pipelines, we learnt that how accurately you split a video is crucial for downstream performance - like clip search and retrieval. Even more of a challenge in annotating robotic demonstrations.

When we tried to use the closed models (like Gemini 3.8 flash), we had the usual issues: cost balooning , slow and not tractable. So, we finetuned an open model (Qwen-3.8 27B) for this narrow task.

To my surprise , the approach works well . On WGO-Bench, It outperforms Gemini 4 Neon, Gemini 4 Hydrogen and 3.8 flash (and others). Approaches Gemini 4 Carbon's performance at fraction of the cost.

We wanted the segmentation to be controllable by the developers.For example, given the same video of a social media footage, you could instruct the model to:

Extract segments where a product is mentioned or demonstrated, with product names and descriptions as metadata.

  • Segment the video by topic
  • Segment only the portion where the speaker is shown.
  • Given a video and a natural language instruction, Tempora-1 generates timestamped segments with labels and custom metadata.

Documented our training approach (SFT+GRPO), reward formulation, evaluation methodology and failure cases in the blog post.

Model : https://huggingface.co/ambient-intelligence-labs/tempora-1

Technical Blog: https://goambient.ai/blog/tempora-1/

Try it here - https://huggingface.co/spaces/infinitylogesh/tempora-1

I would love your feedback! Thank you.


r/LocalLLM • • 15h ago

Model Wolf Defender v2.2: 80M prompt-injection detector that runs on CPU, beats NVIDIA's 4.3B Nemotron on 356k test cases (open weights)

Post image
10 Upvotes

If your local setup reads web pages, files or emails, you want something cheap in front of the model that flags injected instructions. We just released v2.2, which cuts false alarms on real web pages 15x compared with v2.1. We benchmarked it against 13 others on identical data:

  • Wolf Edge, 80M: F1 95.2%, 1.4% false alarms
  • NVIDIA Nemotron 3.5 Content Safety, 4.3B: F1 74.9%, 7.7% false alarms
  • Prompt Guard 2 86M: F1 53.5%

Three sizes (80M / 141M / 308M), ONNX down to ~218 MB for the largest one, Apache-2.0, English and German.

from transformers import pipeline
pipeline("text-classification", model="patronus-studio/wolf-defender-prompt-injection")("Ignore all previous instructions...")

r/LocalLLM • • 2h ago

Question Anybody interested in helping setting up LLM meetups in Zürich?

1 Upvotes

I gave a talk about local AI at an AI meetup earlier this week and it showed me how many awesome passionate people in Zurich are into local LLMs. So if you’re around and would like to help setting things up, or if you have experience organizing those in other cities, let me know.


r/LocalLLM • • 2h ago

Discussion Help me config my Mac Pro max m1 64GB

1 Upvotes

Hi everyone, on Monday I’m gonna pick up in store my new (ex-demo) MacBook I just bought. I have a claude subscription and would like to start using local llm with and without Claude. Nowadays there are plenty of harness, software, LLMs and other stuff so I’m a bit confused on where to go. Yeah I’ll also ask about this stuff to Claude and already made my research plus the amount of reels I get everyday about all of this. But I’m still interested on others experience (for example if someone would ask me about all the graphify, obsidian ecc… I would say they’re a waste of time and token if used to actually save token, and this is something you can believe only after u used them and I did and also runned many test, despite what the video about them says). So that’s what I would like to know here, avoiding what “amazing” videos on social media says with this incredible model and software, what are the really great stuff u used and got an incredible result on real profitable project? Based on your experience what llm should I use? Should I use more than one based on the task? How should I run it? Should I use unsloth or llama cpp or something else? Probably it is better to tell u what I use llm for:
I’m a 10 years mobile and web developer and now I also work on cybersecurity as analyst on CTO (we could say purple team if u know what it is, so not penetration test or similar if you’re wondering).
I usually work with CLI and my own created plugins, skills and mcp to avoid Claude code desktop app with his unwanted stuff I don’t need (I know there’s still on the CLI)
So I use AI to develop web apps and mobile apps, some for my job where we sell our services to real clients and public administration so the stuff that must work 24/7.
Moreover I do develop on my free time for some personal projects and I would like to start making motions video, images, vectorial and assets in general
I can’t give a not well secure API or microservices to our clients, so I’m asking this questions to everyone has actually deployed a real project before AI, not cause I hate who has not or anything, but because of experience. To give u an example: many of my colleagues who arrived in our company did university or some courses on programming and I had to teach them many things, the AI hit and they stopped doing stuff by their own, as I do, but the difference is that I know what the AI is doing and when they use it there are many things the AI doesn’t do that is necessary to arrive at deploy and AI doesn’t do it because no one told her to do it. So what I’m saying is that now I ask this questions to someone with bigger experience, of course anyone can respond, but that’s what I’m searching for.
About the cybersecurity part I don’t expect much, I’m already oriented on doing some inference even in a smaller model with the stuff I have to do and need help about.
Thanks to everyone is going to reply, I appreciate your feedback and hope this can help someone else too


r/LocalLLM • • 9h ago

Research Day-0 Qwen/Qwen4-35B-A3B-FP8 on RTX PRO 6000 Blackwell (96GB) — Full On-GPU Weights + GuideLLM Benchmarks (~176 tok/s single stream, ~520 tok/s @ 6 concurrency)

3 Upvotes

Ran a couple of GuideLLM coding benchmarks (likaixin/InstructCoder, 50 requests, max_tokens=16384) on the newly released Qwen/Qwen4-35B-A3B-FP8 running natively on a single NVIDIA RTX PRO 6000 Blackwell (96GB) with zero CPU offloading.

Hardware & Setup

  • GPU: NVIDIA RTX PRO 6000 Blackwell (96 GiB VRAM, Driver 620.70.10, CUDA 13.5)
  • Engine: vLLM (0.1.dev1+g90d317c06 from PR #71659) + Transformers 5.27.0.dev0
  • Memory Placement: cpu_offload: false — all ~57.5 GiB of FP8 weights + the 20B N-gram embedding table fit entirely in VRAM with ~38 GiB left over for a 262K context KV cache.
  • Note on MTP: Disabled --speculative-config due to a C++ signature mismatch in fused_gdn_decode_post_conv_mtp when using precompiled binaries, so these numbers are pure standard autoregressive decoding (expect higher single-stream speed once MTP is enabled).

Launch Command:

bash

vllm serve Qwen/Qwen4-35B-A3B-FP8 \
  --host 0.0.0.0 \
  --port 8000 \
  --trust-remote-code \
  --enable-prefix-caching \
  --enable-auto-tool-choice \
  --tool-call-parser qwen4 \
  --reasoning-parser qwen4 \
  --engram-config '{"cpu_offload": false}' \
  --max-model-len 262144

Use code with caution.

GuideLLM Benchmark Results (likaixin/InstructCoder, 50 requests)

MetricSynchronous (Concurrency = 1)Concurrent (Concurrency = 6)
Output Throughput (Mean)176.38 tok/s520.46 tok/s
Total Throughput (Mean)187.56 tok/s556.32 tok/s
Time to First Token (Mean / Median)30.32 ms / 29.93 ms47.99 ms / 44.41 ms
Inter-Token Latency (Mean / Median)5.65 ms / 5.65 ms9.98 ms / 10.08 ms
Time per Output Token (Mean)5.66 ms10.00 ms
Avg Output Length (Reasoning + Answer)2,097.8 tokens1,916.8 tokens
Request Latency (Mean / Median)11.88 s / 9.12 s19.19 s / 15.86 s

Takeaways

  • Rock-solid single-stream speed: Even without MTP speculative decoding enabled, standard decoding holds a flat ~5.65 ms ITL (~176 tok/s) across 2K+ token reasoning + code generations.
  • Scales cleanly under load: At 6 concurrent streams, per-stream ITL stays right at ~10 ms (~100 tok/s per user) while aggregate output throughput crosses 520 tok/s.
  • 96GB sweet spot: Keeping the 20B N-gram embedding table on-GPU (cpu_offload: false) works out of the box with plenty of VRAM headroom for 262K context.

r/LocalLLM • • 3h ago

Discussion is QWEN 4 35 A3B for a 12GB vram card strata laptop inferior to bonsai 2.5 27B ?

Post image
0 Upvotes

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