decider-4b-W8A16 โ Decider 4B at int8 (W8A16), for vLLM
Round-to-nearest int8 weight-only quantization (W8A16, INT symmetric, group 128) of
Mapika/decider-4b v2.1, built to be served by vLLM
through the compressed-tensors wNa16 (Marlin) kernel. This is the int8 arm of a reproducible
PoC measuring what quantization costs a decision model's answer distribution.
decider-4b is a System One decision model: one forward pass per question, the answer is the
probability over the option-letter logits โ no decoding, no parsing. architectures: Qwen3_5ForCausalLM, model_type: qwen3_5_text; needs transformers 5.x. Served name:
decider-4b-w8a16.
Quantization
- RTN (round-to-nearest, no calibration data), targets
Linear;lm_head,embed_tokensand alllinear_attnprojections left in bf16 โ the option-letter rows we read the answer from are inlm_head, so it stays exact. - Format
pack-quantized,quant_method: compressed-tensors0.19.0. The exact recipe is inrecipe.yaml(llm-compressorQuantizationModifier, scheme W8A16). - Checkpoint 5.49 GiB โ 65% of the 8.4 GiB bf16 source. RTN weight-space error: 0.67% rel-L2 (6 sampled layers) โ 17ร smaller than the int4 arm.
Measured (2ร CMP 170HX, sm_80, TP=2; 9 payloads / 21 questions)
| metric | int8 (this repo) | bf16 reference |
|---|---|---|
| top-1 | 20/21 | 20/21 |
| unambiguous-only top-1 | 15/16 | 15/16 |
| mean p(top-1) | 0.814 | 0.815 |
| automation budget @ ฯ=0.85 | 52% @ 100% | 52% @ 100% |
| parity vs bf16: top-1 agreement / mean |ฮp| | 21/21 (100%) / 0.0024 | โ |
| median payload latency | 833 ms | n/a (CPU reference) |
8 bits are free here. Zero answer flips against bf16 (21/21 top-1 agreement), mean |ฮp|
0.0024 โ the distribution is where bf16 puts it, so a ฯ calibrated on bf16 transfers unchanged
(52% of traffic @ 100% realised accuracy). Same Marlin wNa16 kernel as int4 (num_bits=8),
same launch, for 1.19 GiB more on disk than decider-4b-W4A16
โ which keeps the same top-1 at 4.30 GiB but sharpens the distribution (mean p 0.858) and needs
its own ฯ refit. If you read probabilities, pick int8.
Serve
vllm serve rovangju/decider-4b-W8A16 --served-model-name decider-4b-w8a16 \
--max-num-seqs 1 --seed 0 --enforce-eager
vLLM reads quantization_config from config.json; no trust_remote_code, no external code.
The Marlin kernel JIT-compiles at startup โ ninja must be on PATH. Compute capability โฅ 75.
Use --max-num-seqs 1 --seed 0 --enforce-eager if you read logprobs: every probe in a batch of
one keeps them deterministic.
The readout: prompt ends at the literal Answer: (, one /v1/completions request per option
letter, logprobs.token_logprobs[0] is log P(letter | prompt), and
p_i = softmax(logprob_i / T_type) with the shipped temperatures (choice 1.110, noul 1.560,
score 1.287). This checkpoint was produced by quantize-4b.py: RTN via llm-compressor 0.7.2a
on CPU, no GPU touched; the full measurement harness (payloads, scoring, bf16 parity arm)
reproduces every number above.
Base model Mapika/decider-4b is Apache-2.0 (independent open reproduction of the System One class, not affiliated with TypeSafe AI); this quantized derivative ships under the same license.
- Downloads last month
- 12