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-132838", "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.739264281000942, "completed": 4, "failed": 0, "total_input_tokens": 512, "total_output_tokens": 2048, "request_throughput": 0.4107086412885496, "request_goodput": null, "output_throughput": 210.2828243397374, "total_token_throughput": 262.85353042467176, "latencies": [2.4129335789984907, 2.4066987019978114, 2.4054799570003524, 2.512274647000595], "queue_times": [0.00015194200386758894, 2.4133646070040413, 4.820345854997868, 7.226265941004385], "max_output_tokens_per_s": 220.0, "max_concurrent_requests": 2, "rtfx": 0.0, "mean_ttft_ms": 58.8622357481654, "median_ttft_ms": 58.96387549728388, "std_ttft_ms": 1.306894170318193, "p99_ttft_ms": 60.55487143312348, "mean_tpot_ms": 4.648697623289917, "median_tpot_ms": 4.600493669277627, "std_tpot_ms": 0.09046637667247957, "p99_tpot_ms": 4.799044734903226, "mean_itl_ms": 4.648697623289916, "median_itl_ms": 4.577436502586352, "std_itl_ms": 0.4294926436363751, "p99_itl_ms": 6.305898009450168}
@@ -0,0 +1 @@
{"date": "20261030-132906", "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.3009819430008065, "completed": 32, "failed": 0, "total_input_tokens": 4096, "total_output_tokens": 16384, "request_throughput": 5.078573512743663, "request_goodput": null, "output_throughput": 2600.2296385247555, "total_token_throughput": 3250.287048155945, "latencies": [3.1192458650039043, 3.131029809002939, 3.131492726999568, 3.1314182659989456, 3.130139572000189, 3.1305775200016797, 3.129385097003251, 3.130537908997212, 3.125459333001345, 3.125569464995351, 3.1283528479980305, 3.1270385829993756, 3.1274381299954257, 3.127534391998779, 3.123279391998949, 3.1258908810050343, 3.170476774001145, 3.167958626996551, 3.169488214996818, 3.168227062000369, 3.1664141669971286, 3.165589911004645, 3.165488260005077, 3.1655750119971344, 3.165174734000175, 3.1651773839985253, 3.1658392470053514, 3.164731684999424, 3.165353516997129, 3.165351928000746, 3.164560992998304, 3.1645045210025273], "queue_times": [0.00033614599669817835, 0.0004814589992747642, 0.0012564240023493767, 0.001460058003431186, 0.0015223689988488331, 0.0024354859997401945, 0.0025342680019093677, 0.002609999995911494, 0.0035688179996213876, 0.003664259005745407, 0.0037235900017549284, 0.004702698999608401, 0.004795131004357245, 0.0049757839951780625, 0.006070834999263752, 0.006473242996435147, 3.120717654004693, 3.1305293190016528, 3.13079991399718, 3.131073409000237, 3.133243999996921, 3.1334799350006506, 3.133691878996615, 3.1339266930008307, 3.1341777079942403, 3.134383821998199, 3.1345552149941796, 3.1346764379995875, 3.1347843390030903, 3.13495458199759, 3.1351169050030876, 3.1352399780007545], "max_output_tokens_per_s": 2864.0, "max_concurrent_requests": 32, "rtfx": 0.0, "mean_ttft_ms": 195.4769352500989, "median_ttft_ms": 195.30357299663592, "std_ttft_ms": 6.326549976032533, "p99_ttft_ms": 203.70120406973, "mean_tpot_ms": 5.775993144447032, "median_tpot_ms": 5.784180123290221, "std_tpot_ms": 0.04664855837575434, "p99_tpot_ms": 5.848091654619755, "mean_itl_ms": 5.775993144447032, "median_itl_ms": 5.704408002202399, "std_itl_ms": 0.6950392624703431, "p99_itl_ms": 8.001931109974976}