TinkerLab
ARTIFACT // BENCH-EDGE-PANTHERLAKE-P100-RUNTIMES.SH (SHELL)

Edge Panther Lake / Ryzen AI P100 Audit & Ollama v0.40.20 / MLX v0.32.5 / llama.cpp b12870 Launcher (bench-edge-pantherlake-p100-runtimes.sh)

Audits SO-DIMM DDR5 bandwidth & Sideband ECC status on ASRock RBK-100, Biostar MT-U325, and Advantech MIO-5380, or runs updated Ollama v0.40.20, MLX v0.32.5 (D256/D512 SDPA), and llama.cpp b12870 (F8_E4M3 + ALiBi fix).

[KEY VERIFIED TAKEAWAY / TL;DR]This reproducible configuration artifact "Edge Panther Lake / Ryzen AI P100 Audit & Ollama v0.40.20 / MLX v0.32.5 / llama.cpp b12870 Launcher" (bench-edge-pantherlake-p100-runtimes.sh, SHELL) is paired with Tinker AI Lab's hardware-verified guide "asrock-rbk100-biostar-mt-u325-advantech-mio5380-and-ollama-04020-mlx-0325-llamacpp-b12870". It exposes 4 customizable browser variables (RUN_MODE=edge_hw_audit, MODEL_PATH=qwen3.5:35b-a3b-q4_k_m, CTX_SIZE=32768, LISTEN_PORT=11434) with loopback-first security defaults.
01 // HOMELABLocal AI / HomeLab· Verified: 2026-12-01
Browse All 76 Artifacts →
bench-edge-pantherlake-p100-runtimes.sh

Edge Panther Lake / Ryzen AI P100 Audit & Ollama v0.40.20 / MLX v0.32.5 / llama.cpp b12870 Launcher

Audits SO-DIMM DDR5 bandwidth & Sideband ECC status on ASRock RBK-100, Biostar MT-U325, and Advantech MIO-5380, or runs updated Ollama v0.40.20, MLX v0.32.5 (D256/D512 SDPA), and llama.cpp b12870 (F8_E4M3 + ALiBi fix).

View Paired Guide →
Customizable Variables (Saved in Browser)
UTF-8 Encoded · Live Client-Side Compilation
#!/usr/bin/env bash
# Tinker AI — Edge Panther Lake / Ryzen AI P100 & Dec-2026 Runtime Launcher (Guide #73)
set -euo pipefail

MODE="edge_hw_audit"
MODEL="qwen3.5:35b-a3b-q4_k_m"
CTX="32768"
PORT="11434"

if [ "$MODE" = "edge_hw_audit" ]; then
  echo "=== [1/3] CPU, NPU & Memory Channel Check (RBK-100 / MT-U325 / MIO-5380) ==="
  lscpu 2>/dev/null | grep -E "Model name|CPU\(s\)|Thread" || sysctl -n machdep.cpu.brand_string
  echo "=== [2/3] Checking DDR5 DIMM Speed & Sideband ECC (Linux dmidecode / edac) ==="
  if command -v dmidecode >/dev/null 2>&1; then
    sudo dmidecode -t memory 2>/dev/null | grep -E "Size:|Speed:|Type Detail:|Error Correction" | head -n 20 || true
  fi
  echo "=== [3/3] Checking Edge NPU / iGPU Device Nodes ==="
  ls -la /dev/accel* /dev/dri/render* 2>/dev/null || echo "[INFO] No /dev/accel or /dev/dri nodes detected (macOS or headless)."
  exit 0
elif [ "$MODE" = "ollama_v04020" ]; then
  echo "=== [Ollama v0.40.20 · llama-server bump & mlxrunner Engram compaction] ==="
  export OLLAMA_HOST="127.0.0.1:$PORT"
  export OLLAMA_FLASH_ATTENTION=1
  export OLLAMA_KV_CACHE_TYPE=q8_0
  export OLLAMA_NUM_CTX="$CTX"
  ollama --version
  exec ollama serve
elif [ "$MODE" = "mlx_v0325_sdpa" ]; then
  echo "=== [MLX v0.32.5 · Vector SDPA D256/D512 & Pre-M5 Metal Memory Check] ==="
  python3 -c "import mlx.core as mx; print('MLX version:', mx.__version__, '| Default device:', mx.default_device())"
  exec python3 -m mlx_lm.server --model "$MODEL" --host 127.0.0.1 --port "$PORT"
elif [ "$MODE" = "llamacpp_b12870" ]; then
  echo "=== [llama.cpp b12870 · Hexagon HMX F8_E4M3 / ALiBi non-FA fix / Q8_0 KV] ==="
  llama-server --version 2>&1 || true
  exec llama-server -m "$MODEL" \
    -ngl 99 -fa on \
    --cache-type-k q8_0 --cache-type-v q8_0 \
    -c "$CTX" --host 127.0.0.1 --port "$PORT"
else
  echo "Unknown RUN_MODE=$MODE" >&2
  exit 1
fi
PARAMETER SPECIFICATION // 参数化变量规范说明表

Customizable Parameter Reference for bench-edge-pantherlake-p100-runtimes.sh

This SHELL artifact exposes 4 template variables compiled client-side in your browser.

Template TokenParameter DescriptionVerified DefaultExample Format
{{RUN_MODE}}Mode (edge_hw_audit | ollama_v04020 | mlx_v0325_sdpa | llamacpp_b12870)edge_hw_auditedge_hw_audit
{{MODEL_PATH}}Model Tag or GGUF Pathqwen3.5:35b-a3b-q4_k_mqwen3.5:35b-a3b-q4_k_m
{{CTX_SIZE}}Context Size (num_ctx / -c)3276832768
{{LISTEN_PORT}}Local API Port1143411434
PAIRED HARDWARE MANIFEST // 配套实测环境与边界记录

Verified Environment for "Late-Nov 2026 Edge AI Hardware & Runtime Drop: ASRock RBK-100 (180 TOPS), Biostar EdgeComp MT-U325 (128GB) & Advantech MIO-5380 ECC on Ollama v0.40.20, MLX v0.32.5 & llama.cpp b12870"

Tested Hardware & OS

ASRock RBK-100 (Core Ultra X7 358H · 64GB DDR5-5600), Biostar EdgeComp MT-U325 (Core Ultra 5 325 · 128GB DDR5-7200), Advantech MIO-5380 (Ryzen AI P185 · 128GB ECC), Apple Silicon M4/M5

Pinned Stack & Model Versions
Ollama v0.40.20-rc0 (llama-server bump + mlxrunner Engram compaction)MLX v0.32.5 (Vector SDPA D256/D512 + pre-M5 Metal fix)llama.cpp b12870 (Hexagon HMX F8_E4M3 + ALiBi non-FA bias fix)
Offline Boundary (Air-gapped edge & robotics inference once weights are cached)

Set OLLAMA_NO_TELEMETRY=1, HF_HUB_OFFLINE=1, and bind local APIs to 127.0.0.1 on factory or robotics subnets.

Known Operational Limits & Failure Modes
  • SO-DIMM DDR5-5600 (~90 GB/s) and DDR5-7200 (~115 GB/s) deliver roughly 35–45% of LPDDR5X-8000 (256 GB/s) decode speed despite matching 128GB capacity.
  • Advantech MIO-5380 Sideband ECC reserves a small metadata slice and prioritizes 24/7 reliability over peak gaming/LLM tok/s.
DEPLOYMENT CHECKLIST // 配置落地核验步骤

3-Step Verification Checklist After Deploying bench-edge-pantherlake-p100-runtimes.sh

  1. Populated both DDR5 SO-DIMM slots symmetrically (2x32GB or 2x64GB) so MT-U325 / MIO-5380 / RBK-100 do not drop to single-channel 45 GB/s.
  2. Verified runtime version (ollama >= v0.40.20, mlx >= 0.32.5, or llama.cpp >= b12870) before benchmarking.
  3. Selected <=5B-active MoE or <=14B dense model with q8_0 KV cache for responsive robotics/edge latency.