google-ai-edge/litert-samples/on-device-verification
Prove a converted or quantized LiteRT model on the actual device via the CompiledModel API - confirm GPU residency, compare device output against the source model, and diagnose device-only failures such as silent CPU fallback, whole-graph compile ceilings, and fp16 range breaks. Use after conversion or quantization, when device output is wrong or NaN, when a clean graph fails to compile only on device, or when GPU and CPU outputs are suspiciously identical.
Agent skill · version 0.0.0-main.1794521403.g8630c5b · from google-ai-edge/litert-samples
Install
npx yarkr-cli add skill:google-ai-edge/litert-samples/on-device-verificationWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:google-ai-edge/litert-samples/on-device-verification
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:google-ai-edge/litert-samples/on-device-verificationOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:google-ai-edge/litert-samples/on-device-verificationWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.