MIT Han Lab, in collaboration with NVIDIA, has presented QDA, a system in which the coding agent Claude Opus 5.5 within Claude Code autonomously designs post-training quantization (PTQ) recipes for large language models in a closed loop without human intervention. The tool is open under the Apache-2.0 license, and the resulting checkpoints work in vLLM and llama.cpp without changes to inference code.


What happened
QDA combines three components: a coding agent, a library of 21 existing PTQ methods (GPTQ, GSQ, AWQ, QuaRot, and others) behind a unified interface, and fast candidate evaluation based on KL divergence, which is 350–990 times faster than full evaluation. The agent combines and tunes known recipes in a closed loop, and the system selects the best one. According to the authors, QDA outperforms the strongest public recipes in 11 of 12 'model/accuracy' pairs, with an average gain of +0.9 p.p. for W4A16, +1.4 for W4A8, and +2.2 for W3A16. On the 320B MoE model GLM-5.3-Flash in NVFP4 format, one search took 6.5 hours and cost approximately $69, restoring 98.3% of FP8 accuracy compared to 96.9% for the NVIDIA checkpoint. Code, 30 checkpoints, and recipes are published openly under Apache-2.0.
Context
Selecting a quantization recipe is the tuning of a compression scheme for model weights and activations after training, without retraining. Previously, for each new model and target accuracy, this required manual expert work: a specialist manually tried different methods and parameters. The scientific novelty of QDA is moderate: all 21 methods in the library already exist, and the agent does not invent new quantization schemes. The real contribution of the system is in the closed-loop automation of a process that was previously expensive manual work. The key technical mechanism is fast evaluation based on KL divergence: it is this that makes the search economically viable, allowing many candidates to be checked in an acceptable time and budget.
Why this matters for the industry
QDA turns the selection of a quantization recipe from manual expert work into a reproducible agentic pipeline. This reduces the cost and time of deploying LLMs at 3–4 bits: one search on 8 GPUs takes about 8 hours and costs around $69, which is orders of magnitude cheaper than manual tuning. Open code and 30 public checkpoints give the industry a reproducible tool instead of closed vendor recipes. The market for custom manual quantization loses its price anchor, and the cost of deploying 3–4-bit models becomes predictably cheap. If reproducibility is confirmed, teams will be able to integrate QDA into CI/CD for automatic generation of quantized checkpoints with each model release.
Why this matters for users
An engineer can independently run QDA with the commands git clone, uv, and qda build to obtain a W4A16 or W4A8 version of a model that loads in vLLM and llama.cpp without additional code and without inference overheads. 30 checkpoints of 10 models in 5 formats have been published, which can be immediately evaluated on their own evals without running a search. Demo videos and articles show how the agent searches for a recipe in about 8 hours on 8 GPUs. For teams without in-house quantization experts, this makes 3–4-bit model compression available with a budget of about $70 per search.
What is still unknown / limitations
The claimed gains are moderate and do not represent a breakthrough, but a stable, practically significant win. The comparison with the NVIDIA checkpoint on GLM-5.3-Flash is a single example, not a systematic comparison. The library of 21 PTQ methods behind a unified interface is unified access to existing methods, not a new software layer or a new quantization method. The claimed results are based on the authors' statements and require independent verification of reproducibility.
Sources
- QDA: Closed-Loop LLM Quantization Design with Agents (MIT Han Lab blog)
- QDA: Closed-Loop LLM Quantization Design with Agents (arXiv 2611.23388)
- humanfia/qda — GitHub (code, 30 checkpoints, docs)
Author
Look at AI, editorial team
