347 2 days ago

Looped Multimodal MoE with Unsloth Dynamic, DSpark & Vision

vision tools
ollama run jetelain/Inkling-2-Mini

Models

View all →

Readme

Inkling 2 Mini (Looped Multimodal MoE with Unsloth Dynamic, DSpark & Vision)

Inkling 2 Mini from Thinking Machines Lab is a 26.2B-class autoregressive looped Mixture-of-Experts multimodal model (~3.4B active base parameters, ~5.4B effective active per token across 3 looped passes through its middle 12 layers = 48 layer applications, routing 8 of 128 experts per token).

Packaged with Unsloth Dynamic Quantization (UD-Q4_K_XL & UD-Q8_K_XL), integrated Multimodal Vision (mmproj-BF16), DSpark speculative decoding (dspark-Inkling-2-Mini-Q8_0.gguf, draft_num_predict: 4), and Ollama’s native inkling2 renderer/parser for thinking traces, tool calling, and multimodal inputs.

🚀 Key Highlights

  • Looped MoE Architecture (26.2B total / ~5.4B effective active): 24 transformer layers where the middle 12 layers execute 3 times with shared weights, paired with hybrid local (1024-token SWA) and global attention.
  • Unsloth Dynamic Quantization (UD): UD-Q4_K_XL preserves 98.0% top-token agreement vs UD-Q8_K_XL (mean KLD 0.0107).
  • DSpark Speculative Decoding (draft_num_predict: 4): 3-layer DSpark block drafter (block_size: 8) achieving ~26–42% draft acceptance (mean acceptance length ~2.0–2.7).
  • Multimodal Vision Included: Bundled with mmproj-BF16 (642 MB) for text + image understanding.
  • Native 1M Context Support: Supports up to 1,048,576 tokens (note: compute buffer scales with context length; 32 GB+ VRAM/unified memory is recommended for long contexts).

📦 Tags & Variants

Tag Quantization Size Default Settings Target Use Case
latest / q4 UD-Q4_K_XL 17.6 GB temp 1.0, top_p 1.0, top_k 0, min_p 0, draft 4 Recommended Sweet Spot: Fast generation (~43–54 t/s up to 16k on 16 GB VRAM)
q8 UD-Q8_K_XL 22.9 GB temp 1.0, top_p 1.0, top_k 0, min_p 0, draft 4 Near-lossless 8-bit precision (~38 t/s up to 8k on 16 GB VRAM; ideal for 32 GB+ systems)

💡 Usage Recommendations

1. Fast CLI Run

# Recommended sweet spot:
ollama run jetelain/Inkling-2-Mini

# Near-lossless Q8 precision:
ollama run jetelain/Inkling-2-Mini:q8

2. Hardware Recommendations

  • 16 GB VRAM GPUs (RTX 4080 + 64 GB RAM):
    • Use :q4 up to 16k context (42.7–53.7 t/s generation, 49/49 layers offloaded). Beyond 16k (20k–40k), the inkling2_loop compute buffer expands to 8.8–10.8 GB, dropping speed to ~17.3–18.7 t/s (and 9.4 t/s at 48k).
    • Use :q8 up to 8k context (37.8–38.3 t/s; 19.1 t/s at 16k).
  • 24–32 GB+ VRAM / Unified Memory (RTX 3090⁄4090, Apple Silicon 32 GB+, AMD Strix Halo): Recommended for running q4 or q8 comfortably at 32k+ contexts without compute-buffer weight eviction.

3. 💡 Hardware Alias Tip (Zero Disk Overhead)

# On 16 GB VRAM GPUs (16k context sustaining ~42.7 t/s on Q4):
curl http://localhost:11434/api/create -d '{
  "model": "Inkling-2-Mini",
  "from": "jetelain/Inkling-2-Mini:q4",
  "parameters": {
    "num_ctx": 16384
  }
}'

# On 16 GB VRAM GPUs (8k context sustaining ~38.3 t/s on Q8):
curl http://localhost:11434/api/create -d '{
  "model": "Inkling-2-Mini-Q8",
  "from": "jetelain/Inkling-2-Mini:q8",
  "parameters": {
    "num_ctx": 8192
  }
}'