Instructions to use ddalcu/Inkling-2-Mini-MLX-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use ddalcu/Inkling-2-Mini-MLX-8bit 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("ddalcu/Inkling-2-Mini-MLX-8bit") config = load_config("ddalcu/Inkling-2-Mini-MLX-8bit") # 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 ddalcu/Inkling-2-Mini-MLX-8bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "ddalcu/Inkling-2-Mini-MLX-8bit"
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": "ddalcu/Inkling-2-Mini-MLX-8bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use ddalcu/Inkling-2-Mini-MLX-8bit 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 "ddalcu/Inkling-2-Mini-MLX-8bit"
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 ddalcu/Inkling-2-Mini-MLX-8bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use ddalcu/Inkling-2-Mini-MLX-8bit with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "ddalcu/Inkling-2-Mini-MLX-8bit"
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 "ddalcu/Inkling-2-Mini-MLX-8bit" \ --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"
Inkling 2 Mini, MLX 8-bit
Runs on mlxserve.com Download
thinkingmachines/Inkling-2-Mini (26.4B total, 3.4B active, text + images) in mlx-lm's layout.
- Experts: the release's own bytes, untouched (NVFP4 on layers 0-19, MXFP8 on 20-23).
- Attention, embedding and head: affine 8-bit, group 64. The release stores these in bf16.
- Vision tower: bf16.
- Draft heads: the bundled block drafter,
mtp.safetensors(0.64 GB), and the DFlash2 draft indrafter/(0.99 GB, below). - Size: 19.7 GB.
Quality
Teacher-forced top-20 against the release, over 8 held-out files (7,318 positions):
| Mean KLD | Top-1 agreement | Perplexity | |
|---|---|---|---|
| Release | – | – | 6.147 |
| This pack | 0.0040 | 97.2% | 6.149 |
0.0040 is the measurement's noise floor: two exact computations of one pack differ by 0.0037-0.0042.
The pack also loads in mlx-lm #2086. Over 3,995 positions, mlx-serve and mlx-lm agree on it to KLD 0.0030 (top-1 97.9%).
Speed (mlx-serve)
llmprobe 0.6.18, greedy, 192-token decode. Drafted rows use the bundled draft head, which mlx-serve loads on M3 and later.
| Mac | Decode | Decode, drafted | Prompt processing |
|---|---|---|---|
| M5 Ultra | 118 tok/s | up to 155 tok/s | 4,900 tok/s |
| M4 Max | 84 tok/s | up to 96 tok/s | 1,010 tok/s |
| M1 Pro 32 GB | 28 tok/s | – | 190 tok/s |
Against the release served as is, it decodes ~15% faster at the same quality. The bf16 attention and head are read in full every token; 8-bit halves those bytes.
The DFlash2 draft (drafter/)
drafter/config.json and drafter/model.safetensors are
incoai/Inkling-2-Mini-DFlash2 as published: bf16, both files
unchanged, Apache-2.0. It is a draft model for speculative decoding, not a language model on its own: it proposes a
block of tokens a step and Inkling 2 Mini checks every one, so the text stays the model's own.
mlx-serve builds with DFlash2 support (mlx-serve#1331) draft with it in place of the bundled head, for one chat and for several at once. Earlier builds decline the folder by name and serve the pack with the bundled head, as before.
Run
mlx-serve --model ddalcu/Inkling-2-Mini-MLX-8bit --serve
- Downloads last month
- 5,291
8-bit
Model tree for ddalcu/Inkling-2-Mini-MLX-8bit
Base model
thinkingmachines/Inkling-2-Mini