- quant/gptq_baked/: llm-compressor GPTQ W4A16 body (sequential pipeline, verified equal to the plain forward), B65-style GPTQ INT4 lm_head bake with a small damp/act-order/clipping grid, INT8 per-row embedding, assembly into one compressed-tensors checkpoint (1.155 GB vs 3.46 GB BF16) - plugin: pass quant_config to the token embedding so vLLM's compressed-tensors INT8 embedding path is used; BF16/FP8 greedy output unchanged - tests: INT8 embedding kernel check, quant method dump, head timing, round-6 driver - NOTES: round 6 results (PPL +8.1%, decode 217 t/s = FP8 pc +14%, head bake gives no measurable decode gain on this stack), llama-swap snippet (not applied) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
68 lines
2.4 KiB
JSON
68 lines
2.4 KiB
JSON
{
|
|
"head": "gptq",
|
|
"embed": "int8",
|
|
"body": {
|
|
"tool": "llm-compressor 0.15.0 (compressed-tensors 0.20.1)",
|
|
"scheme": "W4A16",
|
|
"bits": 4,
|
|
"group_size": 128,
|
|
"sym": true,
|
|
"actorder": "static",
|
|
"dampening_frac": 0.05,
|
|
"block_size": 128,
|
|
"nsamples": 256,
|
|
"seqlen": 2048,
|
|
"seconds": 497,
|
|
"quantized_linears": 142,
|
|
"ignore": [
|
|
"lm_head",
|
|
"re:.*self_attn\\.gate_proj$"
|
|
]
|
|
},
|
|
"bake": {
|
|
"K": 2048,
|
|
"N": 128000,
|
|
"hessian_rows": 516096,
|
|
"heldout_rows": 8192,
|
|
"heldout_stride": 64,
|
|
"heldout_split": "even rows select the GPTQ setting, odd rows are reported",
|
|
"group_size": 128,
|
|
"sym": true,
|
|
"column_chunk": 8192,
|
|
"calibration": "quant/calib/calib_256x2048.json (256 x 2048 tokens, EN/DE/tools/code)",
|
|
"activations": "final-norm output of the INT4-body model (weights dequantized from BODY_DIR)",
|
|
"grid": {
|
|
"damp=0.001,actorder=none,mse=False": 0.05986291542649269,
|
|
"damp=0.001,actorder=none,mse=True": 0.05176536366343498,
|
|
"damp=0.001,actorder=static,mse=False": 0.059399478137493134,
|
|
"damp=0.001,actorder=static,mse=True": 0.05138346180319786,
|
|
"damp=0.003,actorder=none,mse=False": 0.059860099107027054,
|
|
"damp=0.003,actorder=none,mse=True": 0.05176542326807976,
|
|
"damp=0.003,actorder=static,mse=False": 0.05940239503979683,
|
|
"damp=0.003,actorder=static,mse=True": 0.0513802245259285,
|
|
"damp=0.01,actorder=none,mse=False": 0.05985476076602936,
|
|
"damp=0.01,actorder=none,mse=True": 0.05176861211657524,
|
|
"damp=0.01,actorder=static,mse=False": 0.05940958857536316,
|
|
"damp=0.01,actorder=static,mse=True": 0.05138394609093666,
|
|
"damp=0.03,actorder=none,mse=False": 0.059855833649635315,
|
|
"damp=0.03,actorder=none,mse=True": 0.051782816648483276,
|
|
"damp=0.03,actorder=static,mse=False": 0.059424638748168945,
|
|
"damp=0.03,actorder=static,mse=True": 0.0513840951025486,
|
|
"damp=0.1,actorder=none,mse=False": 0.05993962660431862,
|
|
"damp=0.1,actorder=none,mse=True": 0.05188874900341034,
|
|
"damp=0.1,actorder=static,mse=False": 0.05954768881201744,
|
|
"damp=0.1,actorder=static,mse=True": 0.051495276391506195
|
|
},
|
|
"gptq_setting": "damp=0.003,actorder=static,mse=True",
|
|
"head_gptq": {
|
|
"out_err": 0.05072252079844475,
|
|
"weight_err": 0.12768974900245667,
|
|
"heldout_top1_agree": 0.9638671875
|
|
},
|
|
"embed_int8": {
|
|
"weight_err": 0.010053656063973904,
|
|
"lookup_err_heldout_tokens": 0.008669974282383919,
|
|
"scheme": "per-row absmax/127, BF16 scales, codes from the rounded scale"
|
|
}
|
|
}
|
|
} |