DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to compare FP32 and quantized state accuracy on long tasks with STEP Quant

Run the evaluation suite to score FP32 against STEP Quant@6 on long-generation benchmarks.

Short answer: Complete the calibration step so the stepquant6 plan exists at artifacts/reproduction/plans/qwen-stepquant6.pt; then 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. All steps.

  • Research
  • Intermediate
  • half day
  • From the README
  • Any agent

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

  1. Complete the calibration step so the stepquant6 plan exists at artifacts/reproduction/plans/qwen-stepquant6.pt.
  2. Stop any manually started server, since the evaluation suite starts its own.
  3. 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)
  4. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer