Inkling-2-Mini NVFP4 MXFP8 DSpark 1x DGX Spark vLLM 262K to 1M
00 upvotes — sign in to vote sign in to votecommunity Community submission — verify on your own hardware.
recipe by tonyd2wild (recipe, launchers, measurements, 69-scenario eval)↗, Thinking Machines Lab (Inkling 2 Mini checkpoint + DSpark drafter, Apache-2.0)↗, vLLM project (inkling-2-mini day-0 image + official recipe)↗, NVIDIA (DGX Spark GB10 platform)↗ · listed by localai-recipes
Initial version · updated 44 h ago · license MIT (recipe); Apache-2.0 (weights)
chat code vision dgx-spark 1m-context looped-moe mxfp8 kv-cache-fp8 inkling-2-mini dspark first-of-family gb10 nvfp4
recipe by tonyd2wild: Thinking Machines Inkling-2-Mini (26.4B looped MoE, 3.4B active per pass, NVFP4 experts layers 0-19 + MXFP8 layers 20-23, bundled 0.64 GB DSpark drafter) on one DGX Spark (GB10) with the official vLLM inkling-2-mini day-0 image. Three tiers: 262K standard (util 0.80), 1M with BF16 KV (80 GiB, 2.08M-token pool), 1M with FP8 KV (74 GiB, 3.31M-token pool) - the official recipe caps DGX Spark at 262K. Measured 2026-11-20/21 on the author's Spark: 40-73 tok/s short decode, 28.3 tok/s @200K (BF16 KV) vs 47.2 (FP8 KV), 18.4 tok/s @950K, prefill ~1,680 tok/s @200K and 598 @950K, 200K needle PASS on both max tiers and a ~950K needle PASS on FP8, eval within 1.4 pts of BF16. First 1M-context Inkling-2-Mini lane; unofficial community recipe.
Launch command
docker run -d --name inkling2mini --gpus all --ipc host --restart no -p 18120:8000 -v '~/models/Inkling-2-Mini:/models/Inkling-2-Mini:ro' vllm/vllm-openai:inkling-2-mini /models/Inkling-2-Mini --served-model-name inkling-2-mini thinkingmachines/Inkling-2-Mini --tensor-parallel-size 1 --max-model-len 262144 --gpu-memory-utilization 0.80 --reasoning-parser inkling --enable-auto-tool-choice --tool-call-parser inkling --speculative-config '{"method":"dspark","num_speculative_tokens":7,"draft_sample_method":"probabilistic"}'runtime
env: 'NAME/PORT/MODEL_DIR/IMAGE/KV_GIB/MAX_LEN env overrides in the launchers; container 8000 -> host 18120; max launchers drop the page cache once pre-start (passwordless sudo, skipped otherwise); --restart no.'
notes: 'Three tiers over one image (deltas vs the shown standard launch): max BF16 = ./launch_maxkv.sh KV_GIB=80 -> --max-model-len 1048576 --kv-cache-memory-bytes 85899345920 (pool 2,075,828 tok, 1.98x at 1M); max FP8 = ./launch_maxkv_fp8.sh KV_GIB=74 -> same plus --kv-cache-dtype fp8 and --kv-cache-memory-bytes 79456894976 (pool 3,308,911 tok, 3.16x at 1M; FP8 E4M3 unit scales, no calibrated scales - author flags check-your-own-long-context). Standard pool 1,346,671 tok (util 0.80, extensible KV). DSpark draft k=7 fixed (checkpoint block size 8 minus 1, enforced). reasoning_effort via chat_template_kwargs (default 0.9 high). Prefix caching + chunked prefill + CUDA graphs on by default. 1M tiers leave 7.2-8.4 GiB MemAvailable after warmup on the 121.6 GiB unified GB10 - do not raise KV_GIB past 80/74; an OOM on GB10 can hang the box until a power cycle. Env overrides: NAME/PORT/MODEL_DIR/IMAGE/KV_GIB/MAX_LEN.'
Use this recipe with your agent
Paste this into any agent chat — it fetches and applies the recipe:
Fetch https://localairecipes.com/api/v1/recipes/inkling-2-mini-nvfp4-mxfp8-dspark-1x-dgx-spark-vllm-262k-to-1m.json and apply the inference recipe it describes (engine flags, model, quant, context) to my setup. Ask before overwriting any existing config.Or fetch it directly:
curl -fsSL https://localairecipes.com/api/v1/recipes/inkling-2-mini-nvfp4-mxfp8-dspark-1x-dgx-spark-vllm-262k-to-1m.jsonInstall requirements
- Docker (or a compatible OCI container runtime)
- NVIDIA Container Toolkit (nvidia-container-toolkit) - exposes host GPUs to the container
NVIDIA driver floor: unknown - check the image tag
Source: NVIDIA CUDA Toolkit Release Notes - driver compatibility tables (https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/, fetched 2026-10-03).
Map the placeholders to your rig
- Hardware-bound values in this recipe (device counts, bind-mount paths, utilization, ports) describe the author's machine, not yours - map them to your own rig before launching. Keep the engine flags, model, quant, and parallelism strategy; adjust paths and ports to the hardware you actually have.
- GPU identity: list your GPUs with `nvidia-smi -L` and substitute your own GPU UUIDs/indices wherever the recipe pins the author's.
- Model directory: bind-mount paths are author-side - point them at your own mount where the model files live.
- Host port: pick a free port on your machine and publish the container there; keep the in-container port unchanged.
Downloads
- Weights https://huggingface.co/thinkingmachines/Inkling-2-Mini1fb4134b9a74f9681054f4ef82e4bf1f458a2337 ('upload model'; successor ed40e7da only declares dtype)
- Drafter https://huggingface.co/thinkingmachines/Inkling-2-Minimtp.safetensors @ 1fb4134b (DSpark drafter, 0.64 GB, 3-layer BF16, block size 8; k=7 enforced)
- Engine image https://hub.docker.com/r/vllm/vllm-openai:inkling-2-mini@sha256:c2dc759f5984f69c1e2418c6af7c26eb756f5ed2a8934c768ae1253645d1449evllm/vllm-openai@sha256:c2dc759f...1449e (built 2026-11-20, 27.1 GB; vLLM 0.1.dev25855+g7cb5dae22, torch 2.14.0+cu130)
- Reference https://github.com/tonyd2wild/Inkling-2-Mini-NVFP4-DGX-SparkHEAD 300942daf6be61f39a7e6c6055bd7cb6e49c4e7c (main 2026-11-20; single-commit repo at ingest; LICENSE MIT)
- Reference https://github.com/vllm-project/vllm7cb5dae22 (short sha from image version 0.1.dev25855+g7cb5dae22; day-0 pre-0.35 build; recipes PRs #69027 + #69039 2026-11-20)
Revision notes
Initial version.
Revision history
Initial version.
Fork
Sign in to fork this recipe — a fork is your own copy; you own it and only you can update it.