Image-Text-to-Text
Safetensors
MLX
mtplx
inkling2_loop
apple-silicon
mac
macos
inkling
inkling-2-mini
inkling-2
thinking-machines
local-llm
coding
vision
Mixture of Experts
nvfp4
mxfp8
speculative-decoding
multi-token-prediction
mtp
m5
m4
m3
conversational
8-bit precision
modelopt
Instructions to use Youssofal/Inkling-2-Mini-MTPLX-Optimized-Quality with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Youssofal/Inkling-2-Mini-MTPLX-Optimized-Quality with MLX:
# Make sure mlx-vlm is installed # pip install --upgrade mlx-vlm from mlx_vlm import load, generate from mlx_vlm.prompt_utils import apply_chat_template from mlx_vlm.utils import load_config # Load the model model, processor = load("Youssofal/Inkling-2-Mini-MTPLX-Optimized-Quality") config = load_config("Youssofal/Inkling-2-Mini-MTPLX-Optimized-Quality") # Prepare input image = ["http://images.cocodataset.org/val2017/000000039769.jpg"] prompt = "Describe this image." # Apply chat template formatted_prompt = apply_chat_template( processor, config, prompt, num_images=1 ) # Generate output output = generate(model, processor, formatted_prompt, image) print(output) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use Youssofal/Inkling-2-Mini-MTPLX-Optimized-Quality with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Youssofal/Inkling-2-Mini-MTPLX-Optimized-Quality"
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Youssofal/Inkling-2-Mini-MTPLX-Optimized-Quality" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use Youssofal/Inkling-2-Mini-MTPLX-Optimized-Quality with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Youssofal/Inkling-2-Mini-MTPLX-Optimized-Quality"
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default Youssofal/Inkling-2-Mini-MTPLX-Optimized-Quality
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Youssofal/Inkling-2-Mini-MTPLX-Optimized-Quality with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Youssofal/Inkling-2-Mini-MTPLX-Optimized-Quality"
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "Youssofal/Inkling-2-Mini-MTPLX-Optimized-Quality" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Card for MTPLX 2.13.0: measured peaks and the comparison
Browse files
README.md
CHANGED
|
@@ -40,6 +40,39 @@ Optimized Quality is the official Inkling 2 Mini release with its weights unchan
|
|
| 40 |
|
| 41 |
MTPLX offers it on M3, M4 and M5 Macs with 32 GB or more, from the MacBook Air to the Mac Studio; M1 and M2 Macs with 32 GB or more get its FP16 build.
|
| 42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
## Which pack for my Mac
|
| 44 |
|
| 45 |
MTPLX chooses for you: the app and `mtplx start` read your chip and memory, offer only the packs that fit, and size the context to your Mac. This is what they offer:
|
|
@@ -71,7 +104,7 @@ The context is the longest conversation MTPLX admits for this pack on that much
|
|
| 71 |
| Vision tower | BF16 | 0.64 GB |
|
| 72 |
| Draft head (multi-token prediction) | BF16 | 0.64 GB |
|
| 73 |
|
| 74 |
-
Download 20.2 GB.
|
| 75 |
|
| 76 |
## Use it
|
| 77 |
|
|
|
|
| 40 |
|
| 41 |
MTPLX offers it on M3, M4 and M5 Macs with 32 GB or more, from the MacBook Air to the Mac Studio; M1 and M2 Macs with 32 GB or more get its FP16 build.
|
| 42 |
|
| 43 |
+
## Measured on MTPLX 2.13 (22 November 2026)
|
| 44 |
+
|
| 45 |
+
MacBook Pro M5 Max with 128 GB, the model's own sampler (temperature 1.0, top-p 1.0, top-k off). The decode speed is the pack's recorded peak, as its row says. The first token and prefill are on a new 4,142-token coding prompt through `mtplx serve`, fans at maximum, macOS thermal pressure nominal, the mean of two runs, timed at the client. Long sessions on a hot Mac run slower than the peak.
|
| 46 |
+
|
| 47 |
+
| Run | Result |
|
| 48 |
+
|---|---|
|
| 49 |
+
| Decode speed, peak: the fastest stretch of an answer in the 2.13 app, its first 32 tokens (macOS thermal pressure moderate when the answer began) | 103.8 tok/s |
|
| 50 |
+
| First token on a new 4,142-token prompt (the mean of two runs) | 1.84 s, prefill at 2,257 tok/s |
|
| 51 |
+
| On the code path M3 and M4 Macs take (forced on the same M5 Max, which has more memory bandwidth than an M3 or M4): generation on a cached conversation, and a follow-up's first token | 79.7 tok/s, 0.07 s |
|
| 52 |
+
| Weights against the official release | the official weights themselves (this pack is the reference) |
|
| 53 |
+
| Executable coding tests (3 tasks, 2 seeds each, temperature 1.0) | 6 of 6 pass |
|
| 54 |
+
| A screenshot of a failing test | read the test's name and both counts |
|
| 55 |
+
| A tool-call turn | called the requested tool with the city the user named |
|
| 56 |
+
| Peak memory serving a 4,142-token prompt | 22.4 GiB |
|
| 57 |
+
|
| 58 |
+
Every row, its conditions and its source: [mtplx.com/models/inkling-2-mini/](https://mtplx.com/models/inkling-2-mini/).
|
| 59 |
+
|
| 60 |
+
## The fastest way to run Inkling 2 Mini on a Mac
|
| 61 |
+
|
| 62 |
+
<!--compare-->
|
| 63 |
+
MTPLX is the fastest way to run Inkling 2 Mini on a Mac. On the same MacBook Pro M5 Max with a new 4,142-token coding prompt, Inkling 2 Mini Bare Speed on MTPLX shows its first token in 1.69 s against 2.83 s for oMLX and 2.26 s for plain mlx-lm, reads the prompt at 2,466 tok/s against 1,460 and 1,829, and then decodes 1.6 times as fast as oMLX and 2.8 times as fast as plain mlx-lm.
|
| 64 |
+
|
| 65 |
+
| Engine and pack | First token | Prefill |
|
| 66 |
+
|---|---:|---:|
|
| 67 |
+
| MTPLX, Inkling 2 Mini Bare Speed | 1.69 s | 2,466 tok/s |
|
| 68 |
+
| MTPLX, Inkling 2 Mini Optimized Speed | 1.73 s | 2,397 tok/s |
|
| 69 |
+
| MTPLX, Inkling 2 Mini Optimized Quality | 1.84 s | 2,257 tok/s |
|
| 70 |
+
| oMLX with its own draft head, official weights | 2.83 s | 1,460 tok/s |
|
| 71 |
+
| plain mlx-lm, official weights, no draft | 2.26 s | 1,829 tok/s |
|
| 72 |
+
|
| 73 |
+
Measured on one MacBook Pro M5 Max with 128 GB on 22 November 2026, each engine through its own server with a fresh server for each run, the same 4,142-token prompt, temperature 1.0, top-p 1.0, top-k off and reasoning effort medium, three seeds (29, 31 and 37) taken in turn across the engines, every run starting and ending at macOS thermal pressure nominal. First token and prefill (the prompt's tokens over the first-token time) are timed at the client on the new prompt, and the decode ratio compares each engine's mean decode on a second request with that prompt cached; each figure is the mean over the runs (Inkling 2 Mini Optimized Quality: seeds 29 and 31, as the other run did not meet these conditions); Inkling 2 Mini Optimized Speed has no run on that sheet and is shown from one run on the release build. MTPLX 2.13.0. oMLX 0.8.0 (commit a9e23054) with its own draft head, and plain mlx-lm (commit 0c4c9919) with no draft, both on the official thinkingmachines/Inkling-2-Mini weights (revision 6e7c8248) with MLX 0.32.4.
|
| 74 |
+
<!--/compare-->
|
| 75 |
+
|
| 76 |
## Which pack for my Mac
|
| 77 |
|
| 78 |
MTPLX chooses for you: the app and `mtplx start` read your chip and memory, offer only the packs that fit, and size the context to your Mac. This is what they offer:
|
|
|
|
| 104 |
| Vision tower | BF16 | 0.64 GB |
|
| 105 |
| Draft head (multi-token prediction) | BF16 | 0.64 GB |
|
| 106 |
|
| 107 |
+
Download 20.2 GB. Sampling follows the model's own settings: temperature 1.0 over the whole distribution (top-p 1.0, no top-k). The draft head proposes tokens and the full model checks them, accepting each by the probability-ratio rule, so the output follows the model's own distribution at any temperature.
|
| 108 |
|
| 109 |
## Use it
|
| 110 |
|