Who it is forA model evaluator who needs accuracy evidence before deciding whether a quantized recurrent state is safe to deploy.
The problemMemory savings mean little if long-generation accuracy drops, and the comparison has to be run on the same model.
The outcomeAverage accuracy scores for FP32 and STEP Quant@6 on the long-generation benchmark set, to compare against the paper table.
What you need first
- Model checkpoints for a supported model, such as Qwen3.8-27B, placed on disk
- A CUDA toolkit and NVIDIA GPUs (the Qwen example uses four GPUs; the paper used NVIDIA A800 GPUs)
- Python with the tested stack: SGLang 0.5.12, PyTorch 2.11.0, Triton 3.7.1
- A clone of the repository, run from its root
Steps
- Complete the calibration step so the stepquant6 plan exists at artifacts/reproduction/plans/qwen-stepquant6.pt.
- Stop any manually started server, since the evaluation suite starts its own.
- Run
.venv-eval/bin/python -m stepquant.evaluation.suite --models qwen --benchmarks long --formats fp32 stepquant6 --server-python .venv-serving/bin/python --devices 0,1,2,3 --tp 4. (inferred, check the README) - Open REPRODUCTION.md for the zero-shot short-task protocol if you also want short-task scores. (inferred, check the README)
Prompt for your agent
In the STEPQuant repo at <repo_path>, run the evaluation suite on the long benchmarks for the fp32 and stepquant6 formats of the Qwen model. Report the average accuracy for each format and state whether the stepquant6 score is within 1 point of the fp32 score.
Caveat. The README notes that the 4 and 6 bit budgets are nominal because FP16 pivots and scales add storage, so reported accuracy should be read with that in mind.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Dreamer-Toby/STEPQuant and "Compare FP32 and quantized state accuracy on long tasks"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer