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.
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.
#!/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
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 Token | Parameter Description | Verified Default | Example Format |
|---|---|---|---|
{{SERVE_MODE}} | Serve Mode (vllm_inkling2_dspark | llamacpp_inkling2_q8kv | vllm_wemm_video_nvfp4) | vllm_inkling2_dspark | vllm_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) | 131072 | 131072 |
{{MTP_TOKENS}} | DSpark Speculative Draft Tokens (vLLM) | 3 | 3 |
{{API_PORT}} | OpenAI-Compatible API Port | 8000 | 8000 |
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"
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
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.
- 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.
4-Step Verification Checklist After Deploying run-inkling2-looped-and-wemm-video.sh
- On retail ASUS ProArt GR1X / MSI EdgeMesa N AI+ (Windows 11 Pro on Arm), verified
nvidia-smiinside WSL2 Ubuntu Arm64 and checked Blackwell NVFP4 kernel support before pulling vLLM. - 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.
- Verified bundled DSpark MTP speculator acceptance rate (
num_speculative_tokens: 3) vs baseline decode tok/s on long-context prompts. - Confirmed all three WeMM-Video-35B-A3B modalities (language + vision mmproj + audio encoder) load cleanly without falling back to text-only mode.