r/oMLX • • 1d ago

I put two Mac Studios behind one endpoint for embedding and rerank work — here is what the second machine actually buys you

Thumbnail
gallery
8 Upvotes

Most local-inference benchmarks measure one machine. That is the easy case. The question I kept running into is the second one: when two Macs sit behind one endpoint and the traffic is hundreds of small, boring calls, does the second machine actually help — and how do you see whether it is pulling its weight?

What this workload is, if you have not touched it. Embeddings turn text into vectors so you can search by meaning instead of by keyword. A reranker takes the thirty-odd candidates a first pass returned and reorders them by how well each one really answers the query. Neither streams, neither keeps a conversation, neither caches a prefix: they are short HTTP calls that return one JSON body, and a real pipeline fires them continuously while somebody is typing. Run them on the same machines as your chat models and they compete for the same GPU — which is why I wanted them balanced properly, and measured honestly.

The setup. Two Mac Studios — an M5 Ultra (512 GB) and an M3 Ultra — each running oMLX, each holding the same embedding model (Qwen3-Embedding-4B, 4-bit) and the same reranker (Qwen3-Reranker-0.6B, 4-bit). In front of them RIPPLE, an OpenAI-compatible proxy I wrote, which places each request by measured load and by which machine actually has the model resident.

The numbers. 20-second runs, 8 concurrent requests per machine (16 through the proxy), zero failed requests.

Reranking, 20 documents per call:

  • M5 Ultra alone — 8.7 reranks/s, 16,500 tokens/s

  • M3 Ultra alone — 5.6 reranks/s, 10,600 tokens/s

  • both, through the proxy — 13.5 reranks/s, 25,600 tokens/s

That last figure is 94 % of the two machines' capacity added together. The proxy keeps both busy; it does not make either one faster.

Embeddings, ~90-token inputs:

  • M5 Ultra alone — 32.6 requests/s

  • M3 Ultra alone — 10.9 requests/s

  • both — 42.1 requests/s (97 % of the sum), with the same p50 latency as one machine (234 ms vs 229 ms)

Two caveats I would rather state than have pointed out. The token figure for reranking is prefill: a rerank is one forward pass with no decoding, so 25,600 tokens/s is not comparable to a chat model's generation rate. And a fleet does not make a single request faster — with both machines saturated, p50 went from 861 ms to 1.1 s. What you buy is throughput and headroom, not speed.

The part that surprised me. Counting load by requests lies the moment calls differ in size. In one mixed run, one machine served 74 % of the requests but only 64 % of the work, because the other machine happened to get the heavier documents — 3,700 tokens per call against 2,300. The node doing the heavy lifting looked lazy. That is why the dashboard measures both, and why the distribution block can be switched from requests to tokens.

What it looks like. One block per model, one row per machine: the bar is the actual share, the tick is the target from the weights, and the note says what the number is made of.

What this is not. It is not a model benchmark, and it is not a claim that two Macs beat a GPU server. It is a measurement of the plumbing: given two machines and a lot of small calls, how much of their capacity do you actually get, and does the dashboard tell you the truth about it.

Code, docs and the manual: https://github.com/vogel61/ripple


r/oMLX • • 1d ago

I built a dock in my Pi editor that hooks into omlx and showcases what's happening inside the model as it generates

31 Upvotes

Hi all! I wanted to share a fun interpretability project I've been working on: https://github.com/nanastassacos/metalscope -- I've been a big fan of oMLX and use it mostly as my go to inference engine.

I don't touch any of the kernels just install a bunch of hooks in the places I'm interested in and capture the logits and internal activations and then I run analysis live in a dock in Pi.

/img/7epapu60ne4i1.gif

What's in the dock:

Token probabilities. What else the model might have said at each token, plus a map of the whole reply. The probabilities only mean something relative to what's around them. Ask for the most nonsensical poem it can think of and the map is mostly red and yellow, but the model isn't uncertain. Ask for code and it's almost entirely green. The tokens that stand out from their neighbours are likely where the decisions were being made.

/img/l2xjsp71ne4i1.gif

Expert Maps. Every layer's experts as a grid, lighting up per token, and you can see the sparseness: a few experts fire far more often than the rest. You'll almost always find experts for names, places, colours, fruits... Below, every one of the Knights of the Round Table's names goes through the same expert in layer 8 (Qwen-Flash-Next).

/img/tm3aavm2ne4i1.gif

Logit and Jacobian lenses. What's "forming" at the intermediate layers, sometimes words that only appear later in the reply. The logit lens is free; the J-lens is learned once per model with /jlens learn. On the Chinese models the lenses often show Chinese characters internally even in English replies, and they're conceptually related, so it's no surprise a model sometimes drifts into another language.

/img/87b7v3pane4i1.gif

Engram. QFN and DSv4.1-Flash have an engram, a lookup that preloads context-free knowledge (King Arthur, the Roman Empire). Turn it off and you can see which tokens it helps and which it hurts. With thinking on, the Engram's contribution is mostly in the thinking, and the final response mostly copies the drafts in the thinking trace. If the engram were expensive, the reply is where you'd turn it off. Unfortunately, it's insanely efficient.

/img/y19iz59cne4i1.gif

Residual streams. How much each layer contributed to a token, and on models with hyperconnections (QFN, DSv4.1-Flash) which stream. You have to compare to the average. On their own, the same layers and streams are always the biggest, which gives a static picture; the token-specific information is in the spikes.

/img/bu84w4kdne4i1.gif

There's also a mini dock, which serves the original avatar idea: a fun visual on the side while the model works.

/img/9yx22oafne4i1.gif

Steering. This already exists in ds4 and has been demonstrated by others; metalscope wraps it in one command. /concept learn shakespearean has your model write pairs of texts with and without the concept:

"Forsooth, the bus hath tarried full twenty minutes, and 'tis raining upon us all most bitterly," I grumble at the stop.

"Honestly, the bus has been delayed twenty minutes, and it is raining on all of us heavily," I grumble at the stop.

The difference between the model's average internal state on the two sides is the steering vector. It gets a default dose that hopefully doesn't break the model, and you can turn it on and off or change the dose in the dock. The J-lens gives single-word steering too: /steer old>new swaps one word for another.

/img/6ws52r3hne4i1.gif

Full write-up with clips and charts: https://nanastassacos.github.io/posts/2026/11/metalscope/

Would love some feedback on it from other omlx users.


r/oMLX • • 1d ago

Researcher gets instant document prefill with inkling

19 Upvotes

Apparently inkling doesn’t use rope which means you can preprocess input documents to load instantly into model context

theres other optimizations that boost context length too even on 48GB RAM capacity

would be nice to see some of this rolled into omlx

https://eriskii.net/research/inkling-ikv


r/oMLX • • 1d ago

how to get API key from omlx ?

Thumbnail reddit.com
1 Upvotes

r/oMLX • • 3d ago

Inkling 2 Mini vs Qwen 3.8 27B

Post image
74 Upvotes

I wanted to see how intelligent Inkling 2 Mini was for a daily driver for coding work as an agent (opencode).
Following up from my qwen 27b vs flash next post https://www.reddit.com/r/oMLX/s/iwjQbYwcDG

The Qwen 3.8 fine tune is sabi-noema and help out a ton of those infinite thinking spirals that stock qwen can get into. I wouldn't index too hard into those performance numbers as oMLX gets faster with Inkling 2 Mini everyday. Intelligence benchmarks is mainly what I'm evaluating.
Weights are chosen based on quality of how they perform for the specific model architecture. Qwen 3.8 27B is a dense model and performs well at 6bit quant, similar to 8bit. 4bit degrades. Inkling 2 Mini is trained with a mix of 4bit for the expert layers and 8bit for the final layers, so I didn't see the need to compress it further.

Inkling 2 Mini is impressive for a smaller model and similar agentic capabilities. The dense qwen model does beat it on raw real world intelligence by just having a broader knowledge set loaded all at once. Inkling 2 Mini is a mixture of experts model so it doesn't load all of its parameters as you know.

Sticking with Qwen for my main driver but I've heard that this model is curious and performs well when given more context (source code, internet searches, etc). So it could perform better than the benchmarks suggest when in a RAG-ish type workflow where you inject context it needs to know. A dumb robot that's knows it's dumb and opts to search could perform better than an overconfident that is stupid faster.


r/oMLX • • 2d ago

I ran the full 1.56 TB Kimi K3.1 Pro on four Mac Studios and checked it against Moonshot's API. Numbers, a 1M-token test, and the patches.

Thumbnail
reddit.com
4 Upvotes

r/oMLX • • 2d ago

Read & Interpret oMLX Logs

8 Upvotes

In gratitude for the fine work done by everyone who works on oMLX, and to potentially help all members of the community, I wanted to share a utility that I wrote (with Claude, ChatGPT, and Qwen) that helps me track and analyze log files written by oMLX.

The utility reads oMLX log files (in real-time or after the fact) and displays log info in two different views:

  1. An execution trace, that aggregates multiple individual log records collected during a given turn.

  2. A log-record based trace, that shows each entry from the log.

Both views show structured, interpreted, versions of the log info along with the raw log record source.

Never writes to your log files. Does not interfere with oMLX. Doesn't collect any data or do anything nasty.

Open source, MIT License, on GitHub for your consideration:

https://github.com/YogiVirabhadra/omlx-inspector

You DO need to build it yourself. Sorry.

Requirements:

  • Xcode with a Swift 6 compiler and a macOS 27 SDK, installed at /Applications/Xcode.app for the build script below.

  • Python 3 for build-time source discovery.

No third-part packages or running database is required.

Clone the repo. Check it out. Build it. Play with it.

Happy to hear your comments here, good or bad. Hope you find it useful.

Edited to add: New version pushed on 28 November 2026. A few bug fixes and many, many, code updates. If you downloaded the previous version, you'll find the code in this release FAR more readable and maintainable. Sorry for what was release a slightly premature release.


r/oMLX • • 3d ago

📌 Jundot/omlx — Daily Digest (2026-11-26 09:03 -> 2026-11-27 09:05)

10 Upvotes

✅ 3 issues closed · 13 PRs merged

🐛 BUGS & FIXES
#3342 MTP enabled with missing embedded tensors silently serves target-only completions
Labels: outdated
Summary: Codex agent identified silent fallback to target-only mode when MTP tensors are missing.

#4891 fix(api): enforce required and named tool_choice on chat completions
Summary: Enforces strict tool_choice validation for API requests.

#4626 fix(qwen4): load matching standalone MTP heads
Summary: Corrects loading of standalone MTP heads for Qwen4-Exp checkpoints.

#3811 fix(specprefill): keep selected tokens at their original positions on mRoPE VLMs
Summary: Fixes position mapping for sparse prefill in mRoPE vision-language models.

#5673 fix(server): surface dead MTLCompilerService as actionable 503
Summary: Returns clear 503 error when Metal compiler service is unavailable.

✨ FEATURES
#5075 Time To Full Decode Speed (TTFDS) and Stream Interrupt
Summary: Adds metrics for full decode speed and stream interruption handling.

#5660 Support Lightning MTP for prism-ml/Ternary-Bonsai-2.5-27B-mlx-2bit
Summary: Enables Lightning MTP support for Ternary-Bonsai-2.5-27B-mlx-2bit.

#4221 feat(sampling): add DRY repetition penalty
Summary: Implements DRY (Don't Repeat Yourself) penalty for sampling.

#3762 feat(anthropic): accept per-request SpecPrefill overrides on /v1/messages
Summary: Allows overriding SpecPrefill settings per request in Anthropic API.

#5678 feat(inkling2): opt-in generation_opener so the first token is visible
Summary: Adds opt-in generation opener for Inkling 2 to ensure first token visibility.

⚡ PERFORMANCE
#4896 perf(qwen35): 128-key blocks for long-context tensor-op verify attention
Summary: Optimizes long-context attention with 128-key blocks for Qwen3.5.

#4895 perf(qwen35): fuse only the real verify rows in tensor-op attention
Summary: Fuses only necessary verify rows to improve tensor-op attention performance.

#4882 perf(mtp): batched Lightning MTP under concurrency (from #4853)
Summary: Implements batched Lightning MTP for concurrent requests.

#5677 Support Lightning MTP for Ternary-Bonsai-2.5-27B-mlx-2bit
Summary: Adds Lightning MTP support for Bonsai 2.5, verified on M4 Max.

#5674 perf(inkling2): run Lightning MTP for concurrent requests
Summary: Enables Lightning MTP for concurrent Inkling 2 requests with batched verify.

#5634 moe_offload_compat: admit bailing_hybrid (Ling) expert streaming
Summary: Supports expert streaming for Ling models via MoE offload compatibility.


r/oMLX • • 4d ago

oMLX 0.8.4: much faster Inkling 2 Mini and DeepSeek V4.1, plus LoopCD support

Thumbnail
gallery
171 Upvotes

Hey everyone!

oMLX 0.8.4 is out, and this one is mostly about Inkling 2 Mini. A lot of people sent kernel PRs for it since 0.8.3, and together they made it much faster on the same Mac with the same model. Just update and give it a try.

Faster Inkling 2 Mini (oQ4e, Lightning MTP on, M5 Ultra, temperature 1.0)

Workload0.8.30.8.4
16K prompt, prefill3,668 tok/s5,664 tok/s (+54%)
128K prompt, prefill1,895 tok/s4,239 tok/s (+124%)
Zero-shot coding, decode113.1 tok/s160.2 tok/s (+42%)
128K prompt, decode56.2 tok/s112.1 tok/s (+100%)
8 requests at once, total decode225.3 tok/s380.2 tok/s (+69%)

Inkling 2's experts can now stay on SSD, so on a 24 GB Mac the model takes 10.2 GB instead of 17.0 GB, and a 14.8K prompt that used to run out of memory now runs. M1 and M2 Macs also get faster float16 expert kernels, and the kernel errors some of you hit there are fixed.

LoopCD for Inkling 2 Mini

LoopCD comes from a recent paper, "Decoding Looped Transformers Better for (Almost) Free". When it picks each token, it compares the model's last loop pass with the first one, and it needs no training and no extra model. In my tests it scores a bit higher.

BenchmarkOffLoopCD
ARC-Challenge (acc_norm)69.62%71.93%
HumanEval (passed of 164)152155

It's off by default and costs 9-13% decode speed. You can turn it on in Model Settings > Experimental Features.

Faster DeepSeek V4.1

With several requests at once, DeepSeek V4.1 decodes 10-24% faster in total (4 requests: 113.5 -> 140.3 tok/s on M5 Ultra).

Release notes: https://github.com/jundot/omlx/releases/tag/v0.8.4

70 PRs were merged since 0.8.3, 43 people contributed to this release, and 19 of them did it for the first time. Big thanks to iggerask, fneto1977, masterfasa, j3k0, bleugreen, dhanushan75 and everyone else who sent PRs and tested builds!

I've always said oMLX should let a friend who bought a MacBook only yesterday enjoy local AI today, and it's really nice to see it get a little closer with every release.

If something doesn't work right, please open an issue on GitHub. 🤗


r/oMLX • • 4d ago

Qwen3.8-27B locally on Apple Silicon at 136+ tok/s decode & 650+ tok/s prefill in ~16 GB RAM, open-source C++/Metal inference engine

Thumbnail
reddit.com
7 Upvotes

r/oMLX • • 4d ago

📌 Jundot/omlx — Daily Digest (2026-11-24 09:03 -> 2026-11-26)

9 Upvotes

✅ 18 issues closed · 64 PRs merged (showing 29 of 64)

🐛 BUGS & FIXES
#5643 Rank-Zero Inference Stream Time out

#5629 Released Raon-1-mini-mlx fails to load five reasoning_effort_steering tensors

#4876 Splash Split GGUF incorrect memory requirement

#4720 Clustering Bug - DeepSeek V4.1-1017

#4768 [VLM] Safeguard large Qwen multi-image requests against upstream MLX pad corruption

#5570 Inkling 2 Mini requests fail on M1 Max: Thread group size (576) is greater than the maximum allowed threads per threadgroup (448)

#5305 POST /v1/systemone: a queue-full error raised after the response has started returns an unhandled 500 and a cut connection instead of a 503

#5491 Master API key ships in plaintext in every GET /admin/api/stats response (200 ms poll while streaming) and in GET /admin/api/global-settings; api_key_set + fingerprint_key() covers the only consumer

#5592 Vision feature cache persists all-NaN features (Qwen3-VL), making one image fail forever with '!!!!' output

#5590 [Bug] Hy4-Flash LiveCodeBench scoring corrupted by unstripped reasoning

#5404 Repeating a seeded request can repeat the next unseeded completion

#5371 Strict `json_schema` with a bounded `pattern` > 128 silently falls back to prompt injection (bundled xgrammar 0.2.8, fixed in 0.2.9)

#5245 Malformed tool call from a json_tools model is dropped and returned as a normal `stop` finish
#5619 Cluster Failure on FP8

#5551 omlx-cuda-helper: _AFFINE_FORMATS omits (5, (64,)), forcing slow gather_qmm fallback on oQ5e

#5543 SSD cache: an older in-flight write of a block can overwrite or delete its replacement

✨ FEATURES & IMPROVEMENTS
#5603 Bundle Kokoro Mandarin text-processing dependencies in the macOS DMG
#5598 oMLX + Splash: Support for /v1/completions is available

🔀 MERGED PRS
#5667 perf(inkling2): sliding-window prefill on the NAX banded kernel

#5668 perf(cluster): prefill DeepSeek V4.1 prompts together on tensor-parallel clusters

#5618 bailing_hybrid: resolve Ling through the vendored MTP-capable module

#5662 fix(omlx): charge Flash-Next GGUF PLE as Splash's row cache

#5664 perf(bonsai): use the wide Metal kernel for batch-4 FP16 t5 decode

#5246 fix(tool-calling): surface generic tool parser drops in parse_errors

#5600 perf(inkling2): add expert offload support

#5657 feat(inkling2): offload routed experts to SSD

#5630 fix(models): load released Raon-1 mini steering vectors

#5632 perf(inkling2): expert-grouped 3-bit matmul for short prefill chunks

#5620 perf(inkling2): long-context attention kernel for full-attention decode and verify

#5651 perf(deepseek_v41): batch the DSpark draft stages across requests, also when sampling

#5661 perf(qwen4_exp): avoid GPU syncs on batch left_padding after a ragged MTP rollback

#5633 perf(hy4): accelerate short Lightning MTP decode

#5655 perf(bonsai): specialize four-way t5 decode

#5628 Prefix cache: opt-in gdn_snapshot_interval cuts hybrid (GDN) cache size up to ~50% in RAM and on SSD

#4829 RFC: jangh2 backend implementation & performance benchmarks

#4613 fix(api): deliver cap-truncated tool calls as text, not a coded error

#3968 fix(mimo_v2): load mlx-vlm-layout MiMo checkpoints in the LLM engine

#5652 build(deps): update mlx to 0.32.5 and adapt the patches around it

#5649 fix(inkling): expose _to_mlx_conv from the vendored inkling module

#5201 feat(api): add GET /v1/models/{model_id}

#5648 feat(inkling2): load Inkling 2 checkpoints converted by mlx-lm

#5310 fix(server): report late admission rejections in the JSON keepalive body

#5496 fix(admin): stop returning the master API key on polled GETs

#5424 fix(cache): fall back to the shared system-prefix tail when a split-GDN restore finds no checkpoint

#5597 fix(cache): reject and evict non-finite vision features

Also merged:
- #5647 feat(splash): serve Inkling-2-Mini images on Splash 1.7.3
- #5645 fix(vlm): honor Trust Remote Code for checkpoint model files
…(truncated)


r/oMLX • • 4d ago

Studio M5U 256G + DGX Spark Prefill Accelerator

9 Upvotes

First of all, thanks a lot to u/cryingeko, and other contributors who made this possible. It works like a charm. So after the news, I decided to buy a dgx spark especially for this purpose.

I wanted to share my experience since it is a little bit different from other setups. I am mainly using two different models in my workflow, Qwen3.8-Flash-Next-oQ4e-mtp for producing and GLM-5.3-Flash-oQ4e-mtp for reviewing. My overall framework (stryn) is running multiple steps for development, and my biggest concern with the M5U was the prefill time, which was slowing the overall process.

  • Since these two models do not fit to M5U's 256GB, I depend on oMLX's memory load unload, and it is working perfect.

  • First my understanding was I could use the helper only for one model. (The warning in the settings 'spark is helping Mac Studio with the other model. Using it here stops that.' kind of misguided me.) But I wanted to give a shot, and enabled the helper for both of the models. Anda vala!

  • My framework makes the development as said with qwen, so the spark loads the qwen helper, assists prefill, and automatically unloads the helper model when the review delegations start, oMLX unloads qwen and loads glm. Then the spark loads the glm and starts prefill assist for glm

Of course I have two bottlenecks, which are I cannot run parallel agents freely, since they may require both of the models. This has nothing to do with the helper prefill assistance, a limitation of 256GB. The second one is the model and helper load unload times, but it is bearable, since my coding and reviewing cycles last long enough to justify the load and unload times and the token gain eliminates this disadvantage.

I didn't make any benchmarking yet (since it is working) but it seems that glm with helper at least generates 65 -70 tokens/s and qwen with helper is generating at least 130 tokens/s.

This also shows me the way to scale in the future, I will go with another M5U 256 and a spark to run the models dedicated, which would eliminate the load unload overhead and allow me to use parallel agents freely.

Again thanks a lot.


r/oMLX • • 4d ago

I made ablated MLX quants of Swift-1.5-Qwen3.8-27B (8-bit, 6-bit, 4-bit) with vision and MTP heads left completely untouched for oMLX

Thumbnail
huggingface.co
8 Upvotes

Most abliterated/uncensored VLM builds either break the vision encoder or strip out the multi-token prediction (MTP) heads, which kills speculative decoding speed on Mac.

I put together a set of Apple Silicon MLX builds (8-bit, 6-bit, and 4-bit) for my own oMLX setup on an M5 Ultra where only targeted language projections were modified, leaving all visual.* tensors in full BF16 and all mtp.* heads completely intact:

- 8-bit: https://huggingface.co/RareVector/Swift-1.5-Qwen3.8-27B-VectorCut-MLX-8bit

- 6-bit: https://huggingface.co/RareVector/Swift-1.5-Qwen3.8-27B-VectorCut-MLX-6bit

- 4-bit: https://huggingface.co/RareVector/Swift-1.5-Qwen3.8-27B-VectorCut-MLX-4bit

(BF16 master checkpoint and GGUF builds are linked in the model cards too if you're on Linux or Windows.)

Figured I'd share them here in case anyone running oMLX or MLX-VLM wants an uncensored 27B VLM that keeps its eyesight and native token speed. Let me know how they run on your Mac!


r/oMLX • • 4d ago

I made ablated MLX quants of Swift-1.5-Qwen3.8-27B (8-bit, 6-bit, 4-bit) with vision and MTP heads left completely untouched for oMLX

Thumbnail
huggingface.co
3 Upvotes

If you guys give it a shot, please let me know what you think. I made MLX builds and GGUF.


r/oMLX • • 4d ago

Ernie 5.5 flash support

17 Upvotes

Hi All,

I got impatient and incorporated support for Ernie 5.5 into a different fork of oMLX. I posted in the main oMLX GitHub repo a discussion of the changes here: https://github.com/jundot/omlx/discussions/5656

It works really well. Notable that on a Mac Ultra 256, this build can run the original checkpoint of Ernie 5.5 - no quantization. Here is the GitHub repo. Scroll down to the README for build instructions, performance information, and compatibility:

And, here are the speeds, pre and post Fable 5.2 optimization:

TestBefore the decode kernelsWith all branches
Plain decoding37.5 tok/s52.1 tok/s
Prose, drafted54.6 tok/s69.3 tok/s
Code, drafted77.1 tok/s116.2 tok/s
Reasoning, drafted61.9 tok/s86.5 tok/s
Rewriting a code file, drafted114.4 tok/s162.7 tok/s
Prose after a 14.4K-token document, drafted43.0 tok/s82.1 tok/s
Prose after a 28.7K-token document, drafted41.7 tok/s73.9 tok/s

I'm not a developer, so I posted all of the changes on a separate fork so that people who know what they are doing in the main repo can take what is useful.


r/oMLX • • 4d ago

Running Inkling 2 Mini (26B MoE) on a 24 GB M4 Pro by streaming experts from the SSD : oMlx PR and Benchmarks

13 Upvotes

Human Written post, used AI for proofreading

For Context : My daily local model on a 24 GB M4 Pro MacBook Pro has been Ornith 1.5 35B-A3B. It's good, buuuuttt it often works its way to the right answer and then keeps going. It loops, second-guesses itself, and drifts away from the answer I wanted. I tried Swift 1.5 as an alternative, but with 24 GB, long-context prompts kept getting killed by oMLX's memory guard.

I've been interested in looped models since Nvidia released Dory 4B. They reuse a block of layers several times per token, so you get the depth of a larger model in far less memory. On a RAM-limited machine that's exactly what i wanted. So when Inkling announced a Mini model with a looping architecture, it looked like a perfect fit for my setup.

It wasn't plug-and-play. Inkling 2 Mini (oQ4e) is 16.85 GB on disk and needs ~17 GB fully loaded. On stock oMLX 0.8.2 my agent sessions got aborted mid-prefill. Since Inkling is an MoE model i was able to offload some of the experts to SSD to avoid sessions being aborted for long context sessions.

PR - ([jundot/omlx#5657](https://github.com/jundot/omlx/pull/5657))

- Adds expert offload for Inkling 2. Inkling's expert layer has a fused w13, a softcapped SwiGLU, NVFP4 per-expert scales and fused kernels, so I didn't wrap it generically. Instead it reuses the slot-cache approach oMLX already had for DeepSeek V4: the model keeps its own forward, the projection weights become a fixed set of "slots", and expert ids are remapped to slot ids. I moved that cache into a shared module so both models use it.

- Over-capacity prefill runs in expert-sized chunks, and experts already in RAM run first, so a load doesn't evict an expert the same pass still needs.

- Decode overlaps SSD reads with the experts already in memory (~+8% at long context, single run).

*Benchmarks** (M4 Pro 24 GB, temp 0, one run per cell)

| | Fully loaded | Offload 0.5 | Offload 0.6 | Offload 1.0 |

|---|---|---|---|---|

| Memory after load | 17.0 GB | 10.2 GB | 11.8 GB | 17.3 GB |

| Cold 14.8K-token prompt | aborted (OOM) | TTFT 111 s | TTFT 102 s | aborted |

| Decode after that prompt | n/a | 15.3 tok/s | 18.4 tok/s | n/a |

| Decode, short prompt | 48.4 tok/s | 20.4 tok/s | 25.9 tok/s | 37.0 tok/s |

0.5/0.6 is the fraction of experts kept in RAM. With 0.6 resident, 97.6% of expert lookups hit RAM on a short prompt.

Real agent session (5-turn pi coding sessions, offload 0.6, under oMLX's "balanced" memory guard):

- Contexts up to 63K tokens

- 12.6–15 tok/s decode on long replies

- ~92% expert hit rate

- Peak memory 12–15.6 GB

- For comparison, Ornith 1.5 35B-A3B decodes at 16–24 tok/s on the same machine

Caveats -

- **It's slower than fully loaded (Obviously):** 26 vs 48 tok/s on short prompts. Even at 1.0 residency (everything in RAM), the slot path costs ~25% of decode speed. There's room to optimize that.

- **Greedy output isn't bit-identical below 1.0 residency.** Chunked prefill changes the rounding, so long outputs drift after a few hundred characters. At 1.0 it matches exactly.

- Things that didnt help - reading the next prefill chunk's experts ahead of time made no measurable difference, so it's not in the PR. Compiling the steps around the MoE didn't speed up decode either; that change is in the PR only because it also fixes a crash in row-exact MTP verify with offload on.

Anyone on a 16/24/32 GB Mac willing to test the PR branch with Inkling or other MoE models. I'd especially like SSD numbers from other machines.

Special thanks to Jundot for their continued dedication to this project


r/oMLX • • 5d ago

Inkling 2 Mini: Splash vs omlx?

Thumbnail
github.com
4 Upvotes

I have been playing around with omlx native Inkling. It has been good (thanks!), and I would like to test how it compares to running it in Splash.

Splash added support yesterday, my understanding is that omlx has to add some logic to delegate Inkling to splash.

Until that happens: has someone tried Inkling with splash yet?


r/oMLX • • 5d ago

Qwen3.8-27B on M4 Pro: LM Studio MLX vs Splash 1.7.1 on the same 4-bit model files

Thumbnail reddit.com
1 Upvotes

r/oMLX • • 5d ago

📌 Jundot/omlx — Daily Digest (2026-11-23 09:03 -> 2026-11-24)

10 Upvotes

✅ 5 issues closed

[📋 ISSUE] #5497 — SSD cache: between model loads each manager counts only its own blocks, so the directory overshoots ssd_cache_max_size, then a startup trim …
https://github.com/jundot/omlx/issues/5497

[📋 ISSUE] #5483 — CUDA helper cannot distinguish "no GPU present" from "GPU probe failed"
https://github.com/jundot/omlx/issues/5483

[📋 ISSUE] #5482 — The Prefill Accelerator check reports pass for a helper with a zero GPU budget
https://github.com/jundot/omlx/issues/5482

[📋 ISSUE] #5481 — An armed Prefill Accelerator silently runs local when the helper's GPU probe answers no devices
https://github.com/jundot/omlx/issues/5481

[📋 ISSUE] #5470 — MedGemma 27B (mlx-community/medgemma-27b-it-8bit): every image request returns 400 "The chat template did not emit image tokens"
https://github.com/jundot/omlx/issues/5470


r/oMLX • • 5d ago

Inkling-2-Mini-oQ4e-mtp benchmark results on 48GB M4 Pro with oMLX default settings

Thumbnail
reddit.com
1 Upvotes

r/oMLX • • 6d ago

TOP Model for M5 Max 128GB - Hy4-Flash

Thumbnail
reddit.com
3 Upvotes

r/oMLX • • 6d ago

ERNIE 5.5?

12 Upvotes

I think the open weights for ERNIE 5.5 are supposed to drop soon. Haven't heard much excitement about this model. Should be smaller than GLM 5.3 flash, but performance at or greater than DS 1017: https://ernie.baidu.com/release/ernie-5-5-flash-preview/

and it looks impressive according to this: https://www.ai-leaderboard.dev

Fingers crossed for oMLX support!


r/oMLX • • 6d ago

Qwen 3.8 Flash Next vs Hy4-flash vs Inkling-2-Mini vs Opus and Sonet

Thumbnail gallery
5 Upvotes

r/oMLX • • 6d ago

M5 Max vs M5 Ultra Prefill Acceleration

6 Upvotes

I am currently running 2- M3 Ultra 512s with 1- M3 Ultra 256GB. I am considering selling the 256GB to buy an M5 for Prefill Acceleration.

Are there any numbers available for M5 Max vs M5 Ultra for Prefill Acceleration when working with an M3 512?


r/oMLX • • 7d ago

0.8.3 + Inkling = RAM nirvana

37 Upvotes

Currently running oMLX 0.8.3 on an M5 Pro w/48GB of RAM and Inkling-2-Mini-oQ3e-mtp. The biggest difference I've noticed over oMLX 0.8.1/2 is RAM utilization is significantly improved. Using n8n's AI Assistant to create a Github upload workflow, RAM utilization has rarely crept above 60% while churning on my request for the past 15 minutes.

On the previous version of oMLX, RAM utilization would tickle the upper limit of my system before bouncing back down, leading to a bit of RAM anxiety. :)

If this keeps up, I may have finally found an LLM that does what I need without worrying whether or not my RAM limitation may kill the whole process.