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.
More from coding & agent
- Agents don't need meetings: shared log, one goal, one human approver beats org-chart setups — alvelda · 2026-11-24
- Electric factories took 30 years to pay off — Benedict Evans says AI workflows need the same rethink — viksit · 2026-11-24
- LlamaFactory: fine-tune 100+ LLMs with no-code UI, now at 76k GitHub stars — aftahi_ai · 2026-11-24
- Iskander bets Claude wouldn't push Neon toward new algebraic rewrites of GPU kernels — iskander · 2026-11-24
- Startup built chess screen and 2048 game with Claude via design handoff packages — VasishtaReddy · 2026-11-24
- 'System 1.5 models': think in depth, not in tokens, answer in one forward pass — arpit_bhayani · 2026-11-24