r/MacLocalLLM • u/hollis_monroe • 7d ago
r/MacLocalLLM • u/Havalynii • 7d ago
Intel MacBook + RX 6900 XT eGPU as a second local LLM node: what model would you run?
reddit.comr/MacLocalLLM • u/rik00o • 7d ago
Got Apple's Neural Engine and Metal GPU reading the exact same 4-bit weights in RAM — 707 tok/s 4k prefill, 98 tok/s decode, 0 swap at 128k on a 27B model (M4 Max)
reddit.comr/MacLocalLLM • u/CowsNeedFriendsToo • 7d ago
M4 Max MacBook Pro 127”8GB results
Setup: M4 Max MacBook Pro, 128GB Ram
Provider: LM studio
Model: Unsloth Qwen3.8-27b-UD-Q6_K_XL
Speculative decoding: Dflash
Draft model: incoai/Qwen3.8-27b-DFlash2-GGUF Splash Q8_0
Thinking on
Writing Tok/s: 38.7
Reading Tok/s: 177.5
2k prompt read @ 209 Tok/s
32k prompt read @ 178 Tok/s
90k prompt read @ 128 Tok/s
Thoughts? Qwestions? I wish I had bought an M1 ultra instead. Haha.
r/MacLocalLLM • u/bwrightphoto • 7d ago
M5 Max 128gb or M5 Ultra 96gb for LLM machine?
reddit.comr/MacLocalLLM • u/dhanushan75 • 8d ago
Running Inkling 2 Mini (26B MoE) on a 24 GB M4 Pro by streaming experts from the SSD : oMlx PR and Benchmarks
r/MacLocalLLM • u/DankpawsDev • 8d ago
Dankpaws/ERNIE-5.5-Flash-Preview-DankAttn-w2-g32 - 96 GB M5 Ultra in pure Metal 4. 1,800 tok/s prefill, 65–87 tok/s decode with DankAttn.
r/MacLocalLLM • u/AdFickle8681 • 8d ago
What actually made your local agent reliable? Mine finishes jobs now, but lies about finishing them
I've been building a fully offline agent on a small model (4B, running on a 16GB Mac) for everyday file tasks: sorting, renaming, cleaning up folders.
The basics are working: catching loops, keeping it on track over multi-step jobs. It completes noticeably more tasks than the raw model. But fixing one problem uncovered another:
It almost never gives up now. So when it fails, it fails confidently. Before, a failed run usually looked unfinished. Now most failed runs end with the model saying "all done!" when the folder says otherwise. And the rate of false "done" claims barely changed at all.
The other thing I keep hitting: the failures aren't dumb anymore. They're reasonable-looking wrong choices, like a file put in a sensible but wrong place, or one item quietly skipped. Loops are easy to detect. Plausible mistakes aren't.
So I'm curious how others running agents locally have dealt with this:
- How do you catch a model saying "done" when it isn't? A second model checking? Hard-coded checks on the result? Something else?
- Has anything worked for spotting "looks fine but wrong" decisions with small models?
- Is it worth spending extra compute (sampling several answers, retries, a judge model) on consumer hardware, or does the slowdown kill it?
- What's the one thing in your setup that made the biggest difference for reliability? Bonus points if it was something boring.
Would love to hear what's worked, and even more what you tried that didn't work. I've already thrown out a few ideas I was sure would help.
Also: if you're building something similar (local or offline agents, small-model reliability, harnesses or evals) and want to collaborate, comment or DM me. I'd be glad to swap notes, compare approaches, or work on something together.
r/MacLocalLLM • u/fnordonk • 8d ago
Gemini Neon tuned Mac M1/M2 kernel for Inkling 2 Mini :: All Vibes and toks
r/MacLocalLLM • u/SeaRefractor • 9d ago
Inkling-2-Mini support added to Splash v1.7.2
UPDATE: Splash 1.7.3 has been released and brings Vision to Inkling 2 Mini.
https://github.com/incoai/splash/releases/tag/1.7.3
Splash 1.7.2 has been released (I know, it was just recently 1.7.0 and then 1.7.1, fast development underway at Inco.Ai). With the new release a new supported model, Inkling-2-Mini.
Inkling 2 Mini is an open-weight multimodal model from Thinking Machines Lab for coding, tool use, and knowledge work. It has 26.4 billion total parameters, accepts text and images, supports up to a 1-million-token context window, and uses a looped architecture that runs its middle layers three times.
Inkling 2 Mini is positioned as a competitive option in the AI landscape, particularly for users seeking a powerful yet compact model for local deployment.
| Benchmark | Inkling 2 Mini | Comparison Model (Qwen3.8-27B) |
|---|---|---|
| DeepSWE v1.1 | 48.2% | 42.2% |
| SWE-bench Verified | 79.2% | 77.8% |
| BrowseComp | 79.0% | 61.6% |
I'm still using Qwen 3.8 Flash Next on my own setup, but I'm excited to see the ongoing development of the highly optimized for Apple Silicon inference engine, and the increasing numbers of supported models.
r/MacLocalLLM • u/Objective-Theme-1422 • 8d ago
If I'm new to Image generation on LocalAI what should I use? I've only used Local LLM not image gen (M5 Max 128GB unified)
reddit.comr/MacLocalLLM • u/Voodmany • 9d ago
Mference v2.1.0: Native Ephemeral Vision & Visual PDFs for Qwen 3.6 35B-A3B on a 16 GB Mac (Metal 4 + Sampled MTP)
Just shipped Mference v2.1.0 — bringing native ephemeral Vision + multi-page visual PDF support and Metal 4 / sampled MTP acceleration to Qwen 3.6 35B-A3B on a 16 GB unified-memory Mac.
- Prebuilt
v2.1.0macOS.app+ CLI/Server binaries: https://github.com/fjw4cfv2fb-afk/Mference-2.0/releases/tag/v2.1.0 - GitHub Repo: https://github.com/fjw4cfv2fb-afk/Mference-2.0
- Hugging Face Model Card (
voodmany): https://huggingface.co/voodmany/Qwen3.6-35B-A3B-4bit-MTP-Surgery-GTurbo
What's New in v2.1.0
- Ephemeral Vision & Visual PDFs (Zero Idle RAM Overhead for Text): Running a vision encoder pinned in unified memory eats gigabytes even when you're just chatting or coding. With
MferenceRepack --attach-vision, Mference streams all333BF16vision_tower.*tensors via coalesced HTTP Range requests into a standalonevision_weights.binsidecar — touching zero bytes ofmodel_weights.bin, INT4 nibbles, or weight surgery calibration. When an image or PDF arrives,Qwen36VisionEncodermapsvision_weights.binread-only withF_NOCACHEand double-buffered contiguouspreadstaging, executes the 27-layer ViT +2×2spatial merger on lazy-loaded Metal 4matmul2dkernels (vision.metal) with automatic Accelerate AMX (cblas_sgemm) fallback, caches compact[N_vis, 2048]FP16 embeddings (shared via.vpatchcache), and immediatelymunmap()svision_weights.binbefore the 40-layer MoE trunk prefill + 3D mRoPE indexing runs. Images & Multi-Page PDFs Across Every Frontend:
Mference.app: Drag & drop PNG/JPEG images or multi-page PDFs (defaultMaxPDFPages = 8, configurable up to64).- OpenAI HTTP/SSE Server (
:8080): Supports standard multimodalimage_url,input_image,image, and PDFfile/file_dataparts on/v1/chat/completions. - CLI (
MferenceCLI):--image <path>and--pdf <path>(repeatable).
Lossless Sampled MTP & Hit/Miss MoE Verify Pipelining:
- Enabled lossless sampled speculative decoding (
temperature > 0,top-k1...64) backed by a 64-threadgroup GPU softmax (logit.metal). - Added zero-spill templated batched slot-map MoE verify (
moe.metal) with Phase-1 / Phase-2 hit/miss pipelining and I/O-first miss ordering. - Fused multi-token Gated-DeltaNet verify + tail updates (
gdn.metal), added an SSD-spilled GDN checkpoint ring (GDNStateManager), hybrid MPP grouped MoE prefill, and zero-syscallF_NOCACHEtracking inPreadExpertStreamer.
- Enabled lossless sampled speculative decoding (
(Plus our existing lossless BF16 weight surgery calibration on Qwen3.6-35B-A3B-4bit: 25.0% -> 100.0% (8/8) Pass@1 on the 8-task AA suite at 16.47 tok/s avg / 18.36 tok/s peak on a 16 GB Mac.)
Feedback and hardware reports on other Apple Silicon Macs welcome!
r/MacLocalLLM • u/Shot_Tomato3427 • 8d ago
MacBook Air M5 (24GB RAM) – Only Getting 35–50 tok/s with Nemotron 3.5 Bolt E4B on Ollama. Is 100+ tok/s Achievable?
Hey everyone!
I'm trying to optimize local LLM inference on my MacBook Air M5 (24GB Unified Memory, 10-core GPU), but I'm struggling to understand why I'm not getting better generation speeds despite having a reasonable amount of memory headroom.
My Hardware & Setup
- Device: MacBook Air M5
- Unified Memory: 24GB
- GPU: 10-core Apple M5 GPU
- Inference Engine: Ollama
- Ollama Version: 0.40.18
- Model: Nemotron 3.5 Bolt E4B
- Context Size: 64K
- Quantization: Q4 / similar native quantization
Current Performance
When running the model through Ollama with a 64K context configuration, I'm observing approximately:
- Generation speed: 35–50 tokens/sec
- Available memory headroom: Around 7–9GB, depending on the run.
- Prompt processing: Around 357 tokens/sec in the example below.
Prompt used
Test Prompt
I used the following simple prompt to test generation performance:
make a simple python scriptThe model generated a Python greeting script, including code, execution instructions, and an explanation.
I used /set verbose in the Ollama CLI to capture the inference statistics.
This was a basic generation test, not a coding benchmark. My main objective is to understand the maximum practical generation speed achievable on this hardware.
Here is an actual inference result from my terminal:
total duration: 1m12.85928025s
load duration: 51.528ms
prompt eval count: 42 tokens
prompt eval cached: 27 tokens
prompt eval duration: 42.000959ms
prompt eval rate: 357.13 tokens/s
eval count: 490 tokens
eval duration: 9.850604417s
eval rate: 49.74 tokens/sWhat I'm Trying to Achieve
Considering that I still have approximately 7–9GB of memory headroom, I was expecting there might be room to optimize inference further.
My target is to achieve 100+ tokens/sec, ideally while retaining a native Q4 or comparable quantization without significantly compromising model quality.
I've also noticed similar performance limitations in my observations with llama.cpp, although I haven't yet completed a proper controlled benchmark with it.
What I've Already Been Wondering About
- Is this primarily a Metal GPU utilization or memory-bandwidth limitation?
- Can Ollama's inference configuration be optimized to extract more performance from the M5 GPU?
- Would native llama.cpp inference outperform Ollama significantly for this particular model?
- Are there specific settings for batch size, GPU offloading, KV cache quantization, Flash Attention, or context management that could improve generation speed?
- Is 100+ tok/s realistically achievable on an M5 MacBook Air with this model, or am I expecting too much from this hardware?
My goal isn't simply to run smaller models or sacrifice too much quantization quality. I want to understand how to get the maximum practical inference performance from the hardware I already have.
I'd really appreciate benchmarks, configuration recommendations, or experiences from anyone running similar models on Apple Silicon.
Thanks!
r/MacLocalLLM • u/PopMany2921 • 9d ago
M5 Max 64GB: Qwen3.8 Flash Next Q4 with SSD streaming — ~31–34 tok/s, including a 250K-token prompt
r/MacLocalLLM • u/ikeo1 • 9d ago
Making Hermes proactive — and an honest comparison with Grok Bot, Muse and Dots
r/MacLocalLLM • u/Top-Eye-8104 • 9d ago
we squeezed our 16.5gb inkling 2 mini quant into 8gb of ram and it still runs at 43 tok/s on an m5 max
hello folks! i'm danny, cofounder of atomic chat
inkling 2 mini dropped last week, so we made our own quants for it (AtomicChat/Inkling-2-Mini-GGUF) and tried running them on the macs we had: an m3 pro 18gb, an m4 max 48gb and an m5 max 64gb
on llama.cpp it didn't go great. on the m3 pro our 16.5gb AD-Q4_K just didn't load with default flags (metal oom) and the only thing that worked was --fit pushing most experts to cpu at ~4 tok/s. on the two max machines it ran, but at ~33-38 tok/s, which felt slow for a moe with ~3b active
we also run these models on the same laptops we work on and it's really annoying when one eats all the ram and everything else starts freezing. so the first thing we wanted was a flag that caps the model at ~8gb (feels like a sane amount to give it) and we started from there
the model itself looks really strong on benchmarks for its size, so we wanted it faster too. that's how we ended up building our own inference engine on top of llama.cpp (atomic engine). you give it a budget with --engine-budget-mib. the core layers stay in ram and the moe expert stream from ssd when a token needs them, so memory stays under that cap. we also added dspark drafting, where a small draft model guesses a few tokens ahead and inkling checks them in one pass
once atomic engine was working we started running benchmarks on our macs. on the m3 pro the 8gb cap let our 16.5gb AD-Q4_K load and it runs at ~10 tok/s. not fast, but it runs
on the m5 max memory isn't the problem, so there we looked at speed with our smaller AD-IQ2_M (8.7gb) next to llama.cpp on the same gguf
setup:
- m5 max 64gb, one engine running at a time
- atomic engine e110381 vs llama.cpp b12600 (official macos build, whole model on gpu, no drafter)
- AD-IQ2_M with an 18gb budget, AD-Q4_K with an 8gb budget
- dspark draft from AtomicChat, q8_0, 0.5gb
- -c 4096, flash attention on, q4_0 kv cache, --no-warmup
- prompts of 2k and 3.6k tokens, 512 tokens out, temp 0
- fresh server per test, numbers are from the first cold request. two warm repeats after it landed within 0.5%
- tok/s from llama-server's own timings, memory is peak rss
| quant | prompt | atomic | llama.cpp |
|---|---|---|---|
| AD-IQ2_M | summarize llama.cpp docs | 84 tok/s | 40 tok/s |
| AD-IQ2_M | continue a doc already in the prompt | 122 tok/s | 40 tok/s |
| AD-IQ2_M | repeated log (copy test) | 143 tok/s | 40 tok/s |
| AD-Q4_K | summarize llama.cpp docs | 43 tok/s | 38 tok/s |
122 and 143 are copy-heavy prompts where any drafter looks great, so expect around 84 on normal prompts. on those two the output was byte-identical to llama.cpp
on the m5 max, AD-Q4_K with the 8gb cap peaks at 6.3gib of ram while llama.cpp sits at 15.8gib
prefill on AD-Q4_K at 8gb is still slower (556 vs 812 tok/s) and with long prompts at 8gb decode drops below stock too. llama.cpp ran without a drafter because b12600 wouldn't load the unsloth dspark draft for inkling. we've only tested on metal so far
r/MacLocalLLM • u/AdventurousKeys • 10d ago
A free SDK for building Mac apps that run models on your Mac
Most of the available local-model tools are either a chat window or a server you point other apps at. I wanted something in between: a way for any Mac app to have a model built in, running on the Mac. So I've been building the LocalLM SDK, a free Swift package (Apache 2.0) for adding AI features to the native Mac app that you are building.
What do you get when you build an app with the LocalLM SDK?
- Native Swift and SwiftUI. No Python and no localhost server to install or ship; the model runs inside your app.
- The models you already run. Open-weight models through MLX, downloaded once and pinned to an exact version. Apple's on-device model, and Private Cloud Compute. Hosted models (Claude, GPT, OpenRouter) too, if an app wants them. The app picks a model per job, and switching is one line.
- Tools. The model can use Calendar, Reminders, Contacts, files and web pages, and any MCP server. A small picker offers it only the few tools each message needs, so a smaller local model isn't buried under tool definitions.
- Safety checks outside the model. Anything that changes data asks first, and a server that quietly changes its tools is held for review.
- Follow-ups that stay fast. The Mac doesn't re-read the whole chat on every reply.
- The Mac App Store. The SDK works under App Sandbox, so apps built on it can be distributed there.
I also keep a list of the open-weight models I've tested, sized for a 24 GB MacBook Air and a 64 GB Mac Studio, with how well each handles tools.
Apps built on it so far:
- JevDK, on the Mac App Store: a playground for small decision models.
- AnswerSearch, on the Mac App Store: a menu-bar answer engine that searches the web for you.
- WineNoob, on the iOS App Store: simple wine shopping app built with the SDK's MCP client and web access tool.
- LocalLM Lab (screenshot), waiting for App Store review: a free lab for trying models, tools and MCP servers on your Mac before building anything.
- ChatAgain, waiting for App Store review: a PCC-powered chat app with tools and MCP servers built in.
What app would you want running entirely on your Mac? I'm curious what people here would build, or wish someone would.
The SDK: https://thisbrain.ai/locallm/ · Tested models: https://thisbrain.ai/locallm/mlx-models.html
r/MacLocalLLM • u/dai_app • 9d ago
Run MoE models bigger than your RAM on Iphone, Mac, consumer GPUs: Viral Pagoda on 16GB Mac
Hi all,
in the last months I worked on BigMoeOnEdge, it's built on top of llama.cpp. It runs MoE models that are bigger then the memory of the device, and it configure itself for the machine where it runs.
It works with any MoE GGUF that llama.cpp can load, any quantization, no code per model.
OS: Android, iOS, macOS, Windows, Linux (arm64 and x86_64).
Backends: CPU, CUDA, ROCm (HIP), Vulkan, Metal, OpenCL, Hexagon NPU. Other llama.cpp backends load in the same way if you build them.
The first image: a 16 GB Apple silicon laptop, Qwen3.6-35B-A3B Q4_K_M (22 GB, so bigger than the RAM). A coding agent made this page from one prompt, nobody touched anything, 35 minutes. Experts read from SSD all the time, prefill on GPU and decode on CPU, both chosen by the planner.
r/MacLocalLLM • u/Opening-Ad5541 • 10d ago