Open-source llm-drift-bench catches silent JSON/number drift in quantized models offline

Worldly-Knowledge-90 · reddit · 2026-11-24

A developer released llm-drift-bench, an open-source Python CLI (MIT, pip install, Python 3.10+) for catching silent regressions after quantization: switching from FP16 to smaller quants like Q4KM can quietly drop required JSON keys, shift numbers by 20%, flip labels, or tank P95 latency while output still looks valid. Usage: save baseline and quantized model outputs as JSONL; the tool compares schema and value drift offline by promptid, no LLM-as-a-judge APIs or large embedding models needed, CI-friendly. It checks drift from baseline outputs and schemas, not factual correctness.

Original post →

More from coding & agent

coding & agent channel →