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).
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).
#!/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
Customizable Parameter Reference for bench-edge-pantherlake-p100-runtimes.sh
This SHELL artifact exposes 4 template variables compiled client-side in your browser.
| Template Token | Parameter Description | Verified Default | Example Format |
|---|---|---|---|
{{RUN_MODE}} | Mode (edge_hw_audit | ollama_v04020 | mlx_v0325_sdpa | llamacpp_b12870) | edge_hw_audit | edge_hw_audit |
{{MODEL_PATH}} | Model Tag or GGUF Path | qwen3.5:35b-a3b-q4_k_m | qwen3.5:35b-a3b-q4_k_m |
{{CTX_SIZE}} | Context Size (num_ctx / -c) | 32768 | 32768 |
{{LISTEN_PORT}} | Local API Port | 11434 | 11434 |
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"
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
Set OLLAMA_NO_TELEMETRY=1, HF_HUB_OFFLINE=1, and bind local APIs to 127.0.0.1 on factory or robotics subnets.
- 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.
3-Step Verification Checklist After Deploying bench-edge-pantherlake-p100-runtimes.sh
- 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.
- Verified runtime version (
ollama >= v0.40.20,mlx >= 0.32.5, orllama.cpp >= b12870) before benchmarking. - Selected <=5B-active MoE or <=14B dense model with
q8_0KV cache for responsive robotics/edge latency.