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
8-bit precision
fp16
speculative-decoding
multi-token-prediction
mtp
m1
m2
conversational
modelopt
Instructions to use Youssofal/Inkling-2-Mini-MTPLX-Optimized-Speed-FP16 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-Speed-FP16 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-Speed-FP16") config = load_config("Youssofal/Inkling-2-Mini-MTPLX-Optimized-Speed-FP16") # 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-Speed-FP16 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-Speed-FP16"
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-Speed-FP16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use Youssofal/Inkling-2-Mini-MTPLX-Optimized-Speed-FP16 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-Speed-FP16"
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-Speed-FP16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Youssofal/Inkling-2-Mini-MTPLX-Optimized-Speed-FP16 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-Speed-FP16"
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-Speed-FP16" \ --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-Speed-FP16: direct link, hf CLI and curl.
- Browser
- Download file 2.84 kB
-
https://huggingface.co/Youssofal/Inkling-2-Mini-MTPLX-Optimized-Speed-FP16/resolve/main/mtplx_runtime.json
- Command line
-
hf download hf://Youssofal/Inkling-2-Mini-MTPLX-Optimized-Speed-FP16/mtplx_runtime.json
-
curl -L -o mtplx_runtime.json https://huggingface.co/Youssofal/Inkling-2-Mini-MTPLX-Optimized-Speed-FP16/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:09:45+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:7c82bbfb3a714cc8469431c852ea26059fd1cf096db6180cc59daba8ddc0d845", | |
| "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": 59.0479350922302, | |
| "tok_s_samples": [ | |
| 59.0479350922302, | |
| 58.23141856580553 | |
| ], | |
| "verify_time_s": 0.0 | |
| }, | |
| { | |
| "acceptance_by_position": [], | |
| "depth": 3, | |
| "generated_tokens": 256, | |
| "generation_mode": "mtp", | |
| "lane": "family-serve", | |
| "multiplier_vs_ar": 1.5251093402286966, | |
| "tok_s": 90.0545573303781, | |
| "tok_s_samples": [ | |
| 86.78123240482782, | |
| 90.0545573303781 | |
| ], | |
| "verify_time_s": 0.0 | |
| } | |
| ], | |
| "greedy_diagnostic": { | |
| "tok_s": 59.0479350922302 | |
| }, | |
| "quality_rejected": [], | |
| "tok_s": [ | |
| 90.0545573303781 | |
| ], | |
| "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-Speed-FP16", | |
| "timestamp": "2026-11-22T05:09:45+00:00" | |
| }, | |
| "vision": { | |
| "prefix": "model.visual.", | |
| "shards": [ | |
| "model-00004-of-00004.safetensors" | |
| ], | |
| "tensor_count": 422 | |
| } | |
| } | |