Ripple-65B-Preview_INT8-W8A8 โ Quantized (Intel AutoRound ยท INT8 W8A8 + norm-fed W8A16 islands ยท mixed-precision compressed-tensors ยท vLLM + Transformers 5)
This repository provides a W8A8-dominant PTQ (Post-Training Quantized) build of ricursiveAI/Ripple-65B-Preview for vLLM serving on NVIDIA Ampere (SM80/86).
Unlike weight-only W8A16/Marlin checkpoints, this build keeps the GEMMs in INT8 tensor-core space at runtime: INT8 weights and INT8 dynamic per-token activations. On Ampere this is the CUTLASS INT8 W8A8 path โ the known-fast kernel route for this scheme.
Runtime requirements: โข vLLM with compressed-tensors support (recent nightly validated) and Transformers 5.x. โข
--trust-remote-codemust be enabled (Ripple is a customricursivearchitecture).
What's inside
- Sharded quantized weights (
model-00001-of-00013.safetensorsโฆ) + index (model.safetensors.index.json) config.jsonwith compressed-tensors mixed-precision metadata (quantization_config, two config groups)- Tokenizer artifacts and chat template
This package targets vLLM (compressed-tensors). Loading with vanilla
from_pretrained(weights-only) is not supported.
Base model & purpose
Ripple-65B-Preview is a 65B dense Transformer pretrained on 12T tokens with up to 1M context, purpose-built for agentic coding (TerminalBench 2.1: 80.5, SWE-bench Verified: 76.5; post-training focused on agentic coding). The calibration set for this quant was chosen to match that purpose โ see below.
Architecture notes relevant to quantization: 80 layers, thin-and-deep
(d_model 5120), PeriNorm (4 layer norms per block), gated attention
(g_proj), per-head Q/K RMSNorm, value residuals, hybrid 4:1 sliding/full
attention. No MoE, no vision tower, no MTP head, no linear-attention layers.
Quantization details
Method: Intel AutoRound (sign-gradient rounding + clipping search) โ an iterative, calibration-driven PTQ, not one-shot RTN and not AWQ/GPTQ. 400 tuning iterations per block, layer-by-layer across all 80 layers (~10.3 h total tuning on a single RTX 6000 PRO Blackwell).
Scheme: INT8_W8A8 โ INT8 symmetric weights, per-output-channel scales
(channel strategy), INT8 dynamic per-token activations.
Mixed-precision layout (2 config groups):
| Group | Scope | Weights | Activations | vLLM kernel path |
|---|---|---|---|---|
group_1 |
everything except q/k/v_proj and lm_head | INT8, per-channel symmetric | INT8, dynamic per-token | CUTLASS INT8 W8A8 (fast Ampere path) |
group_0 |
q_proj, k_proj, v_proj (all 80 layers) |
INT8, per-channel symmetric | 16-bit (BF16) | WNA16 (pack-quantized) |
format=mixed-precision with distinct per-group targets, so vLLM resolves each
fused layer to the correct scheme instead of collapsing both groups into one.
Key decisions (why each layer got the treatment it got)
- Quantized (640 modules): all
o_proj,g_proj(gated attention),gate_proj,up_proj,down_projโ full W8A8 (INT8 weights + INT8 activations). - INT8 weights + 16-bit activations (240 modules):
q_proj,k_proj,v_projโ the norm-fed island. These projections consume activations straight out ofinput_layernorm/ per-head Q/K RMSNorm outputs, which carry very large per-channel outliers (activation-probe work on a sibling model measured max/median ratios of 150โ226 on norm-fed inputs). Per-token INT8 loses ~11% of signal there vs ~2% for 16-bit. Keeping them at INT8 weights with 16-bit activations preserves fidelity where it's most fragile while leaving the bulk of compute in the INT8 path. vLLM fuses q/k/v into a single layer, so all three share one scheme by construction. - Unquantized (BF16):
lm_head(vocab 100352 โ standard W8A8 practice; keeps the output distribution exact)- all RMSNorm weights (4 PeriNorm norms + q_norm/k_norm + final norm),
value_res_lambda, andembed_tokensโ these are notnn.Linearmodules, so the quantizer never targets them. RMSNorms are deliberately left at full precision: quantizing norm weights measurably degrades the model's intelligence; they stay BF16.
- No SmoothQuant: dynamic per-token activation scales remove the need for it on this build.
Calibration
Calibration was data-driven, matched to the model's agentic-coding purpose:
- Recipe: software-engineering-weighted calibration set (
calibrate_software_engineer.yaml) - 542 samples collected from 47/49 recipe sources (100 tool-use reasoning, 100 Rust HumanEval, 50 competitive-programming, OpenCodeInstruct, Nemotron post-training data, plus general instruction/chat sources)
- Sequence length: 2048 tokens, 400 iterations/block, seed 42
- One source failed on a split name (
CodeArena, wantstestnottrain) โ non-strict mode tolerated it; its 8 samples were not material.
Accuracy expectations (read before benchmarking)
Staying in the INT8 activation path buys prefill speed on Ampere, and it costs a little accuracy โ this is the fundamental trade of W8A8:
- INT8 dynamic per-token activations quantize each token's activation tensor to 8 bits at runtime. On layers whose inputs are well-behaved this costs ~1โ2% relative signal; on norm-fed inputs (q/k/v) it can cost an order of magnitude more โ which is exactly why those layers were pulled out into the 16-bit-activation group.
- Expect small regressions vs BF16 on tight-margin evals (long-context recall, aggressive code-gen edge cases), typically within ~1โ2 points on a model of this size with AutoRound's rounding search.
- The layer-by-layer tuning loss decreased monotonically across all 80 blocks (e.g. block 0: 77.5 โ 61.3; block 79: 14.2 โ 9.5), indicating the rounding search converged normally.
- If a specific workload regresses, the first knob is moving more layers from
group_1 into the 16-bit-activation group (e.g.
gate_proj/up_proj, the other norm-fed projections) at a small prefill-speed cost.
Example usage (vLLM)
vllm serve TheHouseOfTheDude/Ripple-65B-Preview-INT8-W8A8 \
--served-model-name ripple-65b-int8-w8a8 \
--dtype bfloat16 \
--trust-remote-code \
--max-model-len 131072 \
--enable-chunked-prefill
What to check in the startup log:
- the compressed-tensors loader resolving both groups (W8A8 CUTLASS INT8 + WNA16 for the q/k/v group), not a single weight-only Marlin fallback;
- a test completion returning coherent text โ the first real proof the scales landed correctly.
Build provenance
| Field | Value |
|---|---|
| Source revision | e27e171792f303d74c048184e8259ba663cfa0d5 |
| Quantizer | Intel AutoRound, scheme INT8_W8A8, --weight-strategy channel |
| Activation islands | --a16 norm-fed (q/k/v_proj โ 16-bit activations) |
| Iterations | 400 per block, 80 blocks, seqlen 2048, nsamples 512 (537 tokenized) |
| Calibration samples | 542 collected / 47 of 49 sources OK |
| Tuning time | 10 h 17 min 38 s, single RTX 6000 PRO Workstation Blackwell |
| Export format | auto_round:llm_compressor (compressed-tensors, mixed-precision) |
| Peak VRAM during quant | 27.2 GB |
Notes
- Weights: INT8 per-channel symmetric โ ~65 GB checkpoint (13 shards).
- Designed for vLLM runtime on Ampere; prefill benefits from the CUTLASS INT8 W8A8 kernels, decode is unchanged or slightly different vs BF16.
--trust-remote-codeis required: the model ships custom modeling code (model_type: ricursive).
Credits
- Base Model: ricursiveAI/Ripple-65B-Preview
- Quantization: TheHouseOfTheDude
- Downloads last month
- 128
Model tree for TheHouseOfTheDude/Ripple-65B-Preview-INT8-W8A8
Base model
ricursiveAI/Ripple-65B-Preview