Image-Text-to-Text
MLX
Safetensors
inkling2_loop
apple-silicon
Mixture of Experts
dspark
speculative-decoding
mlx-vlm
conversational
4-bit precision
Instructions to use netprojects/Inkling-2-Mini-MLX-2.5bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use netprojects/Inkling-2-Mini-MLX-2.5bit 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("netprojects/Inkling-2-Mini-MLX-2.5bit") config = load_config("netprojects/Inkling-2-Mini-MLX-2.5bit") # 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 netprojects/Inkling-2-Mini-MLX-2.5bit with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "netprojects/Inkling-2-Mini-MLX-2.5bit"
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": "netprojects/Inkling-2-Mini-MLX-2.5bit" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use netprojects/Inkling-2-Mini-MLX-2.5bit 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 "netprojects/Inkling-2-Mini-MLX-2.5bit"
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 netprojects/Inkling-2-Mini-MLX-2.5bit
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use netprojects/Inkling-2-Mini-MLX-2.5bit with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "netprojects/Inkling-2-Mini-MLX-2.5bit"
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 "netprojects/Inkling-2-Mini-MLX-2.5bit" \ --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: inkling2-mlx v0.2.4 (install line, faster decode numbers)
Browse files
README.md
CHANGED
|
@@ -51,7 +51,7 @@ or, to also get OpenAI `tool_calls` from `mlx_vlm.server`, [internet-projects/in
|
|
| 51 |
Inkling's tool-call parser):
|
| 52 |
|
| 53 |
```bash
|
| 54 |
-
pip install "git+https://github.com/internet-projects/inkling2-mlx@v0.2.
|
| 55 |
```
|
| 56 |
|
| 57 |
PyTorch and torchvision are only used on the CPU by the image processor. On 21 November 2026 this repository's weight files
|
|
@@ -142,7 +142,7 @@ MacBook Pro M5 Max (128 GB), idle, 21 November 2026; median of 3 runs. Decode: 5
|
|
| 142 |
|
| 143 |
The draft's default block size (8) is slower on this model; use 3 or 4 as below.
|
| 144 |
|
| 145 |
-
With [inkling2-mlx](https://github.com/internet-projects/inkling2-mlx) v0.2.
|
| 146 |
|
| 147 |
## Thinking Machines' results
|
| 148 |
|
|
|
|
| 51 |
Inkling's tool-call parser):
|
| 52 |
|
| 53 |
```bash
|
| 54 |
+
pip install "git+https://github.com/internet-projects/inkling2-mlx@v0.2.4" torch torchvision
|
| 55 |
```
|
| 56 |
|
| 57 |
PyTorch and torchvision are only used on the CPU by the image processor. On 21 November 2026 this repository's weight files
|
|
|
|
| 142 |
|
| 143 |
The draft's default block size (8) is slower on this model; use 3 or 4 as below.
|
| 144 |
|
| 145 |
+
With [inkling2-mlx](https://github.com/internet-projects/inkling2-mlx) v0.2.4 (faster decode: compiled per-layer steps and small Metal kernels, on by default; same answers within bf16 rounding), on the 4-bit build plain generation went from 44.6 (v0.2.3) to 59.7 tok/s with a 1K prompt and from 41.6 to 55.1 tok/s with a 16K prompt, and DSpark (block 4) from 102.6 to 118.0 tok/s at 1K and from 90.3 to 100.5 tok/s at 16K (greedy, 22 November 2026; a separate run from the table above). `INKLING2_FAST_DECODE=0` switches back.
|
| 146 |
|
| 147 |
## Thinking Machines' results
|
| 148 |
|