google-ai-edge/litert-samples/accuracy-safe-quantization
Shrink a converted LiteRT model with ai-edge-quantizer (fp16 / int8 / int4) without losing accuracy, verifying parity against the float source after every step. Use when choosing a quantization recipe for a new model, when a quantized model fails to load, degrades on a task benchmark, or degenerates over long generations, or when deciding between dynamic-range, weight-only, and blockwise variants.
Agent skill · version 0.0.0-main.1794521402.g8630c5b · from google-ai-edge/litert-samples
Install
npx yarkr-cli add skill:google-ai-edge/litert-samples/accuracy-safe-quantizationWithout 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/accuracy-safe-quantization
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:google-ai-edge/litert-samples/accuracy-safe-quantizationOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:google-ai-edge/litert-samples/accuracy-safe-quantizationWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.