Instructions to use vanch007/Inkling-2-Mini-oQ8e-mtp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use vanch007/Inkling-2-Mini-oQ8e-mtp 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("vanch007/Inkling-2-Mini-oQ8e-mtp") config = load_config("vanch007/Inkling-2-Mini-oQ8e-mtp") # 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 vanch007/Inkling-2-Mini-oQ8e-mtp with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "vanch007/Inkling-2-Mini-oQ8e-mtp"
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": "vanch007/Inkling-2-Mini-oQ8e-mtp" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use vanch007/Inkling-2-Mini-oQ8e-mtp 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 "vanch007/Inkling-2-Mini-oQ8e-mtp"
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 vanch007/Inkling-2-Mini-oQ8e-mtp
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use vanch007/Inkling-2-Mini-oQ8e-mtp with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "vanch007/Inkling-2-Mini-oQ8e-mtp"
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 "vanch007/Inkling-2-Mini-oQ8e-mtp" \ --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-oQ8e-mtp
This model was quantized using oQ (oMLX v0.8.1) mixed-precision quantization with oQe imatrix calibration (128 samples x 512 tokens).
A mixed-precision MLX checkpoint of thinkingmachines/Inkling-2-Mini, a looped multimodal mixture-of-experts model with 26.4B total and 3.4B active parameters (5.4B effective active across its 3-pass middle loop). It includes the language model, the vision encoder, and the original bundled DSpark speculative decoding draft in mtp.safetensors for oMLX Lightning MTP.
Requires oMLX 0.8.1 or later.
The effective average is 5.619 bits/weight for the language model and vision encoder, or 5.741 bits/weight including the DSpark draft.
Quantization and Bit Distribution
oQ8e keeps the routed experts of layers 0 to 19 in their source NVFP4 format and layers 20 to 23 in their source MXFP8 format without re-quantization loss, while quantizing attention projections, embeddings, and the vocabulary head to affine 8-bit using oQe imatrix calibration. The vision encoder and the DSpark draft keep BF16, and the router and loop controllers keep FP32.
| Storage format | Logical weights | Share of total | Tensor storage | Effective bits/weight |
|---|---|---|---|---|
| NVFP4, group 16 | 20.384B | 76.327% | 10.679 GiB | 4.50 |
| Affine 8-bit, group 64 | 1.572B | 5.887% | 1.556 GiB | 8.50 |
| MXFP8, group 32 | 4.077B | 15.265% | 3.916 GiB | 8.25 |
| BF16 | 0.637B | 2.387% | 1.187 GiB | 16.00 |
| FP32 | 0.036B | 0.133% | 0.133 GiB | 32.00 |
| Total | 26.707B | 100% | 17.470 GiB | 5.619 |
Storage Breakdown
| Component | Logical weights | Storage |
|---|---|---|
| Language model | 26.388B | 18.122 GB / 16.877 GiB |
| Vision | 0.318B | 0.637 GB / 0.593 GiB |
| DSpark draft (MTP) | 0.318B | 0.636 GB / 0.592 GiB |
| Total | 27.024B | 19.394 GB / 18.062 GiB |
Evaluation Summary (Apple M3 Max 128 GB, oMLX 0.8.1, DSpark MTP enabled)
| Benchmark | Result |
|---|---|
210-question Intelligence Suite (ARC-C, CMMLU, GSM8K, MMLU-Pro, TruthfulQA) |
170/210 (80.95%) |
| Peak memory (1K / 16K context) | 20.02 / 24.05 GiB |
| Single-stream pp1024 / pp4096 decode | 22.2 / 25.2 tok/s |
License
Apache 2.0, following the source model.
- Downloads last month
- 440
8-bit
Model tree for vanch007/Inkling-2-Mini-oQ8e-mtp
Base model
thinkingmachines/Inkling-2-Mini