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-131805", "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.140205724004772, "completed": 4, "failed": 0, "total_input_tokens": 512, "total_output_tokens": 2048, "request_throughput": 0.4376269113390813, "request_goodput": null, "output_throughput": 224.06497860560964, "total_token_throughput": 280.081223257012, "latencies": [2.281992342999729, 2.2792553109975415, 2.1788330330018653, 2.3981420589989284], "queue_times": [9.643199882702902e-05, 2.2824285320020863, 4.5621735919994535, 6.74141436300124], "max_output_tokens_per_s": 240.0, "max_concurrent_requests": 2, "rtfx": 0.0, "mean_ttft_ms": 64.17007350137283, "median_ttft_ms": 57.13329550053459, "std_ttft_ms": 12.563409148373468, "p99_ttft_ms": 85.06501456911792, "mean_tpot_ms": 4.345177324849595, "median_tpot_ms": 4.322967756356303, "std_tpot_ms": 0.154040460427084, "p99_tpot_ms": 4.574464222132733, "mean_itl_ms": 4.345177324849596, "median_itl_ms": 4.256915497535374, "std_itl_ms": 0.5382678341478347, "p99_itl_ms": 7.08854043943571}
@@ -0,0 +1 @@
{"date": "20261030-131832", "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.3347399619960925, "completed": 32, "failed": 0, "total_input_tokens": 4096, "total_output_tokens": 16384, "request_throughput": 4.36279952197398, "request_goodput": null, "output_throughput": 2233.753355250678, "total_token_throughput": 2792.1916940633473, "latencies": [4.109339278998959, 4.119457559994771, 4.118214727001032, 4.1183672989936895, 4.118088524002815, 4.117058725001698, 4.118474322000111, 4.11732486999972, 4.116403562002233, 4.116166708001401, 4.113756642000226, 4.114774180998211, 4.11461404900183, 4.114652709002257, 4.111940517999756, 4.113143440998101, 3.2169255730041186, 3.2151628290012013, 3.2140650690053008, 3.212220523993892, 3.2133750550055993, 3.213556119000714, 3.2118768979999004, 3.213470258000598, 3.212720472998626, 3.213398245999997, 3.2128588460036553, 3.2127135430055205, 3.212956907998887, 3.212791854995885, 3.2122093040015898, 3.212191412996617], "queue_times": [0.0003015949987457134, 0.00043542800267459825, 0.0015463790041394532, 0.0017656140043982305, 0.0018318450020160526, 0.0027516219997778535, 0.0028523329965537414, 0.002918265003245324, 0.003875672999129165, 0.003975045001425315, 0.004047397000249475, 0.005262040001980495, 0.0053509310018853284, 0.005513215000974014, 0.0055482249954366125, 0.006740696997439954, 4.109995660997811, 4.117597684999055, 4.118599604000337, 4.120330017001834, 4.120422328996938, 4.1204856089971145, 4.120550000006915, 4.120636792002188, 4.120709853996232, 4.1207716849967255, 4.120833296001365, 4.12089461699361, 4.120972138996876, 4.121035470001516, 4.121093991001544, 4.121293955002329], "max_output_tokens_per_s": 2832.0, "max_concurrent_requests": 32, "rtfx": 0.0, "mean_ttft_ms": 685.495699405692, "median_ttft_ms": 669.9703944977955, "std_ttft_ms": 495.61480674156587, "p99_ttft_ms": 1185.8347309691453, "mean_tpot_ms": 5.829770526420424, "median_tpot_ms": 5.855092188851327, "std_tpot_ms": 0.08790610188083402, "p99_tpot_ms": 5.953546885623191, "mean_itl_ms": 5.829770526420424, "median_itl_ms": 5.726918501750333, "std_itl_ms": 1.012394055824064, "p99_itl_ms": 10.299318490579022}