Local AIrun-mac-benchmark.sh
Apple Silicon Mac Fixed-Task Speed & Context Benchmark Script
Measures prompt eval rate, token generation speed (tok/s), and peak unified memory footprint under a fixed deterministic task.
Local AIcheck-nvidia-vram-spill.sh
NVIDIA PC Model Loading & PCIe Shared-Memory Spillover Probe
Compares physical VRAM usage in nvidia-smi against ollama ps processor split to detect silent CPU/PCIe fallback.
Local AIdocker-compose.ollama-webui.yml
Ollama + Open WebUI Persistent Stack with Backup & Rollback Safety
Pinned versions, explicit bind-mounted volumes for 30-second backup/restore, telemetry disabled, and KV cache optimization.
Local AItinker-rag-eval-sample.sh
Local Document Q&A (RAG) Downloadable Sample Corpus & Citation Verifier
Generates a ground-truth technical document sample with trap clauses and tests whether your local RAG setup cites exact sections or hallucinates.
Workflowsn8n-local-rss-classifier.json
n8n + Local Ollama RSS Classifier & Deduplication Workflow
Importable n8n workflow JSON with URL hash deduplication, local Ollama HTTP node, JSON parse guard, and dead-letter retry branch.
Workflowsn8n-webhook-triage-guard.json
Webhook Ticket Triage Workflow with Schema Guard & Dead-Letter Fallback
Validates incoming payload, enforces strict JSON output, caps token cost, and routes malformed responses to a safe fallback queue.
Maker / STEMpi5-offline-ai-verify.sh
Raspberry Pi 5 Offline AI Box — Hardware & Thermal Verification Script
Verifies Pi 5 27W USB-C PD power negotiation (throttling check), USB audio/camera enumeration, and local model runtime.
Maker / STEMpi5-sensor-log-guardian.sh
Raspberry Pi 5 Thermal & Journalctl Log Anomaly Explainer Daemon
Deterministic threshold guard that checks CPU/sensor temperature first and invokes local Ollama 3B only when an anomaly or systemd error occurs.
Troubleshootingdiagnose-container-llm.sh
Container-to-Host Local LLM Connectivity Diagnostic Script
Tests host bind address (127.0.0.1 vs 0.0.0.0), host.docker.internal DNS resolution, and bridge firewall rules.
Troubleshootingsse-stream-guard.mjs
Resilient LLM SSE Stream Reader (Handles Post-HTTP-200 Mid-Stream Errors)
Detects mid-stream error frames after HTTP 200 OK, idle socket stalls, and premature finish_reason truncation.
Local AIconfig.continue-local-r1.json
Continue / VS Code Dual-Model Local Coding Config (DeepSeek-R1 + Qwen2.5-Coder)
Separates architectural reasoning (DeepSeek-R1 with 16K context & 4K max_tokens for <think>) from sub-200ms tab autocomplete (Qwen2.5-Coder-7B).
Local AIbenchmark-concurrent-llm.sh
Multi-Worker Concurrency & P95 TTFT Benchmark Script (Ollama vs vLLM)
Fires N parallel OpenAI-compatible requests and measures individual wall-clock latency, queue stall, and aggregate tokens/sec.
Workflowsn8n-local-invoice-extractor.json
n8n Local Invoice & Contract Structured Extractor with Math Reconciliation
Extracts vendor, date, line items, and totals into strict JSON, then runs a deterministic JavaScript math check (subtotal + tax == total) before database insert.
Workflowsn8n-local-pr-reviewer.json
n8n + Local Qwen2.5-Coder Git PR Diff Reviewer with Secret Redaction
Scrubs accidental API keys/tokens from git diffs before sending code hunks to local Qwen2.5-Coder-14B for bug and security review.
Maker / STEMpi5-hailo-npu-check.sh
Raspberry Pi 5 AI Kit (Hailo-8L NPU) PCIe Gen3 & Thermal Verification Script
Checks PCIe bus enumeration, HailoRT firmware alignment, NPU device temperature, and throttled status before running vision+LLM pipelines.
Troubleshootingnginx-ollama-lan-auth.conf
Secure LAN Reverse Proxy for Ollama / vLLM (Bearer Auth + CORS + Unbuffered SSE)
Protects local port 11434 behind an Nginx reverse proxy with API key authentication, clean CORS headers for browser extensions, and 300s SSE streaming.
Local AIocr-pdf-to-markdown.sh
Local Vision LLM (Qwen2.5-VL / Gemma-3) Scanned PDF & Table Extractor Script
Renders scanned PDF pages at optimal DPI (150 DPI) and invokes local Qwen2.5-VL to output clean Markdown tables without VRAM overflow.
Workflowsn8n-safe-text-to-sql.json
n8n + Local LLM Safe Text-to-SQL Workflow (AST Guard + Read-Only Role + Row Cap)
Converts natural language questions into PostgreSQL/SQLite queries using local Qwen2.5-Coder, blocks DDL/DML mutations, and enforces LIMIT 100.
Maker / STEMpi5-voice-assistant-loop.sh
Raspberry Pi 5 Offline Voice Loop Script (Whisper.cpp STT + Ollama + Piper TTS)
Chains ALSA mic capture, quantized Whisper.cpp STT, local Qwen2.5-3B response, and Piper neural TTS with half-duplex mic mute protection.
Troubleshootingcheck-rag-embedding-health.sh
Local RAG Embedding Dimension, Bilingual Recall & Zombie VRAM Diagnostic Script
Probes exact output vector dimensions (e.g. 1024 for bge-m3 vs 768 for nomic-embed-text), checks dual-model VRAM residency, and verifies non-empty embeddings.
Local AItune-strix-halo-llm.sh
AMD Ryzen AI Max+ 395 (Strix Halo 128GB) GTT/TTM Memory & MoE Benchmark Script
Verifies Linux kernel amdttm.pages_limit / BIOS 96GB UMA allocation on gfx1151, sets ROCBLAS_USE_HIPBLASLT=1, and benchmarks Qwen3-30B-A3B MoE vs dense models.
Maker / STEMsetup-jetson-super-edge-llm.sh
NVIDIA Jetson Orin Nano Super (25W 67 TOPS) Memory Reclaim & Edge VLM Bootstrap
Switches Jetson Orin Nano Super to 25W MAXN_SUPER mode, reclaims ~1.1GB unified RAM from GNOME desktop, drops page cache, and benchmarks Qwen3-4B / Qwen2.5-VL.
Workflowsn8n-mcp-local-tool-agent.json
n8n + MCP Client + Local Qwen3 Tool-Calling Agent Workflow (With Loop & Allowlist Guards)
Importable n8n AI Agent workflow connecting a local Ollama model (Qwen3 /no_think mode) to an MCP Server via SSE, with explicit tool allowlisting and maxIterations=5 guard.
Troubleshootingdiagnose-uma-and-arc-gpu.sh
Cross-Vendor New Hardware GPU Probe (AMD Strix Halo GTT · Intel Arc B580 · NVIDIA UMA)
Audits AMD Strix Halo 15.5GB GTT ceiling & deprecated amdgpu.gttsize flags, Intel Arc B580 /dev/dri render group permissions, and Linux UMA page-cache pressure.
Local AItune-mac-studio-ultra-llm.sh
Mac Studio M3 Ultra (256GB/512GB) Metal Wired Ceiling & MLX Frontier MoE Launcher
Raises macOS iogpu.wired_limit_mb up to 475GB on 512GB Mac Studio M3 Ultra, checks Thunderbolt 5 RDMA/Bridge0 peer status, and launches mlx_lm.server for DeepSeek-R1-671B or Qwen3-235B-A22B.
Local AIrun-blackwell-sm120-llm.sh
NVIDIA Blackwell (RTX 5090 / 5060 Ti `sm_120`) Power-Cap & CUDA 12.8 Launcher
Applies persistent nvidia-smi power limit (e.g. 450W on RTX 5090 or 165W on RTX 5060 Ti 16GB), verifies Compute Capability 12.0 (sm_120), and runs llama-server with MMQ + FlashAttention.
Local AIdocker-compose.arc-b60-rdna4.yml
Intel Arc Pro B60 (24GB/48GB) & AMD RX 9070 XT (RDNA 4) Vulkan/ROCm Compose Stack
Production Docker Compose stack passing /dev/dri with numeric render GID, Vulkan multi-GPU device selection, and Q8_0 KV Cache for Intel Arc Pro B60 24GB and AMD Radeon RX 9070 XT 16GB.
Troubleshootingdiagnose-sm120-and-gfx1201.sh
Blackwell (`sm_120`) & RDNA 4 (`gfx1201`) Kernel, PCIe Gen5 AER & ROCm Diagnostic Script
Detects missing sm_120 kernels in PyTorch/CUDA, PCIe 5.0 riser AER / Xid 79 bus drops on RTX 5090/5060 Ti, and invalid HSA_OVERRIDE_GFX_VERSION settings on AMD RX 9070 XT (gfx1201).
Local AIrun-dgx-spark-200gbe-vllm.sh
NVIDIA DGX Spark (GB10 128GB / Dual 256GB) 200GbE RoCEv2 & UMA Cache Launcher
Flushes Linux VFS page cache before loading 70B–235B models into GB10 unified LPDDR5X, configures ConnectX-7 MTU 9000 & RoCEv2 GID index, and launches distributed Ray + vLLM.
Local AIdeploy-workstation-96gb-or-r9700.sh
RTX PRO 6000 Blackwell (96GB Max-Q/600W) & Radeon AI PRO R9700 (32GB) Tuner
Applies 300W Max-Q or 450W sweet-spot power cap on RTX PRO 6000 Blackwell (96GB GDDR7 ECC), or configures ROCm/Vulkan flags for single/dual AMD Radeon AI PRO R9700 (32GB/64GB).
Local AIbench-m5-metal4-mlx-llm.sh
Apple M5 Max / M4 Max Metal 4 Neural Accelerator & MLX Prefill Benchmark Runner
Raises macOS Metal wired memory ceiling on 64GB/128GB MacBooks, verifies MLX Metal 4 TensorOps availability, and benchmarks prompt prefill (TTFT) + decode speed with 8-bit KV cache.
Troubleshootingdiagnose-p2p-and-rocev2.sh
Multi-GPU PCIe P2P (`iommu=pt` / ACS) & 200GbE RoCEv2 Diagnostic Script
Audits kernel cmdline for iommu=pt, checks PCIe ACS redirection bits that deadlock multi-GPU vLLM, and verifies ConnectX-7 200GbE MTU 9000 & RoCEv2 GID index 3.
Local AIrun-epyc-hybrid-moe-llm.sh
AMD EPYC 12-Ch DDR5 + Single GPU Hybrid MoE (`ik_llama.cpp` `-ot` & `KTransformers`) Launcher
Disables Linux auto-NUMA page migration, checks 12-channel DDR5 NUMA topology, and launches 671B/235B MoE models with MLA attention + KV Cache on GPU and routed experts on CPU RAM.
Local AIlaunch-blackwell-pro5000-5080-speculative.sh
Blackwell RTX PRO 5000 (72GB) / PRO 4500 (32GB) & RTX 5080 / 5070 Ti Speculative Decoding Runner
Checks GDDR7 memory bus & ECC status, then launches either single-GPU 72GB vLLM (70B FP8 / 80B MoE) or llama.cpp Speculative Decoding (--model-draft) for 1.6x–2.1x coding speedup.
Maker / STEMsetup-hailo10h-and-rk3588-edge-llm.sh
Jetson AGX Thor (T5000), Pi 5 AI HAT+ 2 (`Hailo-10H` 8GB) & RK3588 NPU Edge LLM Bootstrap
Detects your edge accelerator (Jetson Thor T5000, Raspberry Pi 5 Hailo-10H 8GB NPU, or Rockchip RK3588 rknn-llm), verifies PCIe Gen 3 / NPU frequency governors, and starts an OpenAI/Ollama-compatible local endpoint.
Troubleshootingdiagnose-hybrid-moe-and-edge-npu.sh
Hybrid CPU+GPU MoE (`NUMA` / `-ot` Regex) & Edge NPU (`Hailo-10H` / `RK3588 CMA`) Doctor
Detects cross-socket NUMA balancing stalls on EPYC/Xeon MoE servers, validates ik_llama.cpp -ot tensor regex syntax, and checks Hailo-10H PCIe Gen 3 & RK3588 CMA contiguous memory.
Local AIbench-unified-memory-ai-pc.sh
RTX Spark / Gorgon Halo Unified-Memory Fixed Benchmark (llama-bench + sustained decode)
Verifies model SHA256, reports platform (ARM64/CUDA or gfx1151 GTT size), runs llama-bench pp2048/tg128 ×3 and a sustained decode run, and writes a Markdown result file so you can replace the guide estimates with measured numbers. Run under Linux, WSL2, or Git Bash on Windows.
Local AIbench-m6-memory-tier.sh
Apple M6 MacBook Pro Memory-Tier Benchmark (wired limit + swap guard)
Records chip and memory tier, optionally raises iogpu.wired_limit_mb, runs a fixed llama-bench with Q8_0 KV cache, and flags the result as invalid if macOS swapped during the run.
Local AIbench-panther-lake-x2-elite-llm.sh
Snapdragon X2 Elite Extreme & Intel Core Ultra X9 388H (Panther Lake) Fixed Laptop LLM Benchmark
Checks native binary architecture (ARM64 vs x86_64), lists active Vulkan/SYCL iGPU devices (Adreno X2-90 or Arc B390 12 Xe3), runs llama-bench pp2048/tg128 x3 with Q8_0 KV cache, and logs a sustained decode run to catch thin-and-light thermal throttling.
Local AIlaunch-llama-cpp-n-cpu-moe.sh
llama.cpp Native --n-cpu-moe Hybrid GPU+DDR5 MoE Launcher (12GB–24GB VRAM)
Audits free GPU VRAM via nvidia-smi, keeps 100% of attention layers and Q8_0 KV cache on GPU (-ngl 99 -fa), and offloads exact N MoE expert layers to dual-channel DDR5 RAM via --n-cpu-moe.
Local AIlaunch-mac-tb5-rdma-mlx-cluster.sh
macOS Thunderbolt 5 RDMA & MLX JACCL Multi-Mac Cluster Verifier + Launcher
Audits rdma_ctl status and ibv_devices (rdma_en*) across Thunderbolt 5 peers, sets iogpu.wired_limit_mb, generates a full-mesh JACCL hostfile via mlx.distributed_config, and launches tensor-parallel MLX inference with MLX_METAL_FAST_SYNCH=1.
Local AIrun-sff-70w-pro4000-b50-llm.sh
70W SFF Workstation GPU (RTX PRO 4000 SFF 24GB / Arc Pro B50 16GB) & Tenstorrent Blackhole HomeLab Runner
Audits PCIe slot power draw (70W TBP limit), ECC memory overhead on RTX PRO 4000 Blackwell SFF 24GB, SYCL/Vulkan XMX devices on Intel Arc Pro B50 16GB, or tt-smi mesh status on Tenstorrent Blackhole p150a, then starts llama-server with Q8_0 KV cache.