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-133616", "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.939587909997499, "completed": 4, "failed": 0, "total_input_tokens": 512, "total_output_tokens": 2048, "request_throughput": 0.4024311708110851, "request_goodput": null, "output_throughput": 206.04475945527557, "total_token_throughput": 257.55594931909445, "latencies": [2.3766988439965644, 2.5379829149969737, 2.4470119619945763, 2.575631116000295], "queue_times": [0.00020738400053232908, 2.377322884996829, 4.91575973900035, 7.363189529001829], "max_output_tokens_per_s": 226.0, "max_concurrent_requests": 2, "rtfx": 0.0, "mean_ttft_ms": 76.26209699810715, "median_ttft_ms": 77.21845499690971, "std_ttft_ms": 11.90693660077749, "p99_ttft_ms": 89.10363945644349, "mean_tpot_ms": 4.712464016142848, "median_tpot_ms": 4.732775554789272, "std_tpot_ms": 0.17354474917814838, "p99_tpot_ms": 4.90591142362247, "mean_itl_ms": 4.712464016142848, "median_itl_ms": 4.631377501937095, "std_itl_ms": 0.5708250916658234, "p99_itl_ms": 6.686193968416772}
@@ -0,0 +1 @@
{"date": "20261030-133642", "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.721963214004063, "completed": 32, "failed": 0, "total_input_tokens": 4096, "total_output_tokens": 16384, "request_throughput": 4.760514001822185, "request_goodput": null, "output_throughput": 2437.3831689329586, "total_token_throughput": 3046.7289611661986, "latencies": [3.2662002639990533, 3.2815813349952805, 3.2780971300016972, 3.276048620005895, 3.2770210589951603, 3.279105627996614, 3.2756626030022744, 3.2761523830049555, 3.274561452999478, 3.2742970479957876, 3.274443420996249, 3.2727046979998704, 3.272846739993838, 3.2792377610021504, 3.2780812389974017, 3.277262042996881, 3.4413252960002865, 3.4388107689956087, 3.438274109001213, 3.4410906720004277, 3.437267248998978, 3.436438614000508, 3.4360007560026133, 3.4359967250056798, 3.4394014499994228, 3.4362978210047004, 3.436282921000384, 3.4353899839989026, 3.4353698729973985, 3.4348176130006323, 3.4350984080010676, 3.4349087339942344], "queue_times": [0.0004907300026388839, 0.0007400540052913129, 0.0017376629984937608, 0.002077059994917363, 0.002194781001890078, 0.003267881998908706, 0.0034226950010634027, 0.0035338070010766387, 0.00484646199765848, 0.005004564001865219, 0.0051031960028922185, 0.005185777998121921, 0.006593035002879333, 0.0067493079986888915, 0.0068514189988491125, 0.007765267000650056, 3.267375846997311, 3.278502847002528, 3.2787886329970206, 3.279956123995362, 3.281149796996033, 3.2812993800034747, 3.2814047319989186, 3.281535204994725, 3.2816876380020403, 3.281798448995687, 3.2819021409959532, 3.282396921000327, 3.282602704995952, 3.2854535190053866, 3.2856561329972465, 3.285945118004747], "max_output_tokens_per_s": 2817.0, "max_concurrent_requests": 32, "rtfx": 0.0, "mean_ttft_ms": 368.1602939066124, "median_ttft_ms": 360.5748580012005, "std_ttft_ms": 69.15831578167075, "p99_ttft_ms": 450.52361902504344, "mean_tpot_ms": 5.847905150071737, "median_tpot_ms": 5.850104745596758, "std_tpot_ms": 0.027204234642958305, "p99_tpot_ms": 5.906107968250168, "mean_itl_ms": 5.847905150071738, "median_itl_ms": 5.734742997447029, "std_itl_ms": 0.7712148890430939, "p99_itl_ms": 7.983787500561447}