localairecipes launch configs for local inference

MiMo-V2.6-Pro-MOPD vLLM Hotsplit 4x RTX PRO 6000 Workstation TP4

00 upvotes — sign in to vote sign in to vote

community Community submission — verify on your own hardware.

recipe by sikkatu (recipe author)↗, XiaomiMiMo - MiMo-V2.6-Pro-MOPD upstream weights (HF license: MIT)↗, sikkatu/kv-persistence (optional opt-in KV cache, off by default)↗ · listed by localai-recipes

revision r2 · commit 3021d31a52 · updated 2 d ago · license Apache-2.0

chat code tool-calling 1m-context cpu-offload moe hotsplit

MiMo-V2.6-Pro-MOPD (384-expert MoE, 1M context) served with vLLM TP4 on 4x 96 GB RTX PRO 6000 Blackwell Workstation Edition using the hotsplit expert-residency patch: hot experts in GPU memory, cold bank over UVA from pinned host RAM (CPU_OFFLOAD_GB=128/rank), dynamic hot-set adaptation. Author-measured 11.0 tok/s average on a 50-request mixed run at 41-45% hot-bank hit (measured 2026-10-25 with all four GPUs at PCIe Gen4 x16; an x8-linked slot halves throughput to ~6.6 tok/s - cards are Gen5, host slots train at Gen4, no NVLink). recipe by sikkatu.

Launch command

docker run -d --name mimo-pro-tp4-hotsplit --restart no --gpus all --ipc host --network host --ulimit memlock=-1 --ulimit stack=67108864 --cap-add IPC_LOCK --cap-add SYS_NICE -e HF_HOME=/root/.cache/huggingface -e PYTHONPATH=/w -e VLLM_USE_DEEP_GEMM=0 -e VLLM_WEIGHT_OFFLOADING_DISABLE_PIN_MEMORY=1 -e 'VLLM_API_KEY=<auto-generated live/api_key on loopback bind>' -e HOTSPLIT_COUNTS=/w/expert_hist_mix.json -e HOTSPLIT_WEIGHTS=decode=1,prefill=0 -e HOTSPLIT_DRYRUN=0 -e HOTSPLIT_DYNAMIC=1 -e HOTSPLIT_ALLOW_STATIC_FALLBACK=0 -e HOTSPLIT_HOST_FLOOR_GIB=128 -e HOTSPLIT_NUMA=1 -e HOTSPLIT_NUMA_POLICY=preferred -e HOTSPLIT_BOOT_HOOK=0 -e HOTSPLIT_LIVE_COUNTS=/live/counts.json -e HOTSPLIT_LIVE_SECS=600 -e HOTSPLIT_HOT_GIB=30 -v '<HF_CACHE>:/root/.cache/huggingface' -v '<RECIPE>/patches/hotsplit.py:/w/hotsplit.py:ro' -v '<RECIPE>/patches/hotsplit_plan.py:/w/hotsplit_plan.py:ro' -v '<RECIPE>/patches/numa_bind.py:/w/numa_bind.py:ro' -v '<RECIPE>/patches/sitecustomize.py:/w/sitecustomize.py:ro' -v '<RECIPE>/patches/expert_hist_mix.json:/w/expert_hist_mix.json:ro' -v '<RECIPE>/live:/live' -v '<MODEL_DIR>:/model:ro' -v '<RECIPE>/patches/mimo_v2_hotsplit.py:<SITE>/vllm/model_executor/models/mimo_v2.py:ro' -v '<RECIPE>/patches/mimo_v2_omni.py:<SITE>/vllm/model_executor/models/mimo_v2_omni.py:ro' vllm/vllm-openai:nightly-8e2beaa3bff595577a069d49d96bde9074294ec2@sha256:167ccd8696bc09f1b63301185134e04b883623f8adcbd8e3a0ec3140a193abcf --model /model --served-model-name mimo-pro --trust-remote-code --tensor-parallel-size 4 --disable-custom-all-reduce --offload-backend uva --cpu-offload-gb 128 --cpu-offload-params routed_experts.w13_weight routed_experts.w2_weight --moe-backend humming --max-model-len 1048576 --max-num-seqs 10 --max-num-batched-tokens 8192 --kv-cache-dtype auto --enable-prefix-caching --gpu-memory-utilization 0.85 --compilation-config '{"cudagraph_mode":"FULL_DECODE_ONLY"}' --generation-config vllm --reasoning-parser mimo --tool-call-parser mimo --enable-auto-tool-choice --host 127.0.0.1 --port 30007

notes

'Canonical launcher: bash scripts/run-tp4-hotsplit.sh from recipes/rtx-pro-6000/mimo-v2.6-pro-hotsplit/ (IMAGE + MODEL_DIR mandatory, digest-checked; the script builds exactly this argv). <RECIPE> = recipe dir, <SITE> = auto-detected site-packages inside the image, <MODEL_DIR> = local MiMo-V2.6-Pro-MOPD snapshot (MODEL_ID=XiaomiMiMo/MiMo-V2.6-Pro-MOPD + MODEL_REVISION=da71ee15e76a8849bd1a9610195c452007a79678 for a fetched copy). Static mode: HOTSPLIT_DYNAMIC=0 (verified 2026-10-23); dynamic is the launcher default and the 11.0 tok/s measurement. HOTSPLIT_NUMA=1 is best-effort (inert on VMs without PCI NUMA topology; set HOTSPLIT_NUMA_MAP only after confirming on the host). MOE_BACKEND=humming is the only backend that boots: marlin+UVA OOMs at the Marlin repack, triton rejects MoEActivation.SILU (observed 2026-10-22). UPDATE 2026-11-15 (kanban t_532e703a, owner GO): --max-num-seqs raised 2 -> 10 in config.launch to mirror the upstream launcher default (sikkatu/recipes @ c7f95aced1f3, both tp4 launchers read MAX_NUM_SEQS="${MAX_NUM_SEQS-${KVP_DEFAULT_MAX_NUM_SEQS:-10}}" since 5031317, 2026-11-12; tp4.env.example MAX_NUM_SEQS=10). Launcher-default alignment, NOT a new measurement - the 11.0 tok/s point was measured under argv=2 conditions; README honest status @ c7f95ac: only N<=2 measured on target hardware, N=3..10 NOT measured, CUDA-graph capture at --max-num-seqs 10 untested. Reproduce the measured posture with MAX_NUM_SEQS=2 in tp4.env. Engine image digest + HF model revision pins unchanged pin->HEAD.'

runtime

api_endpoint: 'http://127.0.0.1:30007/v1'
startup_time: '~13 min weight load before API readiness'
container_name: mimo-pro-tp4-hotsplit
control_scripts: 'scripts/manage.sh (status/logs/start/stop/restart/update/rollback/check), scripts/preflight-tp4.sh, scripts/check-hotsplit-tp4.sh, scripts/rollback.sh'

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/mimo-v2-6-pro-mopd-vllm-hotsplit-4x-rtx-pro-6000-workstation-tp4.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/mimo-v2-6-pro-mopd-vllm-hotsplit-4x-rtx-pro-6000-workstation-tp4.json

Engine

Install note: Patched vLLM nightly: the recipe mounts patches/mimo_v2_hotsplit.py + mimo_v2_omni.py over the image's own model files (PATCH_MODEL_FILES=1, whole-file replacement verified against the pinned digest), plus hotsplit.py/sitecustomize.py via PYTHONPATH=/w. Launcher refuses on any mismatch with patches/MANIFEST.sha256. The pinned image digest was verified end-to-end on the 4-GPU target (2026-10-22/23); do not assume another tag works.

Model

Context

  • max context: 1M tokens

Performance

Speed by context

ContextConc.PrefillDecodeTTFT
1,024——11 tok/s—reported

prefill = prompt processing · decode = generation. All decode/prefill figures are shown as reported.

reported

notesAuthor-measured on the reference box (4x RTX PRO 6000 Workstation Edition, Gen4 x16 slots, DDR4 host, no NVLink), dynamic hotsplit, 2026-10-25: 11.0 tok/s average over a 50-request mixed-traffic run, hot-bank hit 41.3->45.4% (3 transactional updates, 138 expert swaps each across 69 layers, errors=0). PCIe caveat is part of the number: all four GPUs at Gen4 x16 (~25 GB/s per GPU); before GPU0's x8 link was fixed the same run measured 6.6 tok/s - an x8-linked slot halves throughput. Arithmetic ceiling from transfer alone is ~20 tok/s at 62% hot-hit. Quality passed a 5-query A/B vs the UVA baseline (cosmetic diffs only); full regression evaluation pending.

Install requirements

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

Downloads

Revision notes

Recipe source: github.com/sikkatu/recipes @ 32f48f82979e9f708ffaf62038a97123a56559cb, recipes/rtx-pro-6000/mimo-v2.6-pro-hotsplit (README.md + tp4.env.example + scripts/run-tp4-hotsplit.sh, all read at the pinned sha; repo LICENSE = Apache-2.0, HF weights card carries license: MIT). PCIe link caveat published verbatim per kanban t_22250339 owner gate: 11.0 tok/s requires all four GPUs at Gen4 x16; the 6.6 tok/s figure is the BEFORE state (GPU0 stuck at x8), not the headline condition - the scout card's OPEN QUESTION had this inverted; README at the pinned sha is authoritative. Verification tiers per README: launch + expert distribution VERIFIED; static and dynamic splits VERIFIED end-to-end on target hardware (2026-10-23); quality only 5-query A/B (cosmetic diffs) - longer regression evaluation pending, run before production use. 1M context is config-verified (max_position_embeddings=1048576; KV ~13.5 GiB/GPU bf16 at TP4), NOT a live 1M run. EP unsupported; speculative decoding untested. HF downloads at ingest: 15,492 (scout snapshot 14,389, drift only, sha unchanged da71ee15e76a). The hotsplit split on humming is an experiment (bank code is Marlin-specific; humming per-bank patch applied) - verify output quality before trusting per README. UPDATE 2026-11-15 (kanban t_532e703a, owner GO): config.launch --max-num-seqs 2 -> 10 (launcher-default alignment, sikkatu/recipes @ c7f95ac, commit 5031317 2026-11-12); not a new measurement - the 11.0 tok/s point was measured under argv=2 conditions (README honest status @ c7f95ac: only N<=2 measured, N=3..10 NOT measured, CUDA-graph capture at 10 untested). Engine image digest + HF revision pins unchanged pin->HEAD.

Revision history

Fork

Sign in to fork this recipe — a fork is your own copy; you own it and only you can update it.

Export

recipe.yaml (raw)