Assists the user to calibrate, merge, and statically quantize litert LLM models (such as Gemma 3) in standard open-source (OSS) environments.
SkillScore100Maintained
Automatic
◆AI Engineer pack
Last verified 8/16/2026
What it changes
Passed 21 of 21 test cases with the skill, and 5 of 21 without it.
Without skill23%
With skill100%
Checks it passed that the model alone missed
Recommends setting --a16w8=True.
Recommends setting --allow_float_operations=True.
Recommends keeping RMS Norm operations in Float32.
and 23 more in the full report
17 fixed5 passed either way0 still failing0 broke
Pass-rate lift
+77 pp
Tokens
+37%
Agent turns
0%
Response time
-64%
Model gemini-3.6-flashMeasured 8/16/2026v222 of 22 cases passed with skill · 21 comparable
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 16 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 16
Prompt
When running the LiteRT quantizer script, which single flag ensures precision protection for Float32 operations like normalization layers and residual skips?
What was checked, without and with the skill
Checked
Without skill
With skill
Recommends setting --allow_float_operations=True.
Missed
Passed
case-18 · gemini-3.6-flash · 8/16/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md177 linessingle file
LiteRT LLM Calibration & Quantization Skill
A skill to guide the calibration, alignment, precision protection, and static
range quantization of LiteRT LLMs (such as Gemma 3 1B) for high-performance NPU
deployments.
Triggers and Anti-Triggers
Use when:
The user wants to calibrate a LiteRT model against conversational prompt
datasets.
The user needs to merge calibration JSON files from multiple different
tasks.
The user wants to statically quantize a model suite (e.g. A8W8 or A16W8
configurations).
The user needs to protect RMS Norm or residual paths from quantization
noise in Float32.
The user needs to align KV Cache quantization scaling parameters across
main and auxiliary models.
The user wants to run CPU/NPU inference testing on unquantized or
quantized LiteRT models.
General quantizations that do not involve LLM prefill/decode subgraphs
or KV caches.
Principles & Mathematical Gotchas
Every LLM NPU quantization task has highly sensitive numerical paths. You
must strictly adhere to these verified gotchas to prevent quality
degradation or loop crashes: