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-131902", "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.414754785000696, "completed": 4, "failed": 0, "total_input_tokens": 512, "total_output_tokens": 2048, "request_throughput": 0.4248650221217317, "request_goodput": null, "output_throughput": 217.53089132632664, "total_token_throughput": 271.9136141579083, "latencies": [2.341434656002093, 2.3764481990001514, 2.3239420270037954, 2.370547156999237], "queue_times": [0.00010681199637474492, 2.3420470580022084, 4.718925385001057, 7.0433292309971876], "max_output_tokens_per_s": 236.0, "max_concurrent_requests": 2, "rtfx": 0.0, "mean_ttft_ms": 80.1961114993901, "median_ttft_ms": 86.21468049750547, "std_ttft_ms": 12.307673268194307, "p99_ttft_ms": 89.26653106354934, "mean_tpot_ms": 4.447939135522366, "median_tpot_ms": 4.444553714288331, "std_tpot_ms": 0.05762181874963966, "p99_tpot_ms": 4.52233543256456, "mean_itl_ms": 4.4479391355223665, "median_itl_ms": 4.331347001425456, "std_itl_ms": 0.5475529170200568, "p99_itl_ms": 6.934396497817942}
@@ -0,0 +1 @@
{"date": "20261030-131927", "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": 6.32468062100088, "completed": 32, "failed": 0, "total_input_tokens": 4096, "total_output_tokens": 16384, "request_throughput": 5.059544017724013, "request_goodput": null, "output_throughput": 2590.4865370746948, "total_token_throughput": 3238.1081713433687, "latencies": [3.0184972499992, 3.030395714995393, 3.0285290500032715, 3.0296172110029147, 3.0295948200000566, 3.0276078630049597, 3.027058171996032, 3.0277676260011503, 3.0253881109965732, 3.02613478499552, 3.0222460009972565, 3.0245288549995166, 3.0251861569995526, 3.0250884749984834, 3.020753623000928, 3.019464359000267, 3.2914266520019737, 3.287736432001111, 3.2880457069986733, 3.293590403001872, 3.290607425995404, 3.2916074150052737, 3.291642005999165, 3.2910199639954953, 3.2910756139972364, 3.2905889359972207, 3.2903327709937003, 3.290729829001066, 3.2902100490027806, 3.2900446749990806, 3.2904535429988755, 3.290146777006157], "queue_times": [0.0004955600015819073, 0.0007120939990272745, 0.0017109129985328764, 0.0020398479973664507, 0.002159830997698009, 0.003137408995826263, 0.003297782997833565, 0.0034434949993737973, 0.004571956000290811, 0.004732209003122989, 0.004848712000239175, 0.005981813003018033, 0.006122356004198082, 0.006377711004461162, 0.006510373001219705, 0.007696874999965075, 3.0196981229964877, 3.0279340189954382, 3.028111733001424, 3.0293548249974265, 3.0317512710025767, 3.0319125639944104, 3.032035595999332, 3.032158638998226, 3.032340623001801, 3.032462224000483, 3.032635247000144, 3.032829921001394, 3.033023404997948, 3.0332558900045115, 3.033457734003605, 3.0336744169981102], "max_output_tokens_per_s": 2944.0, "max_concurrent_requests": 32, "rtfx": 0.0, "mean_ttft_ms": 216.06799062419668, "median_ttft_ms": 190.55809350174968, "std_ttft_ms": 38.58710911986534, "p99_ttft_ms": 258.68351085067843, "mean_tpot_ms": 5.757273762965501, "median_tpot_ms": 5.7642758718166425, "std_tpot_ms": 0.2052698892594232, "p99_tpot_ms": 6.13011086622238, "mean_itl_ms": 5.757273762965501, "median_itl_ms": 5.6458865001332015, "std_itl_ms": 1.2072001459319475, "p99_itl_ms": 7.632255499265739}