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"
Download mtplx_runtime.json from Youssofal/Inkling-2-Mini-MTPLX-Optimized-Quality: direct link, hf CLI and curl.
- Browser
- Download file 2.84 kB
-
https://huggingface.co/Youssofal/Inkling-2-Mini-MTPLX-Optimized-Quality/resolve/main/mtplx_runtime.json
- Command line
-
hf download hf://Youssofal/Inkling-2-Mini-MTPLX-Optimized-Quality/mtplx_runtime.json
-
curl -L -o mtplx_runtime.json https://huggingface.co/Youssofal/Inkling-2-Mini-MTPLX-Optimized-Quality/resolve/main/mtplx_runtime.json
2.84 kB
| { | |
| "arch_id": "inkling2-loop", | |
| "artifact_role": "forge-local", | |
| "base_trunk": "thinkingmachines/Inkling-2-Mini", | |
| "block_drafter": { | |
| "block_size": 8, | |
| "markov_rank": 256, | |
| "target_layer_ids": [ | |
| 5, | |
| 23, | |
| 41, | |
| 48 | |
| ], | |
| "type": "dspark" | |
| }, | |
| "exactness_baseline": {}, | |
| "forge_provenance": { | |
| "block_drafter": { | |
| "block_size": 8, | |
| "markov_rank": 256, | |
| "target_layer_ids": [ | |
| 5, | |
| 23, | |
| 41, | |
| 48 | |
| ], | |
| "type": "dspark" | |
| }, | |
| "forge_inputs": { | |
| "lane": "verify-stamp" | |
| }, | |
| "forge_recipe": {}, | |
| "forged_at": "2026-11-22T05:04:09+00:00", | |
| "forged_locally": true, | |
| "mtplx_version": "2.13.0", | |
| "published_to_hf": null, | |
| "source_format": "mlx_affine_with_mtp", | |
| "source_repo": "thinkingmachines/Inkling-2-Mini", | |
| "source_sha": "6e7c8248f75265bdd4fbab5273304243b5d8c2cb" | |
| }, | |
| "mtp_depth_default": 3, | |
| "mtp_depth_default_status": "forge_verified", | |
| "mtp_depth_max": 3, | |
| "mtp_sidecar": "inkling-dspark", | |
| "mtplx_version": "2.13.0", | |
| "recommended_profile": "sustained", | |
| "sampler": { | |
| "temperature": 1.0, | |
| "top_k": 0, | |
| "top_p": 1.0 | |
| }, | |
| "speed_evidence": { | |
| "acceptance_by_depth": [], | |
| "acceptance_collapsed": [], | |
| "artifact_fingerprint": "sha256:4728aaa072270864ea635ffbab13ef000169d5b97d58975b8d208a7dbae0ce8f", | |
| "depth": 3, | |
| "failure_reasons": [], | |
| "forge_verify_rows": [ | |
| { | |
| "acceptance_by_position": [], | |
| "depth": 0, | |
| "generated_tokens": 256, | |
| "generation_mode": "ar", | |
| "lane": "family-serve", | |
| "multiplier_vs_ar": 1.0, | |
| "tok_s": 47.75941195346333, | |
| "tok_s_samples": [ | |
| 47.75941195346333, | |
| 45.747762587235364 | |
| ], | |
| "verify_time_s": 0.0 | |
| }, | |
| { | |
| "acceptance_by_position": [], | |
| "depth": 3, | |
| "generated_tokens": 256, | |
| "generation_mode": "mtp", | |
| "lane": "family-serve", | |
| "multiplier_vs_ar": 1.4494785982842244, | |
| "tok_s": 69.22624549318486, | |
| "tok_s_samples": [ | |
| 69.22624549318486, | |
| 67.71224333223054 | |
| ], | |
| "verify_time_s": 0.0 | |
| } | |
| ], | |
| "greedy_diagnostic": { | |
| "tok_s": 47.75941195346333 | |
| }, | |
| "quality_rejected": [], | |
| "tok_s": [ | |
| 69.22624549318486 | |
| ], | |
| "verdict": "mtp_depth_wins" | |
| }, | |
| "verification": { | |
| "full_load_verified": true, | |
| "mode": "full-load", | |
| "status": "verified" | |
| }, | |
| "verified_on": { | |
| "hardware": "macOS-27.0.1-arm64-arm-64bit-Mach-O", | |
| "machine_arch": "arm64", | |
| "macos": "27.0.1", | |
| "model": "MTPLX-Inkling-2-Mini-Optimized-Quality", | |
| "timestamp": "2026-11-22T05:04:09+00:00" | |
| }, | |
| "vision": { | |
| "prefix": "model.visual.", | |
| "shards": [ | |
| "model-00001-of-00001.safetensors" | |
| ], | |
| "tensor_count": 422 | |
| } | |
| } | |