Image-Text-to-Text
Transformers
Safetensors
English
inkling2_loop
inkling2
uncensored
abliterated
refusal-removed
finetune
Mixture of Experts
conversational
8-bit precision
modelopt
Instructions to use nokeepai/Inkling-2-Mini-Unbound with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nokeepai/Inkling-2-Mini-Unbound with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="nokeepai/Inkling-2-Mini-Unbound") 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("nokeepai/Inkling-2-Mini-Unbound") model = AutoModelForMultimodalLM.from_pretrained("nokeepai/Inkling-2-Mini-Unbound", 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]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use nokeepai/Inkling-2-Mini-Unbound with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "nokeepai/Inkling-2-Mini-Unbound" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nokeepai/Inkling-2-Mini-Unbound", "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/nokeepai/Inkling-2-Mini-Unbound
- SGLang
How to use nokeepai/Inkling-2-Mini-Unbound 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 "nokeepai/Inkling-2-Mini-Unbound" \ --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": "nokeepai/Inkling-2-Mini-Unbound", "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 "nokeepai/Inkling-2-Mini-Unbound" \ --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": "nokeepai/Inkling-2-Mini-Unbound", "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 nokeepai/Inkling-2-Mini-Unbound with Docker Model Runner:
docker model run hf.co/nokeepai/Inkling-2-Mini-Unbound
Inkling-2-Mini-Unbound v2 vs. Qwen3.8-27B on 4× RTX 4090
#2
by Zeteng - opened
I tested Inkling-2-Mini-Unbound v2 (NVFP4/MXFP8, locally patched vLLM 0.34 dev based on aade5d062) and Qwen3.8-27B (FP8 weights and KV, vLLM 0.27) on the same 4× RTX 4090 (24 GB each, TP=4). The speed tests used random prompts, 512 output tokens and no prefix-cache hits.
| Metric | Inkling-2-Mini-Unbound v2 | Qwen3.8-27B |
|---|---|---|
| Single-request decode (tok/s) | 90–116 | 32–43 |
| Prefill (tok/s) | 4.0–4.7k | 1.2–1.6k |
| Time to first token at 128k (s) | 30 | 90 |
| Time to first token at 240k (s) | 61 | 193 |
| Total output at 64k × 16 (tok/s) | 4,411 | 1,560 |
| Total output at 128k × 8 (tok/s) | 4,284 | 1,445 |
| Total output at 240k × 4 (tok/s) | 3,968 | 1,253 |
| Total KV cache capacity (tokens) | ~930k | ~1.42M |
Both completed 128k × 8 and 240k × 4 without preemption. Inkling's ~930k cache capacity used FP8 KV with --no-enable-extensible-kv-cache.