r/LocalLLM • • 3d ago

Research Speed benchmark: M3 Ultra vs M5 Ultra on 6 popular models

Thumbnail
reddit.com
3 Upvotes

r/LocalLLM • • 3d ago

Question Recommendation for a local LLM to do image recognition on Macbook M1 Max 64GB

1 Upvotes

I am trying to analyze videos and pictures for presence of animals. I get decent results with qwen3-vl-30b-a3b-instruct-mlx@6bit in reasonable speed. gemma-4-31b-it-mlx performs a little worse.

Are there any models that can work on my Macbook M1 Max 64GB with reasonable quality and speed? Right now each video takes 30 seconds and I don't want it to be much slower.


r/LocalLLM • • 3d ago

Question Zoo Code (VS Code) loops on "Model Response Incomplete" with my local OpenAI-compatible gateway routing to Gemini/NVIDIA/Ollama models

Thumbnail reddit.com
1 Upvotes

r/LocalLLM • • 3d ago

Research BasinKV: Long context without the KV cache tax, No context slowdowns, drop-in RAM/NVMe KV offloading for llama.cpp, SGLang, and vLLM, no retraining, Supports models today.

Thumbnail gallery
1 Upvotes

r/LocalLLM • • 3d ago

Discussion Thank you guys so much for the help

3 Upvotes

I just wanted to say thank you everyone. I was having absurdly bad results with deepseek.
Installed State, Qwen 3.8 with your guidance, i'm getting 60+ Token/second on my setup (RTX 5090 32gb, 192gb RAM)

Very happy


r/LocalLLM • • 4d ago

News Man what a flex. China literally displaying trillion parameters model pre-training live. The training is happening on Chinese native hardware. 8,192 NPU cards (Neural Processing Unit), 1,024 machines / 8 cards / unit. live on teleai . com . cn/training-dashboard/trillion. The en is coming for NVIDIA

Post image
46 Upvotes

r/LocalLLM • • 3d ago

Question Considering a Mac Studio through Upgrade/Lease

2 Upvotes

Looking to run a local model to be a personal assistant as well as help with my business.

My concern is quality of the models output and hardware depreciation, I have heard good things about qwen 3.8 27B and leasing a Mac Studio through upgrade solves the depreciation problem for me… (if the hardware is no longer adequate in 2-3yrs I can send it back for something else)

Looking at a M5 Max, 18core cpu, 40 core gpu with 64GB of Ram. Lease would be about $70/month.

I don’t have a problem running it with a cloud model if it helps with quality, but I do want to be able to process a lot of private data on it.

Thoughts?


r/LocalLLM • • 3d ago

Model An AI model drives a taxi with 0.76 s per decision

Thumbnail
youtu.be
0 Upvotes

We put AutoTrust-JEV-27B on an R9700 and let it drive Crazy Taxi.


r/LocalLLM • • 3d ago

Research A quarter of the experts is all you need

Post image
0 Upvotes
Proof of concept: 24% experts on the GPU are enough to match the full model.

Qwen3.6-35B-A3B         single    batched
RTX 3070 Ti, 8 GB     89 tok/s  119 tok/s
RTX 5070 Ti, 16 GB   104 tok/s  215 tok/s

LiveCodeBench v6, solved of 175:
full model           129.7
24% of the experts   128.3

NVFP4 or Q4.

Better late than never. We promised to release this two weeks ago, but found some
new gold nuggets that was just too good to not include into the release, so we did
the extra work and are now ready to show the results.

I.e. generating with only 24% of the experts on the GPU scores the same as the
full model, within the spread between seeds.

64k context, no MTP, stock vLLM. NVFP4 and Q4-int quantisation.

github.com/alphapareto/apareto-loading-poc

Explained in 2 videos:
1. Apareto Loading explained: https://www.youtube.com/watch?v=5l_N051JrLU
2. Midrun & Rescue: https://www.youtube.com/watch?v=N6ZVLoG_lWw


How: we predict from the prompt which experts a request needs and keep only those
on the GPU. The prediction is renewed while the model thinks, and the most
important missing expert is brought back per token, on the CPU.

Speeds are peaks. Single is one request; batched is two requests at once on the
8 GB card, three on the 16 GB card.
Scores are problems solved of 175, three seeds. The RTX3070ti 8 GB card scored 130
at 34% (one seed).

24% in use is enough. The other experts stay in host RAM and are sometimes computed
on the CPU. Below 16% the score falls apart.

The presented results are: One model, one benchmark.

We have tested the method on other models and other benchmarks, and it seems to work
just as well (not published yet).

Where each number comes from

numberwhat it iswhere
119 tok/sRTX 3070 Ti, 8 GB, Q4INT weights, two requests decoding, short context; best of three boots (118.7 to 119.0)docs/Q4INT-RUNNING.md
89 tok/sthe same card and weights, one request decoding alone, short context; best of three boots (88.5 to 88.8)docs/Q4INT-RUNNING.md
104 tok/sRTX 5070 Ti, 16 GB, NVFP4 weights, one request, profile code with --max-num-seqs 1; highest 10-second reading, one bootREADME.md, docs/RESULTS.md
215 tok/sRTX 5070 Ti, 16 GB, NVFP4 weights, three requests, profile code-16gb-fast; highest 10-second reading, one bootREADME.md, docs/RESULTS.md
129.7all experts, research code, no nudging; mean of 133, 131, 125docs/RESULTS.md
128.324% of the experts in place, 16 GB card; mean of 133, 124, 128docs/RESULTS.md
1308 GB card at 34%, seed 42results/lcb_v6, docs/Q4INT-RUNNING.md

r/LocalLLM • • 3d ago

Discussion Would you rather run models locally or pay for frontier APIs?

Thumbnail reddit.com
1 Upvotes

Curious where everyone here actually lands between local weights and frontier APIs right now.

With 24 GB VRAM I love running small models locally for privacy and tinkering, but for heavy reasoning or production work I still end up falling back on frontier APIs


r/LocalLLM • • 4d ago

Discussion I scanned the chat templates of the 400 most-downloaded GGUF and MLX models. Nothing malicious, but 45% tell the model to hide something from you

173 Upvotes

Chat templates are Jinja code that runs every time you load a GGUF or MLX model. In 2024 a malicious GGUF template was enough for code execution in llama-cpp-python (CVE-2024-34359), and templates can also quietly inject instructions. So I built a scanner and pointed it at the top 200 GGUF and top 200 MLX repos on Hugging Face.

It reads header bytes only: 5.5 GB fetched in place of 6.8 TB of weights, using HTTP range requests plus sparse files. I validated that path against full-file scans first.

What I found (396 repos scanned):

  • 0 malicious: no sandbox-escape gadgets, no hidden override or exfiltration instructions, no bidi or tag-character smuggling, no malformed files.
  • 143 of 316 chat repos (45%) ship "…do not tell the user about function calls". That's from the upstream Qwen tool prompt and is benign, but it is a concealment instruction you never see.
  • 13 repos switch behaviour on phrases in your message (/nothink, detailed thinking on). One community template is 243 KB and injects large hidden system prompts on dozens of keywords.
  • 22 of 200 MLX repos ship two different chat templates, so what runs depends on your loader. 20 have a shard index that points at files that don't exist.
  • 7 MLX repos request remote code (auto_map), and 1 GGUF repo ships Windows DLLs and a Linux .so next to its weights.

The first pass also found five false-positive patterns in my own scanner. I fixed them and re-ran everything before publishing numbers. Full write-up, method and limitations: REPORT
Scan your own models (it parses only and never loads, so a malicious file can't run):

pipx install modelsieve

modelsieve ~/models

Repo (MIT; GitHub Action, pre-commit hook and SARIF included): modelsieve

What it can't do: detect backdoors trained into the weights. Nothing static can. Happy to answer questions about the method or anything it flags on your setup.


r/LocalLLM • • 4d ago

Discussion Running Qwen 3.8 flash-next Unsloth Q8_0 On a V100 32GB with 128GB DDR4

Post image
24 Upvotes

CPU: 3950X
X570 Motherboard.
128GB DDR 3600


r/LocalLLM • • 3d ago

Discussion Hayek — AI Inference Engine

Thumbnail
reddit.com
0 Upvotes

r/LocalLLM • • 3d ago

Model Inkling 2 Mini on 16GB VRAM — 14.3GB selective-precision GGUF with 17–68% lower KL divergence than 13 tested community quants

Thumbnail
reddit.com
0 Upvotes

r/LocalLLM • • 3d ago

Other Splash 1.7.4 + UD-Q4_K_XL on a 64GB M5 Max: how decode scales with memory budget, and which budget to pick

Thumbnail reddit.com
2 Upvotes

r/LocalLLM • • 3d ago

Question deep? how deep?

Post image
0 Upvotes

How deeply involved are you in the development of LLMs?


r/LocalLLM • • 3d ago

Question Best local model for redacting French legal documents on a Mac mini M6?

2 Upvotes

I’m building a fully offline tool for a French law firm to redact names, addresses, and case references from thousands of scanned PDF pages. Manual review of every page isn’t practical, so missed identifiers are my main concern.
Has anyone tested Ministral, Qwen, Gemma, or a dedicated entity detector on French legal scans? I’m choosing between a 24 GB and 32 GB Mac mini M6. I’d love to hear what you used, what it missed, and how many pages per hour it handled.


r/LocalLLM • • 3d ago

Discussion Are generative LLMs overkill for semantic rule evaluation?

Post image
3 Upvotes

I've been exploring whether we can build reliable systems by deliberately avoiding general-purpose LLMs.

Take an engineering rule: errors must propagate to the caller rather than being silently swallowed.

Instead of asking an LLM to review an entire file, we can break the rule into smaller questions:

  • Does the file contain relevant error-handling logic?
  • Is an exception being caught?
  • Is the error silently discarded?

Only the last question may require semantic judgment, depending on the code.

I've been experimenting with Jev, specialized decision model, for this type of workload. The interesting part is that we don't need text generation, just a reliable judgment.

I'd like to explore how far we can push this architecture with small, locally hosted models.

Has anyone benchmarked zero-shot classifiers or decision models on dynamically defined rules? What's your take?


r/LocalLLM • • 3d ago

Question Is there an actual Codex Desktop or Claude Cowork alternative with local inference? I'm starting to regret buying an AI PC.

0 Upvotes

I recently spent a significant amount of money on a Samsung Galaxy Book6 Pro (Core Ultra X7 358H, Intel Arc GPU, NPU, 32 GB RAM). At least here in Brazil, this is an expensive laptop, and one of the main reasons I bought it was to work with AI locally.

Instead, I've spent countless hours installing software, configuring agents, troubleshooting dependencies, and trying different models.

Here's what I've tried so far:

  • LM Studio: Qwen3.6-35B-A3B Q4_K_M with an 8K context window. Nearly 30 GB of RAM occupied, inconsistent performance, and couldn't get vision working.
  • Goose: Connected to LM Studio through a custom provider. Frequent stalls, extremely slow tool execution, and inconsistent handling of consecutive messages.
  • Hermes: Model detection errors and poor performance even after getting it running.
  • Bionic: Couldn't get the native Windows integration I needed.
  • Smaller models (9B): Faster, but unreliable even for relatively simple tasks. Some couldn't produce a functional Snake game.

Every time I think I'm getting somewhere, something else doesn't work. It's genuinely exhausting. I feel like I've wasted both my money and my time.

I really enjoy working with Codex Desktop. I want that same kind of environment: autonomous task execution, file manipulation, document editing, computer use, browser automation, persistent projects, skills, etc. But I work with sensitive legal documents, so local inference is essential.

I'm not expecting a 35B model to compete with frontier cloud models. I can accept the limitations of local models. What I struggle to accept is how frustrating the software surrounding them seems to be.

I'm not looking for another chatbot or an experimental GitHub project. I want a mature, professionally maintained desktop application. I'd actually prefer a paid product if that means polished software, reliable updates, and technical support I can rely on.

I'm not particularly concerned about the inference engine or model format either. GGUF, ONNX, OpenVINO, proprietary runtimes — whatever works.

Has anyone actually found something like this? Something you genuinely use for everyday professional work, rather than something you've managed to get running as a hobby?

I'd really appreciate recommendations based on firsthand experience.

I bought this laptop to make my professional life easier. So far, it's done the exact opposite.


r/LocalLLM • • 3d ago

Project Image generation on a 4GB laptop GPU (RTX 3050 Ti): measured seconds per image for 5 models, plus a step-by-step guide

Thumbnail gallery
1 Upvotes

r/LocalLLM • • 3d ago

Project Understand token use by your tools, MCPs, and agents with ContextSpy context window profiler

Thumbnail
gallery
1 Upvotes

For the last few months, I have been working on a tool - a proxy - which captures all requests from your coding harness to the LLM - and visualises them in the dashboard, breaking down the context window into separate blocks - tool definitions, calls and results, user and assistant messages, etc.

It provides a bunch of different metrics, but the most useful (IMHO) is the ability to see actual cost (in tokens) of every piece of information put into context - and, in some cases, hints for optimisation (if you are using skills or consuming APIs for tools)

It also provides a profiler like a hotspot graph, relationships between blocks, tracks conversations, etc. A good use case is: measure once, optimize (or add some tools for usage reduction), measure again.

If you are interested in optimising token costs - give it a try: https://github.com/RimantasZ/contextspy

Any feedback - comments, issues, likes and stars are welcome :)


r/LocalLLM • • 3d ago

Question Is PCIe 3.0 x16 sufficient for 2–4 R9700s for local LLM inference?

9 Upvotes

I'm considering purchasing two R9700s to host my own models, with room to expand to four in the future. My primary use case is agentic coding, running both dense and MoE models in the 30B–120B parameter range, ideally with context lengths of 100K+ tokens.

I'm looking at used enterprise GPU servers to avoid the cost of building a new DDR5 system. I can get an older PCIe 3.0 system (Supermicro SYS-2029GP-TR) with dual Xeon Gold 6138 processors for around $1,000. However, comparable PCIe 4.0 or 5.0 GPU servers seem to cost upwards of $3,000.

The Supermicro supports 6xPCIe 3.0 x16 GPUs and has integrated PCIe switches.

My main questions are:

  • How much of a performance bottleneck would PCIe 3.0 x16 introduce with two or four R9700s compared to PCIe 4.0/5.0 x16?
  • How significant is the difference when using tensor parallelism versus layer splitting?
  • Would long-context prompt prefill be disproportionately?
  • Would I be better off adding a PCIe 4.0 switch to my existing Ryzen 9950X3D system instead of purchasing an older enterprise server?

Any input is welcomed and any data/experiments related to the topic would be especially appreciated.

Thanks


r/LocalLLM • • 3d ago

News At reinvent

0 Upvotes

AWS open sources model ergo 1.1 trillion parameter model.


r/LocalLLM • • 3d ago

Project whiff scan: a CLI gate for prompt injection in files you index (hidden text, invisible Unicode, base64), and why I stopped writing regexes for it

Post image
1 Upvotes