|
|
@@ -0,0 +1,110 @@
|
|
|
+# MiMo-V2.6-Flash-MOPD on 4x DGX Spark via vLLM + B12X — the engine A/B twin
|
|
|
+# of mimo26-flash-mopd-4x (SGLang). No new image: r39 already carries the
|
|
|
+# fork's MiMo-V2 integration (mimo_v2.py; SWA+DFlash PR #46104 merged into
|
|
|
+# the lab fork main 2026-07-01, present at the 9e5d1793 tag), so this lane
|
|
|
+# boots the SAME engine lineage our GLM-5.3 r39 lanes run — only the model
|
|
|
+# and the launch policy differ.
|
|
|
+#
|
|
|
+# Launch policy mirrors local-inference-lab's lil-catalog MiMo manifests
|
|
|
+# (MiMo-V2.6-Flash-RL TP4 qualified on SM120; Pro-MOPD TP8 with the DFlash
|
|
|
+# `dflash/` subfolder draft, BF16 draft weights, b12x noncausal sliding
|
|
|
+# attention). Deviations: GMU 0.88 -> 0.84 (operator call, GB10 UMA guard),
|
|
|
+# TP8 -> TP4 (our 4-node lane).
|
|
|
+#
|
|
|
+# What we are testing:
|
|
|
+# * B12X attention long-context path on 192/128 GQA (the sglang-triton
|
|
|
+# lane decodes at 30% of d0 at 256K; the lab's vLLM stack has the
|
|
|
+# split-KV verify fix that fixed exactly this on their boxes).
|
|
|
+# * BF16 KV @ GMU 0.84 (their cache policy — fp8 KV skipped on both stacks).
|
|
|
+# * DFlash via vLLM speculative-config (method dflash, draft from the
|
|
|
+# checkpoint's dflash/ subfolder, 7 draft tokens) vs sglang's DFlash.
|
|
|
+#
|
|
|
+# Status: first boot under qualification; the lab marks their MiMo DFlash
|
|
|
+# "implemented; runtime qualification unverified", same caveat here.
|
|
|
+
|
|
|
+engine = "vllm"
|
|
|
+name = "MiMo-V2.6-Flash-MOPD (vLLM B12X, 4x Spark, DFlash-7, r39)"
|
|
|
+docker_image = "jovian-judgement:r39-glm53"
|
|
|
+entrypoint = ["vllm", "serve"]
|
|
|
+model = "XiaomiMiMo/MiMo-V2.6-Flash-MOPD"
|
|
|
+parent_model = "XiaomiMiMo/MiMo-V2.6-Flash-MOPD"
|
|
|
+port = 30000
|
|
|
+required_nodes = 4
|
|
|
+tensor_parallel_size = 4
|
|
|
+pipeline_parallel_size = 1
|
|
|
+distributed_backend = "mp"
|
|
|
+shm_size = "32gb"
|
|
|
+
|
|
|
+args = [
|
|
|
+ "--served-model-name", "mimo-v2.6-flash",
|
|
|
+ "--trust-remote-code",
|
|
|
+ "--distributed-executor-backend", "mp",
|
|
|
+ # Operator GMU (0.88 -> 0.84 for this first vLLM MiMo boot); their
|
|
|
+ # manifest's 0.98 is RTX PRO 6000 territory, not GB10 UMA.
|
|
|
+ "--gpu-memory-utilization", "0.84",
|
|
|
+ "--block-size", "128",
|
|
|
+ "--max-model-len", "524288",
|
|
|
+ "--max-num-seqs", "4",
|
|
|
+ "--max-num-batched-tokens", "4096",
|
|
|
+ "--enable-chunked-prefill",
|
|
|
+ "--async-scheduling",
|
|
|
+ "--enable-prefix-caching",
|
|
|
+ # B12X attention (lab-qualified on MiMo's 192/128 heads) + their kernel
|
|
|
+ # config: no flashinfer autotune, no CuTe-DSL warmup.
|
|
|
+ "--attention-backend", "B12X",
|
|
|
+ "--load-format", "instanttensor",
|
|
|
+ "--kernel-config", """
|
|
|
+'{"enable_cutedsl_warmup":false,"enable_flashinfer_autotune":false}'""",
|
|
|
+ # DFlash draft from the checkpoint's dflash/ subfolder (7 tokens, B12X
|
|
|
+ # draft attention) — the vLLM mirror of the sglang lane's DFLASH flags.
|
|
|
+ "--speculative-config", """
|
|
|
+'{"method":"dflash","model":"{{dflash}}","num_speculative_tokens":7,"attention_backend":"B12X"}'""",
|
|
|
+ "--language-model-only",
|
|
|
+ "--reasoning-parser", "mimo",
|
|
|
+ "--tool-call-parser", "mimo",
|
|
|
+ "--enable-auto-tool-choice",
|
|
|
+ "--generation-config", "vllm",
|
|
|
+]
|
|
|
+
|
|
|
+# DFlash draft weights: a subfolder of the main model repo, resolved per node
|
|
|
+# (same mount as the sglang lane; {{dflash}} in the speculative config).
|
|
|
+[[extra_mounts]]
|
|
|
+repo = "XiaomiMiMo/MiMo-V2.6-Flash-MOPD"
|
|
|
+subfolder = "dflash"
|
|
|
+container = "dflash"
|
|
|
+
|
|
|
+# JIT caches: same per-node dirs the GLM r39 lane warms (b12x/flashinfer/
|
|
|
+# torchinductor/vllm), so this lane boots JIT-warm off day zero.
|
|
|
+[[extra_mounts]]
|
|
|
+host = "~/sm121-cache/glm53-jit-121f/b12x"
|
|
|
+container = "/root/.cache/b12x"
|
|
|
+
|
|
|
+[[extra_mounts]]
|
|
|
+host = "~/sm121-cache/jit-121f/flashinfer"
|
|
|
+container = "/root/.cache/flashinfer"
|
|
|
+
|
|
|
+[[extra_mounts]]
|
|
|
+host = "~/sm121-cache/jit-121f/torchinductor"
|
|
|
+container = "/root/.cache/torchinductor"
|
|
|
+
|
|
|
+[[extra_mounts]]
|
|
|
+host = "~/sm121-cache/jit-121f/vllm"
|
|
|
+container = "/root/.cache/vllm"
|
|
|
+
|
|
|
+[env]
|
|
|
+HF_HUB_OFFLINE = "1"
|
|
|
+VLLM_ENABLE_ROCE_ALLREDUCE = "1"
|
|
|
+MAX_JOBS = "2"
|
|
|
+VLLM_ENGINE_READY_TIMEOUT_S = "3600"
|
|
|
+PYTORCH_CUDA_ALLOC_CONF = "expandable_segments:True"
|
|
|
+VLLM_USE_AOT_COMPILE = "0"
|
|
|
+VLLM_USE_STANDALONE_COMPILE = "1"
|
|
|
+VLLM_USE_FLASHINFER_SAMPLER = "1"
|
|
|
+VLLM_USE_BREAKABLE_CUDAGRAPH = "0"
|
|
|
+TORCH_USE_RTLD_GLOBAL = "1"
|
|
|
+VLLM_NO_USAGE_STATS = "1"
|
|
|
+TORCH_CUDA_ARCH_LIST = "12.1a"
|
|
|
+FLASHINFER_CUDA_ARCH_LIST = "12.1f"
|
|
|
+CUTE_DSL_ARCH = "sm_121a"
|
|
|
+CMAKE_CUDA_ARCHITECTURES = "121"
|
|
|
+OMP_NUM_THREADS = "2"
|