Image-Text-to-Text
Transformers
Safetensors
inkling2_loop
conversational
Mixture of Experts
Eval Results
8-bit precision
modelopt
Instructions to use thinkingmachines/Inkling-2-Mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use thinkingmachines/Inkling-2-Mini with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="thinkingmachines/Inkling-2-Mini") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("thinkingmachines/Inkling-2-Mini") model = AutoModelForMultimodalLM.from_pretrained("thinkingmachines/Inkling-2-Mini", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Inference
- HuggingChat
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use thinkingmachines/Inkling-2-Mini with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "thinkingmachines/Inkling-2-Mini" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "thinkingmachines/Inkling-2-Mini", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/thinkingmachines/Inkling-2-Mini
- SGLang
How to use thinkingmachines/Inkling-2-Mini with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "thinkingmachines/Inkling-2-Mini" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "thinkingmachines/Inkling-2-Mini", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "thinkingmachines/Inkling-2-Mini" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "thinkingmachines/Inkling-2-Mini", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use thinkingmachines/Inkling-2-Mini with Docker Model Runner:
docker model run hf.co/thinkingmachines/Inkling-2-Mini
Congrats! Qs on Loops
👀 1
#77 opened 1 day ago
by
M-o-r-p-h-e-u-s
Update README.md
#76 opened 2 days ago
by
Wa1k3r
AIO bootable headless secure OS running inkling.
#75 opened 2 days ago
by
Wa1k3r
Overhyped
5
#74 opened 2 days ago
by
invincibilul
No Balance
👍 2
3
#73 opened 2 days ago
by
phil111
Reasoning goes into a loop (openrouter)
2
#72 opened 2 days ago
by
Mk2Oracle
Getting stuck in a infinite loop in reasoning stops me from using the model!
8
#71 opened 3 days ago
by
artden111
This model is a winner!
👍 1
3
#70 opened 3 days ago
by
llmmonster
Speed up rendering long Inkling 2 Mini tool histories
#69 opened 3 days ago
by
snygginghani
Fix Inkling 2 Mini local inference links
#68 opened 3 days ago
by
snygginghani
Open SAEs and a steering playground for Inkling 2 Mini
1
#67 opened 3 days ago
by
mm1m1
Ran the full quant ladder (Q3_K_M → Q6_K + MXFP4_MOE) of this model on three architectures with a pinned 400 KB corpus: Strix Halo 128 GB (Vulkan), M1 Max 64 GB (Metal), RTX 5060 Ti 16 GB (CUDA).
#66 opened 3 days ago
by
hoodllm
Optional "runs local" badge, plus a measured Mac run
#65 opened 3 days ago
by
HanktheAssistant
Inkling 2 Mini writes tool calls as XML text and loops in reasoning, on three different engines
4
#64 opened 4 days ago
by
simpleengraver
Apache 2.0 Character-Manipulation LoRA + Note on Preserving `low` (0.2) Thinking Effort During SFT
1
#63 opened 4 days ago
by
Nori103
[chat_template] Empty text part on a tool-call turn renders an empty text message, unlike "content": ""
👍 1
1
#62 opened 4 days ago
by
krishgondaliya10
guys I think this model is RLHF-overoptimized (meaning they trained it too far on human feedback. Kimi k3 has the same problem)
5
#61 opened 4 days ago
by
john1248
PRIME-Quant: Running Inkling-2-Mini 100% resident on 12–16 GB GPUs (8.83 GB / 10.87 GB, 54–56 tok/s on RX 9060 XT, 0.054 KLD) + OpenAI server
#60 opened 4 days ago
by
batteryphil
I reproduced Inkling 2's loop at 23M parameters.
#59 opened 4 days ago
by
SkyIsNotGreen
Training data and steps for Inkling 2 Mini’s DSpark drafter
#57 opened 5 days ago
by
antonio-lopez
Chinese prompts: Manim code passes `size=` to `Text` (removed in Manim CE 0.12), most of a 10-point Exec drop on PRISM-zh
#56 opened 5 days ago
by
juyil
Mjolnir: Inkling-2-Mini on NVIDIA Jetson Thor: ~40-60 tok/s decode @ 131K ctx (+26% vs stock vLLM)
#55 opened 5 days ago
by
narandill
Model options for Mac
1
#54 opened 5 days ago
by
Romeo2377
Inkling 2 Mini's three files: 64.974 GB → one 16.827 GB download 🔥
#53 opened 6 days ago
by
optimatechlabs
Card check: the 26.4B total and the 1M context, read from the files
#52 opened 6 days ago
by
nootxlm
Increasing num_experts_per_tok at inference time, is this supported?
1
#51 opened 6 days ago
by
Schestex
Decent speed on Apple silicon with Splash
👍 2
2
#50 opened 6 days ago
by
s8kpw7yci
Keep looping
2
#48 opened 7 days ago
by
jacktang
Inkling - 2 mini on Poly Strata For Intel Arc B70
6
#46 opened 7 days ago
by
Lunacyworks
Looping
👍 2
#45 opened 7 days ago
by
darkmatter2222
Missing link to llama.cpp
2
#43 opened 7 days ago
by
Bidutree
Inkling 2 Mini on a 16 GB MacBook with Memory-Sparse MoE (MS-MoE): about 2x more memory-efficient
2
#42 opened 7 days ago
by
Sadanie
This is the shit, no benchmaxing
👀 2
4
#40 opened 8 days ago
by
AlioLeuchtmann
Inkling Hasn't Achieved True Adaptive Looping Yet — Could This Be the Breakthrough That Makes Small Models Competitive?
👍 1
4
#39 opened 8 days ago
by
wxjmodel
Inkling mini on 1/2/4 Intel B70/b65
1
#37 opened 8 days ago
by
ulkaa
Inkling-2-Mini served on 2x RTX 5060 Ti 16 GB (SM120): full docker-compose + pp/tg/context benchmarks
1
#36 opened 8 days ago
by
rafaelsobek
Generate an SVG of a pelican riding a bicycle. <-- using Inkling-2-Mini-QVB8-1e-3
4
#35 opened 8 days ago
by
addiesam
"This model is not available in your region"
👍 5
7
#34 opened 8 days ago
by
Iniquitatis
cortiq 0.9.15: Inkling-2-Mini at 220 tok/s (298 with DSpark) and 14K tok/s prompts on one RTX PRO 6000
#33 opened 8 days ago
by
infosave
A potential competitor to Qwen4 27B
6
#32 opened 8 days ago
by
DuongLeVan
Bare-metal C++20/CUDA ingestion of Inkling-2-Mini on a single RTX 5090
#30 opened 8 days ago
by
alexmv2025
Running Inkling 2 Mini on an Intel Arc Pro B70 (vLLM plugin, DSpark, ~57/76 tok/s)
14
#29 opened 9 days ago
by
mgaruccio
How to run Inkling 2 Mini on a Mac: up to 128.8 tok/s on an M5 Max with MTPLX 2.13 (24 GB Macs and up)
1
#28 opened 9 days ago
by
henrydappa
Inkling-2-Mini on one RX 7900 XTX: 130 tok/s with its draft head (llama.cpp: 25), 2,148 tok/s prompt, and a 524k context at 767 tok/s prompt with 10/10 needle retrieval. Benchmarks inside
#27 opened 9 days ago
by
Wa1k3r
Running Inkling 2 Mini on RTX 3090s (1 or 2 GPUs): vLLM recipe, 262K context, ~300 tok/s
😔 1
2
#26 opened 9 days ago
by
lulakien
chef's kiss
1
#25 opened 9 days ago
by
szilard995
Multi-GPU llama.cpp benchmarks — 2× RTX 5060 Ti 16GB: pp/tg ladder, max context up to 393k, parallel tests up to 64k (UD-Q4_K_XL)
👍 1
#24 opened 9 days ago
by
rafaelsobek
Pls release cheap mech interp tools to monitor this model
#23 opened 9 days ago
by
john1248
Basically just Qwen if they knew how to avoid MoE collapse
2
#22 opened 9 days ago
by
tabbytobias2