lfm3: round 6 - GPTQ INT4 baked (INT4 lm_head + INT8 embedding)

- 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>
This commit is contained in:
Pascal LinxweilerandClaude Opus 5.5 committed 2026-10-30 14:48:48 +01:00
1 parent 1115927570
commit 38b0e9a345
110 files changed
+118917 -3

No files matched your search

@@ -0,0 +1 @@
{"date": "20261030-132337", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 4, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 1, "duration": 9.492156549000356, "completed": 4, "failed": 0, "total_input_tokens": 512, "total_output_tokens": 2048, "request_throughput": 0.4214005510076897, "request_goodput": null, "output_throughput": 215.75708211593712, "total_token_throughput": 269.6963526449214, "latencies": [2.3067142799991416, 2.326535045998753, 2.3532545199996093, 2.5033458289981354], "queue_times": [0.00023366499954136088, 2.307365332999325, 4.634332177003671, 6.9880442950016], "max_output_tokens_per_s": 234.0, "max_concurrent_requests": 2, "rtfx": 0.0, "mean_ttft_ms": 65.74686574822408, "median_ttft_ms": 62.01574749866268, "std_ttft_ms": 9.288173980353815, "p99_ttft_ms": 80.88630486978217, "mean_tpot_ms": 4.514120455970031, "median_tpot_ms": 4.46343363210087, "std_tpot_ms": 0.15828093141118268, "p99_tpot_ms": 4.766378226529269, "mean_itl_ms": 4.514120455970031, "median_itl_ms": 4.471264001040254, "std_itl_ms": 0.45537053099829694, "p99_itl_ms": 5.490013271119095}
@@ -0,0 +1 @@
{"date": "20261030-132406", "endpoint_type": "openai", "backend": "openai", "label": null, "model_id": "lfm3-1.7b", "tokenizer_id": "/models/LFM3-1.7B", "num_prompts": 32, "request_rate": "inf", "burstiness": 1.0, "max_concurrency": 16, "duration": 7.121022259998426, "completed": 32, "failed": 0, "total_input_tokens": 4096, "total_output_tokens": 16384, "request_throughput": 4.493736830420619, "request_goodput": null, "output_throughput": 2300.7932571753568, "total_token_throughput": 2875.991571469196, "latencies": [3.5451638100057608, 3.5585877940029604, 3.557662305996928, 3.5569047719982336, 3.5556682880051085, 3.556112056998245, 3.5557734009998967, 3.5546071080025285, 3.555574757003342, 3.5551047079934506, 3.5548766540014185, 3.55466926900408, 3.5513119760071277, 3.5541669400045066, 3.554222390994255, 3.5534503769958974, 3.5607060640031705, 3.5584236110007623, 3.555898642000102, 3.556430973003444, 3.555786149998312, 3.5536468899954343, 3.5547335500014015, 3.5542464120007935, 3.554634628999338, 3.5543618930023513, 3.5577430069970433, 3.557423641999776, 3.557501563002006, 3.55675815900031, 3.5572491089988034, 3.556993643003807], "queue_times": [0.000292646000161767, 0.000482078998174984, 0.0012680939980782568, 0.001472117997764144, 0.002299843996297568, 0.0023928860027808696, 0.0024632159984321333, 0.0034979260017280467, 0.0035753470001509413, 0.0036585289999493398, 0.003722469999047462, 0.004838802000449505, 0.005025554994062986, 0.005089407000923529, 0.00514958800340537, 0.00618344599934062, 3.5460955269954866, 3.557503692994942, 3.559750376000011, 3.560026970997569, 3.5602169550038525, 3.5621331610018387, 3.562266984001326, 3.5623540749948006, 3.5624360270012403, 3.5625187779951375, 3.5626229100016644, 3.562706541000807, 3.562781223001366, 3.5628713149999385, 3.562944786004664, 3.563020447996678], "max_output_tokens_per_s": 2640.0, "max_concurrent_requests": 32, "rtfx": 0.0, "mean_ttft_ms": 222.63611300013508, "median_ttft_ms": 214.8351875039225, "std_ttft_ms": 24.06835336590918, "p99_ttft_ms": 253.29818440142841, "mean_tpot_ms": 6.522262654660976, "median_tpot_ms": 6.544767422707232, "std_tpot_ms": 0.0452447896277715, "p99_tpot_ms": 6.570147413504641, "mean_itl_ms": 6.522262654660976, "median_itl_ms": 6.304688999080099, "std_itl_ms": 1.4018338540332849, "p99_itl_ms": 10.880889000982277}