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
speculative-decoding
multi-token-prediction
mtp
m5
m4
m3
conversational
modelopt
Instructions to use Youssofal/Inkling-2-Mini-MTPLX-Optimized-Speed 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 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") config = load_config("Youssofal/Inkling-2-Mini-MTPLX-Optimized-Speed") # 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 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"
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" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use Youssofal/Inkling-2-Mini-MTPLX-Optimized-Speed 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"
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
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Youssofal/Inkling-2-Mini-MTPLX-Optimized-Speed 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"
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" \ --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"
File size: 2,836 Bytes
a85e55c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | {
"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-22T04:39:56+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:48055ab11dbf02f46e6b5661b19b48ce0f492a9a3023ddd0241d0d7cc395fbe7",
"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": 61.21733906982251,
"tok_s_samples": [
60.55925704566868,
61.21733906982251
],
"verify_time_s": 0.0
},
{
"acceptance_by_position": [],
"depth": 3,
"generated_tokens": 256,
"generation_mode": "mtp",
"lane": "family-serve",
"multiplier_vs_ar": 1.5999756730626145,
"tok_s": 97.94625328134155,
"tok_s_samples": [
74.8405563607351,
97.94625328134155
],
"verify_time_s": 0.0
}
],
"greedy_diagnostic": {
"tok_s": 61.21733906982251
},
"quality_rejected": [],
"tok_s": [
97.94625328134155
],
"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",
"timestamp": "2026-11-22T04:39:56+00:00"
},
"vision": {
"prefix": "model.visual.",
"shards": [
"model-00004-of-00004.safetensors"
],
"tensor_count": 422
}
}
|