What is quantized
- Weights: INT8, symmetric, one scale per output channel. Activations: INT8, symmetric, dynamic per token.
This is the compressed-tensors
int-quantized format.
- Quantized: every Linear of the language model, including all 128 experts of every MoE layer. That is 24.5B of
25.8B parameters (95%).
- Left in BF16: embeddings (tied with the LM head), the MoE routers, norms, and the vision tower.
How it was made
llm-compressor 0.15.0 and transformers 5.24.1 were used. The
script is in recipe/quant_sq_gptq.py, and llm-compressor's own record of the recipe is in recipe.yaml.
-
Expert linearization. The fused 3D expert tensors are split into 128 per-expert gate/up/down Linear modules
per layer (linearize_moe), so the experts are quantized and calibrated too, with all experts seeing all
calibration tokens.
-
SmoothQuant, alpha 0.8, with Gemma-4-specific mappings. Gemma 4 isn't in llm-compressor's mapping registry,
and the generic default would smooth post_attention_layernorm, which in Gemma sits on the attention output. The
mappings used are:
input_layernorm → q/k/v projections. The full-attention layers have no v_proj, because V is derived from k_proj.
pre_feedforward_layernorm → dense MLP gate/up.
pre_feedforward_layernorm_2 → the 128 experts' gate/up, with one shared scale.
up_proj → down_proj, for the dense MLP and per expert.
Gemma 4's RMSNorm multiplies by its weight directly (no 1 + w), so the smoothing is exact.
-
GPTQ, damping 0.01, sequential per decoder layer.
-
Calibration data: 244 states from the train split of the public
BEV Decision Mix dataset, revision 11ed9b5b.
- The states are stratified by domain, with one random question each, 93k tokens in total (median 238 tokens per prompt).
- Each prompt is rendered exactly as the slot-decision server renders it: the system prompt,
<state>…</state>,
the question suffix and the chat template.
- The rows used are listed in
quant_meta.json. None of them are in the test sample used for the evaluation below.
-
Calibration mask. The served model runs its 5 full-attention layers block-bidirectionally:
- the prefix (system prompt and state) attends to itself in both directions;
- the question suffix attends to itself in both directions and to the whole prefix;
- the sliding-window layers stay causal.
Hugging Face's forward pass is causal everywhere, so the calibration forward pass injects this mask for the
full-attention layers. Calibrating with the causal mask instead gave 0.3 points lower accuracy and a worse Brier score (0.2761 vs 0.2727).
Evaluation
The evaluation used the BEV Decision Mix test split: a stratified sample of 2,136 states and 4,015 questions (choice,
yes/no and score), with gold labels hidden from the server. Accuracy is argmax, or P(yes) ≥ 0.5 for yes/no
questions. A flip is a question whose top option differs from the BF16 model on the same server stack.
Table with columns: Run, Accuracy, Brier, Flips vs BF16, Flips on score questions| Run | Accuracy | Brier | Flips vs BF16 | Flips on score questions |
|---|
| BF16 | 80.02% | 0.2734 | – | – |
| BF16, second run (noise floor) | 80.07% | 0.2729 | 0.62% | 0.81% |
| this checkpoint, vLLM + one-pass head-512 attention | 80.15% | 0.2733 | 2.84% | 3.95% |
| this checkpoint, vLLM + two-pass head-512 attention, tuned INT8 MoE | 80.12% | 0.2741 | 3.11% | 5.23% |
Recipes that didn't make the cut, all W8A8, with flips vs BF16:
Table with columns: Recipe, Flips, Accuracy| Recipe | Flips | Accuracy |
|---|
| GPTQ alone (measured on RTX PRO 6000, BF16 noise 1.0–1.5% there) | 4.0–4.2% | 79.75% |
| SmoothQuant without up→down smoothing and causal calibration | 2.86% | 79.63% |
| Dense linears only, experts left in BF16 | 3.14% | 80.12% |
The churn comes mostly from quantizing the attention and dense-MLP activations, not the experts. Temperature scaling
cannot help: fitted on train-split reads, the temperature that best matches BF16's probabilities is 1.00 per question
type, and a temperature never changes a top option anyway.
Jev Decision Index 0.3, public suite
Both models were run through the complete public suite of the Decision Index
(kit apolinario/decision-index @ 25c6ec7, edition 0.3, 140,178 scoreable
requests) and scored with the kit's own score. This is our own run, not a leaderboard submission: the board's Full
score also needs the maintainers' private sets, which only they can run.
Table with columns: BF16 groundhog-1, this checkpoint, diff | BF16 groundhog-1 | this checkpoint | diff |
|---|
| Public index (chance-corrected) | 73.76 | 73.67 | −0.09 |
| Raw index | 80.02 | 79.96 | −0.06 |
| Knowledge & reasoning | 63.46 | 63.31 | −0.15 |
| Language understanding | 75.03 | 75.19 | +0.16 |
| Retrieval & classification | 75.79 | 75.56 | −0.23 |
| Tools & automation | 89.46 | 89.42 | −0.04 |
| Arts & human taste | 64.34 | 63.91 | −0.43 |
| Decisions that change their top option | – | 2.02% (6,302 of 312,319) | |
| Requests answered | 140,177 of 140,178 | 140,177 of 140,178 | |
For reference, a public index of 73.76 would sit 9th of the 346 entries on the board as of 2026-11-21 (elephant-1:
72.24, mammoth-1: 75.34).
Per benchmark (skill = chance-corrected score, 0 = random, 100 = perfect; flips = questions whose top option differs
between the two models):
Table with columns: Benchmark, BF16 skill, this checkpoint, flips| Benchmark | BF16 skill | this checkpoint | flips |
|---|
| BFCL | 97.77 | 97.85 | 0.21% |
| ToolRet | 68.41 | 68.34 | 0.81% |
| API-Bank | 88.56 | 88.36 | 0.20% |
| BANKING77 | 91.23 | 91.29 | 1.14% |
| CLINC150+OOS | 97.09 | 97.05 | 0.58% |
| Home appliance simulator | 100.00 | 100.00 | 0.00% |
| ContractNLI | 79.71 | 79.53 | 1.43% |
| ANLI | 69.55 | 69.74 | 2.94% |
| BPoMP | 97.76 | 97.64 | 0.30% |
| Humicroedit | 35.08 | 35.62 | 5.06% |
| POP909-CL | 80.05 | 79.66 | 2.95% |
| cfcolor | 44.95 | 43.25 | 2.84% |
| GPQA Diamond | 32.65 | 34.69 | 12.76% |
| WinoGrande | 84.06 | 84.22 | 1.66% |
| HellaSwag | 96.08 | 95.97 | 0.70% |
| GSM8K | 86.93 | 86.14 | 3.49% |
| ChessBench | 27.81 | 27.61 | 12.10% |
| MuSR | 77.81 | 76.33 | 2.93% |
| SATA-Bench | 53.09 | 53.27 | 0.68% |
| BRIGHT | 41.75 | 41.44 | 0.87% |
| Amazon ESCI | 53.15 | 53.28 | 2.02% |
| ACOS | 64.62 | 64.43 | 0.08% |
| FinEntity | 91.69 | 91.75 | 0.61% |
| iSarcasmEval | 65.30 | 67.22 | 0.37% |
| VAST | 61.61 | 61.67 | 2.40% |
| NLI4CT | 73.29 | 72.63 | 1.69% |
| CRUXEval | 92.48 | 91.09 | 1.75% |
| CLadder | 89.52 | 89.68 | 0.52% |
| HLE | 0.00 | 0.00 | 12.97% |
| Habermas Machine | 49.52 | 48.82 | 4.65% |
| PhishNChips | 92.10 | 91.20 | 0.94% |
| MMLU-Pro | 68.02 | 67.43 | 7.08% |
| BBH | 93.49 | 93.35 | 0.93% |
| RAGTruth | 70.31 | 70.66 | 0.67% |
| HoVer | 78.90 | 78.50 | 1.45% |
| When2Call | 91.09 | 91.05 | 0.41% |
| New Yorker caption matching | 78.69 | 78.46 | 3.79% |
The largest drops are cfcolor (−1.7), MuSR (−1.5) and CRUXEval (−1.4); the largest gains are GPQA Diamond (+2.0, 196
questions) and iSarcasmEval (+1.9). Flips concentrate where options are near-ties (ChessBench, RouterBench) or the
questions are hard (HLE, GPQA, MMLU-Pro), while the mean absolute probability change stays at 0.009 over all decisions.
How it was run:
- Same server stack for both: vLLM nightly
70b67cf8 + vllm#69478 + vllm#70518, one process per A100 80GB PCIe,
--max-model-len 24576 --gpu-memory-utilization 0.90 --max-num-seqs 64 --language-model-only, Triton attention with
FA2 on the sliding layers. This checkpoint used its vllm_moe_config/; BF16 used vLLM's default fused-MoE config
(affects speed only).
- Request path: the kit's stock
http engine and runner (POST /v1/systemone, unmodified state and questions),
run as 32 parallel shards per model; the shard results were concatenated and scored once.
- Context: at 24,576 tokens one scored request (a 25,330-token POP909-CL prompt) is refused, not truncated, on both
models and counts as wrong. groundhog-1 is trained to 131,072 tokens, so a longer
--max-model-len would answer it.
- Suite: rebuilt from the pinned sources; all files match the board's frozen hashes. Current kit main no longer
rebuilds the frozen SGD rows byte for byte (kit issue #274), so the one-line SGD builder change from
2d7791c was
reverted locally to reproduce them. SGD is shown on the board but not counted in the index.
- Latencies in the kit's
scores.json were measured under 32 concurrent clients and are not single-request latencies.
elephant-1 on the same suite
For comparison we ran elephant-1 through the same suite, kit commit and 32-shard runner, served with vLLM at
--max-model-len 16384. Our run scores 72.27; the board lists elephant-1 at
72.24, so the setup reproduces the board to within 0.03.
Table with columns: BF16 groundhog-1, elephant-1, diff | BF16 groundhog-1 | elephant-1 | diff |
|---|
| Public index (chance-corrected) | 73.76 | 72.27 | −1.49 |
| Raw index | 80.02 | 78.90 | −1.12 |
| Knowledge & reasoning | 63.46 | 60.83 | −2.63 |
| Language understanding | 75.03 | 73.67 | −1.36 |
| Retrieval & classification | 75.79 | 76.29 | +0.50 |
| Tools & automation | 89.46 | 87.96 | −1.50 |
| Arts & human taste | 64.34 | 61.43 | −2.91 |
| Decisions that differ from groundhog-1's top option | – | 10.04% (31,348 of 312,287) | |
| Requests answered | 140,177 of 140,178 | 140,176 of 140,178 | |
elephant-1's two unanswered requests are prompts longer than its 16,384-token limit (the POP909-CL prompt above and one
ToolRet prompt); both are refused, not truncated, and count as wrong.
groundhog-1 leads by the most on GSM8K (86.93 vs 70.93), iSarcasmEval (65.30 vs 50.83), MMLU-Pro (68.02 vs 60.12),
CRUXEval (92.48 vs 85.80), Habermas Machine (49.52 vs 43.02), ToolRet (68.41 vs 62.65), cfcolor (44.95 vs 39.23) and
GPQA Diamond (32.65 vs 27.89, 196 questions). elephant-1 leads on SATA-Bench (58.43 vs 53.09), MuSR (80.76 vs 77.81),
PhishNChips (93.90 vs 92.10), BANKING77 (92.86 vs 91.23) and VAST (63.03 vs 61.61). On SGD/SGD-X, which the board shows
but does not count in the index, elephant-1 scores 0.00 skill (9.06 raw) against groundhog-1's 55.96. On the
service-given intent rows it puts most of its probability on NONE. Every one of those requests was answered (status
ok), so this is the model's behaviour, not a serving error.
Speed: stock vLLM vs our improvements
Measured on one A100 80GB PCIe with 64 requests built from the public BEV Decision Mix test split: ~13.2k-token states
(dataset states joined as numbered documents), 11 questions each. Every state is cold (a fresh nonce per window),
Triton caches are warm, and all 64 requests are sent at each concurrency. Every server runs
--max-model-len 24576 --gpu-memory-utilization 0.90 --max-num-seqs 64
.
- Stock: vLLM nightly
70b67cf8 + vllm#69478 only (the PR that
adds groundhog-1's architecture), default attention backend, BF16 groundhog-1.
- Ours: the same plus vllm#70518 (two-pass head_dim-512
PrefixLM attention, A100), FlashAttention-2 for the 25 sliding-window layers, and for this checkpoint the tuned INT8
fused-MoE config. These are the
decision-models-vllm images below.
Table with columns: Concurrency, stock vLLM, BF16, ours, BF16, ours, this checkpoint| Concurrency | stock vLLM, BF16 | ours, BF16 | ours, this checkpoint |
|---|
| 1 | 6.58 decisions/s, p50 1.67 s, p95 1.74 s | 10.62, p50 1.04 s, p95 1.09 s | 11.77, p50 0.92 s, p95 0.96 s |
| 2 | 6.80, p50 3.23 s, p95 3.36 s | 11.24, 1.95 s, 2.02 s | 12.77, 1.72 s, 1.78 s |
| 4 | 6.81, 6.45 s, 6.61 s | 11.32, 3.88 s, 3.95 s | 12.85, 3.41 s, 3.52 s |
| 8 | 6.81, 12.86 s, 13.03 s | 11.27, 7.75 s, 7.82 s | 12.84, 6.80 s, 6.87 s |
| 16 | 6.78, 25.63 s, 26.00 s | 11.17, 15.48 s, 15.67 s | 12.70, 13.59 s, 13.76 s |
| peak vs stock | 1.00x | 1.66x | 1.89x |
One decision is one answered question. Throughput saturates at 2 concurrent requests on every server, so beyond that
latency only grows with the queue: run one server per GPU and add replicas for more traffic.
Accuracy on the BEV test sample (2,136 states, 4,015 questions) in the same runs: stock 79.90% (Brier 0.2727), ours
BF16 80.05% (0.2730), this checkpoint 80.35% (0.2727). Against stock, 1.49% (ours BF16) and 3.14% (this checkpoint)
of decisions change their top option.
Where the time goes: on stock vLLM about two thirds of GPU time is attention, mostly the 5 head_dim-512 full-attention
layers, which Triton unified attention runs at ~25 TFLOP/s. vllm#70518 splits their PrefixLM prefill into two
GEMM-shaped passes (QKᵀ with a per-tile softmax epilogue, then PV) at ~125 TFLOP/s on the paged cache. After that,
fused MoE and the dense GEMMs are about half of GPU time. This checkpoint's gain comes from the dense layers, whose
CUTLASS INT8 GEMMs are 43% faster; on A100 the INT8 fused-MoE stays slightly slower than BF16 even with the tuned
config, because A100 INT8 GEMMs reach only 1.2–1.4× BF16 at these shapes.
To reproduce: bench/groundhog/ in
Wolfgang9999/decision-models-vllm
(the speed sweep, the BEV accuracy run and the Decision Index run, all from public data). Raw results are in
results/groundhog-a100/ there.
Serving with vLLM
groundhog-1's slot-decision architecture (Gemma4ForSlotDecision) is added by
vllm#69478, which is not merged as of 2026-11-29. The easiest way to
serve this checkpoint is the prebuilt image from
Wolfgang9999/decision-models-vllm: vLLM nightly
70b67cf8 + vllm#69478 + vllm#70518 as a Python-only overlay, entrypoint vllm serve (a drop-in for
vllm/vllm-openai).
Table with columns: Image, Serves| Image | Serves |
|---|
ghcr.io/wolfgang9999/decision-models-vllm:groundhog-w8a8 | this checkpoint, with the tuned A100 INT8 fused-MoE config built in |
ghcr.io/wolfgang9999/decision-models-vllm:groundhog | BF16 baselabs/groundhog-1 |
docker run --gpus '"device=0"' --ipc=host -p 8000:8000 -v ~/.cache/huggingface:/root/.cache/huggingface \ ghcr.io/wolfgang9999/decision-models-vllm:groundhog-w8a8 divg07/groundhog-1-W8A8 --served-model-name groundhog-1 \ --max-model-len 24576 --gpu-memory-utilization 0.90 --max-num-seqs 64 --language-model-only \ --attention-config '{"backend":"TRITON_ATTN","backend_per_kind":{"sliding_window":"FLASH_ATTN"}}' curl -s localhost:8000/v1/systemone -H 'content-type: application/json' -d '{"model": "groundhog-1", "state": "I was charged twice this month, please refund one of them.", "questions": {"refund": {"type": "noul", "instructions": "Is the customer asking for a refund?"}}}'
With your own vLLM build that includes vllm#69478 (and vllm#70518 for the A100 speed-up), point
VLLM_TUNED_CONFIG_FOLDER at this repo's vllm_moe_config/. The INT8 W8A8 MoE resolves the same tuned-config file
name as BF16, so keep it in its own folder:
huggingface-cli download divg07/groundhog-1-W8A8 --local-dir groundhog-1-W8A8VLLM_TUNED_CONFIG_FOLDER=groundhog-1-W8A8/vllm_moe_config \vllm serve groundhog-1-W8A8 --served-model-name groundhog-1 \ --max-model-len 24576 --gpu-memory-utilization 0.90 --max-num-seqs 64 --language-model-only \ --attention-config '{"backend":"TRITON_ATTN","backend_per_kind":{"sliding_window":"FLASH_ATTN"}}'
--attention-config keeps the 5 head_dim-512 layers on the Triton backend, where vllm#70518 takes their PrefixLM
prefill, and runs the 25 sliding-window layers on FlashAttention-2.
--max-model-len 24576 is what one A100 80GB fits for a one-step prefill; longer requests are refused, not truncated.
vllm_moe_config/E=128,N=704,device_name=NVIDIA_A100_80GB_PCIe.json is a fused-MoE config tuned for this
checkpoint's INT8 experts on A100 80GB PCIe. It is 1.5× faster than the BF16-tuned tiles at 4k+ tokens per step.
It's only valid for that GPU; elsewhere, leave VLLM_TUNED_CONFIG_FOLDER unset (or use the :groundhog image) or
tune your own.
--language-model-only serves text-only states; the vision tower is not quantized.
- RTX PRO 6000 Blackwell (SM120): vLLM picks a CUTLASS INT8 kernel that SM120 does not support. Set
VLLM_DISABLED_KERNELS=CutlassInt8ScaledMMLinearKernel (observed with an earlier W8A8 checkpoint of the same
layout; not re-tested with this one).
- Decisions are read through
POST /v1/systemone, as with the BF16 model; see the
groundhog-1 card for the request format.
Files
- Model:
model-*.safetensors, config.json (the original config plus quantization_config), readout.json,
tokenizer, chat template and processor files, all from groundhog-1.
recipe.yaml: llm-compressor's record of the recipe.
quant_meta.json: the script arguments and the BEV train rows used for calibration.
recipe/: the quantization script and the prompt renderer it uses (copied from vllm#69478).
vllm_moe_config/: the tuned A100 INT8 fused-MoE config.
License
The weights are a modified version (quantized, by a third party) of groundhog-1. groundhog-1 is Baseten's modification of Google's
Gemma 4 26B A4B IT. Baseten's modifications are under the MIT License, and the base model under the Apache License,
Version 2.0. See LICENSE and NOTICE, which are kept unchanged from groundhog-1. Gemma is a trademark of Google
LLC. This model is not affiliated with or endorsed by Google or Baseten.