TinkerLab
ARTIFACT // RUN-INKLING2-LOOPED-AND-WEMM-VIDEO.SH (SH)

RTX Spark (ProArt GR1X / EdgeMesa N AI+) & 32GB GPU Launcher for Inkling 2 Mini (Looped MoE + DSpark) & WeMM-Video-35B-A3B (run-inkling2-looped-and-wemm-video.sh)

Verifies Blackwell CUDA / WSL2 Arm64 environment and launches Thinking Machines Inkling 2 Mini (26.4B-A3B 48-logical-pass Looped MoE) with vLLM NVFP4 + DSpark MTP speculator or llama.cpp Q8_0 KV cache, or serves Tencent WeMM-Video-35B-A3B bilingual audio-visual MoE.

[KEY VERIFIED TAKEAWAY / TL;DR]This reproducible configuration artifact "RTX Spark (ProArt GR1X / EdgeMesa N AI+) & 32GB GPU Launcher for Inkling 2 Mini (Looped MoE + DSpark) & WeMM-Video-35B-A3B" (run-inkling2-looped-and-wemm-video.sh, SH) is paired with Tinker AI Lab's hardware-verified guide "rtx-spark-oem-proart-gr1x-edgemesa-n-and-inkling2-mini-looped-moe-wemm-video". It exposes 5 customizable browser variables (SERVE_MODE=vllm_inkling2_dspark, INKLING_GGUF=./models/Inkling-2-Mini-Q4_K_M.gguf, CTX_LEN=131072, MTP_TOKENS=3, API_PORT=8000) with loopback-first security defaults.
01 // HOMELABLocal AI / HomeLab· Verified: 2026-11-23
Browse All 76 Artifacts →
run-inkling2-looped-and-wemm-video.sh

RTX Spark (ProArt GR1X / EdgeMesa N AI+) & 32GB GPU Launcher for Inkling 2 Mini (Looped MoE + DSpark) & WeMM-Video-35B-A3B

Verifies Blackwell CUDA / WSL2 Arm64 environment and launches Thinking Machines Inkling 2 Mini (26.4B-A3B 48-logical-pass Looped MoE) with vLLM NVFP4 + DSpark MTP speculator or llama.cpp Q8_0 KV cache, or serves Tencent WeMM-Video-35B-A3B bilingual audio-visual MoE.

View Paired Guide →
Customizable Variables (Saved in Browser)
UTF-8 Encoded · Live Client-Side Compilation
#!/usr/bin/env bash
# Tinker AI — RTX Spark OEM (ProArt GR1X / EdgeMesa N AI+) + Inkling 2 Mini (Looped MoE) & WeMM-Video-35B-A3B (Guide #62)
set -euo pipefail

MODE="vllm_inkling2_dspark"
GGUF="./models/Inkling-2-Mini-Q4_K_M.gguf"
CTX="131072"
MTP="3"
PORT="8000"

echo "=== [Hardware & Arch Check] Host Arch: $(uname -m) ==="
nvidia-smi --query-gpu=name,memory.total,driver_version --format=csv,noheader 2>/dev/null || echo "[INFO] nvidia-smi unavailable (Apple Silicon / CPU mode)"

if [ "$MODE" = "vllm_inkling2_dspark" ]; then
  echo "=== [vLLM + DSpark MTP] Serving Thinking Machines Inkling 2 Mini (48 logical KV passes, ctx=$CTX, mtp=$MTP) ==="
  exec vllm serve thinking-machines/Inkling-2-Mini \
    --kv-cache-dtype fp8 \
    --max-model-len "$CTX" \
    --speculative-config "{\"method\": \"mtp\", \"num_speculative_tokens\": $MTP}" \
    --gpu-memory-utilization 0.85 --port "$PORT"
elif [ "$MODE" = "llamacpp_inkling2_q8kv" ]; then
  echo "=== [llama.cpp Q8_0 KV] Serving $GGUF (48-pass KV guard enabled, ctx=$CTX) ==="
  exec llama-server -m "$GGUF" \
    -ngl 99 -fa on \
    --cache-type-k q8_0 --cache-type-v q8_0 \
    -c "$CTX" --host 127.0.0.1 --port "$PORT"
elif [ "$MODE" = "vllm_wemm_video_nvfp4" ]; then
  echo "=== [vLLM Omni-Modal] Serving Tencent WeMM-Video-35B-A3B-NVFP4 (ctx=$CTX) ==="
  exec vllm serve tencent/WeMM-Video-35BA3B-NVFP4 \
    --trust-remote-code \
    --kv-cache-dtype fp8 \
    --max-model-len "$CTX" \
    --limit-mm-per-prompt '{"video": 2, "audio": 2}' \
    --gpu-memory-utilization 0.88 --port "$PORT"
else
  echo "Unknown SERVE_MODE=$MODE (expected: vllm_inkling2_dspark | llamacpp_inkling2_q8kv | vllm_wemm_video_nvfp4)" >&2
  exit 1
fi
PARAMETER SPECIFICATION // 参数化变量规范说明表

Customizable Parameter Reference for run-inkling2-looped-and-wemm-video.sh

This SH artifact exposes 5 template variables compiled client-side in your browser.

Template TokenParameter DescriptionVerified DefaultExample Format
{{SERVE_MODE}}Serve Mode (vllm_inkling2_dspark | llamacpp_inkling2_q8kv | vllm_wemm_video_nvfp4)vllm_inkling2_dsparkvllm_inkling2_dspark
{{INKLING_GGUF}}Inkling 2 Mini GGUF Path (llama.cpp mode)./models/Inkling-2-Mini-Q4_K_M.gguf./models/Inkling-2-Mini-Q4_K_M.gguf
{{CTX_LEN}}Context Window (65536 for 32GB / 131072+ for 128GB RTX Spark)131072131072
{{MTP_TOKENS}}DSpark Speculative Draft Tokens (vLLM)33
{{API_PORT}}OpenAI-Compatible API Port80008000
PAIRED HARDWARE MANIFEST // 配套实测环境与边界记录

Verified Environment for "NVIDIA RTX Spark Retail Mini PCs (ASUS ProArt GR1X & MSI EdgeMesa N AI+) + Looped MoE & Omni-Video: Running Thinking Machines Inkling 2 Mini (26.4B-A3B · 1M Ctx · NVFP4) & Tencent WeMM-Video-35B-A3B"

Tested Hardware & OS

ASUS ProArt GR1X (1.15L) / MSI EdgeMesa N AI+ (1.3L) — RTX Spark N1X (128GB UMA · 300 GB/s · 6,144 Blackwell CUDA Cores · 140W) vs RTX 5090 32GB & MacBook Pro 32GB/64GB

Pinned Stack & Model Versions
Thinking Machines Inkling 2 Mini (26.4B-A3B · 48 Logical Passes · Apache 2.0 · NVFP4/MXFP8)Tencent WeMM-Video-35B-A3B (tencent/WeMM-Video-35BA3B · Apache 2.0 · BF16/FP8/NVFP4/GGUF)vLLM (Day-0 Looped KV + DSpark MTP Speculator) / SGLang / llama.cpp + Unsloth GGUF / MLXWindows 11 Pro on Arm64 + WSL2 CUDA / Linux CUDA 12.8+ (Blackwell Native NVFP4)
Offline Boundary (100% Local Offline Execution (Text, Vision, Audio & Video))

Both Inkling 2 Mini and WeMM-Video-35B-A3B ship under Apache 2.0 with ungated Hugging Face weights; once cached locally, long-context coding agents and bilingual audio-visual video analysis run fully offline with zero cloud API fees.

Known Operational Limits & Failure Modes
  • Looped Transformer KV cache trap on Inkling 2 Mini: although the checkpoint has only 24 physical decoder layers (~20 GB NVFP4/MXFP8), its middle 12 layers loop 3x with independent per-pass KV caches (48 logical KV layers total)—budget KV cache as a 48-layer model or you will silently OOM on 32GB machines beyond 64K–128K context.
  • Retail RTX Spark OEM pricing ($4,499 base to $6,499–$6,999 for maxed 128GB ProArt GR1X) is steep vs DGX Spark GB10 Linux developer units and 192GB AMD Strix Halo boxes (~273 GB/s); Windows 11 on Arm also requires verifying native Arm64 CUDA/WSL2 wheel availability for bleeding-edge vLLM/SGLang builds.
  • WeMM-Video-35B-A3B GGUF splits weights into separate language.gguf, mmproj.gguf, and audio.gguf components—standard single-file llama-cli cannot ingest joint audio+video tracks without Tencent’s multi-encoder loader or patched vLLM FP8/NVFP4 serving.
  • 300 GB/s unified memory bandwidth on RTX Spark N1X excels at sparse MoE models (3B–12B active params like Inkling 2 Mini and WeMM-Video-35B-A3B) and Blackwell NVFP4 prefill, but still trails discrete RTX 5090 (1,792 GB/s) by ~5x on dense 24B–32B token generation.
DEPLOYMENT CHECKLIST // 配置落地核验步骤

4-Step Verification Checklist After Deploying run-inkling2-looped-and-wemm-video.sh

  1. On retail ASUS ProArt GR1X / MSI EdgeMesa N AI+ (Windows 11 Pro on Arm), verified nvidia-smi inside WSL2 Ubuntu Arm64 and checked Blackwell NVFP4 kernel support before pulling vLLM.
  2. Budgeted Inkling 2 Mini KV cache across all 48 logical looped passes (not 24 physical layers) and enabled FP8 / Q8_0 KV quantization on 32GB devices.
  3. Verified bundled DSpark MTP speculator acceptance rate (num_speculative_tokens: 3) vs baseline decode tok/s on long-context prompts.
  4. Confirmed all three WeMM-Video-35B-A3B modalities (language + vision mmproj + audio encoder) load cleanly without falling back to text-only mode.