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-132741", "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.542456769995624, "completed": 4, "failed": 0, "total_input_tokens": 512, "total_output_tokens": 2048, "request_throughput": 0.41917926341329753, "request_goodput": null, "output_throughput": 214.61978286760834, "total_token_throughput": 268.2747285845104, "latencies": [2.5296247260048403, 2.3391078319982626, 2.3390649529974326, 2.3324241060036], "queue_times": [0.0001401920017087832, 2.5303077589996974, 4.869872089999262, 7.2093272609999985], "max_output_tokens_per_s": 230.0, "max_concurrent_requests": 2, "rtfx": 0.0, "mean_ttft_ms": 66.6820659989753, "median_ttft_ms": 60.91750149789732, "std_ttft_ms": 10.855801578801808, "p99_ttft_ms": 84.71933972883562, "mean_tpot_ms": 4.536934125737884, "median_tpot_ms": 4.45888525733437, "std_tpot_ms": 0.14225192464121442, "p99_tpot_ms": 4.773496245686312, "mean_itl_ms": 4.536934125737884, "median_itl_ms": 4.471064497920452, "std_itl_ms": 0.3335170639460094, "p99_itl_ms": 5.650778200797503}
@@ -0,0 +1 @@
{"date": "20261030-132809", "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.6774491729956935, "completed": 32, "failed": 0, "total_input_tokens": 4096, "total_output_tokens": 16384, "request_throughput": 4.168051038690732, "request_goodput": null, "output_throughput": 2134.0421318096546, "total_token_throughput": 2667.552664762068, "latencies": [4.2978021029994125, 4.304481669001689, 4.3051414319998, 4.3090967370008, 4.303821187000722, 4.30785582200042, 4.304237525000644, 4.306404594994092, 4.3027853470048285, 4.3028033769951435, 4.3056047999998555, 4.301542683002481, 4.305042560001311, 4.30461721100437, 4.300812980000046, 4.303392728994368, 3.363795149998623, 3.371243200999743, 3.3676552630058723, 3.3676131920001353, 3.3662440570042236, 3.367234385004849, 3.3670349709937, 3.3667791170009878, 3.3669605899995076, 3.3652343379944796, 3.365725226001814, 3.3651531159994192, 3.3648785400000634, 3.365648595005041, 3.3651860760001, 3.365193816003739], "queue_times": [0.0003191959985997528, 0.0004859589971601963, 0.0012328829980106093, 0.0014419069993891753, 0.0023271940008271486, 0.0024478769992128946, 0.0025262370036216453, 0.003564527003618423, 0.003665318996354472, 0.0037367510012700222, 0.004555425999569707, 0.004667438995966222, 0.004737969997222535, 0.005719467997550964, 0.005804789005196653, 0.006641685002250597, 4.298950454001897, 4.305654990996118, 4.307583007997891, 4.30867182899965, 4.308862531994237, 4.308976284999517, 4.30909775600594, 4.30921434800257, 4.309396192002168, 4.310584054001083, 4.3107655179992435, 4.310885090002557, 4.311003492999589, 4.311110064998502, 4.3112204169956385, 4.311359688996163], "max_output_tokens_per_s": 2608.0, "max_concurrent_requests": 32, "rtfx": 0.0, "mean_ttft_ms": 695.4094267809978, "median_ttft_ms": 684.5630054995127, "std_ttft_ms": 511.8004552224434, "p99_ttft_ms": 1211.4344252848969, "mean_tpot_ms": 6.144442314886274, "median_tpot_ms": 6.163304093932707, "std_tpot_ms": 0.0865871753981504, "p99_tpot_ms": 6.302703116379575, "mean_itl_ms": 6.144442314886274, "median_itl_ms": 6.049604497093242, "std_itl_ms": 0.8416337158110322, "p99_itl_ms": 8.613124390030862}