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-125652", "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.454805132998445, "completed": 4, "failed": 0, "total_input_tokens": 512, "total_output_tokens": 2048, "request_throughput": 0.42306530316944374, "request_goodput": null, "output_throughput": 216.6094352227552, "total_token_throughput": 270.761794028444, "latencies": [2.356863078995957, 2.329413439001655, 2.38809481899807, 2.378189363000274], "queue_times": [0.00017544300499139354, 2.357541642995784, 4.687405769996985, 7.0759271170027205], "max_output_tokens_per_s": 224.0, "max_concurrent_requests": 2, "rtfx": 0.0, "mean_ttft_ms": 66.55684599900269, "median_ttft_ms": 60.30794050093391, "std_ttft_ms": 11.65921389043916, "p99_ttft_ms": 85.93668448556855, "mean_tpot_ms": 4.494292228962792, "median_tpot_ms": 4.489519389437313, "std_tpot_ms": 0.05184956185989864, "p99_tpot_ms": 4.554995417152173, "mean_itl_ms": 4.494292228962791, "median_itl_ms": 4.422723501193104, "std_itl_ms": 0.5823180217356847, "p99_itl_ms": 8.207850772523663}
@@ -0,0 +1 @@
{"date": "20261030-125719", "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.07745371600322, "completed": 32, "failed": 0, "total_input_tokens": 4096, "total_output_tokens": 16384, "request_throughput": 5.2653630114429735, "request_goodput": null, "output_throughput": 2695.8658618588024, "total_token_throughput": 3369.832327323503, "latencies": [2.9828006659954553, 2.9922337839961983, 2.995792251000239, 2.9950345160032157, 2.9951862590023666, 2.990561302001879, 2.9900327319992357, 2.989171344997885, 2.9893798000048264, 2.9931272409958183, 2.9933170739968773, 2.9883383800042793, 2.9879843529997743, 2.9880353850021493, 2.990602073004993, 2.990199425003084, 3.0833353769994574, 3.083147233002819, 3.0819243590012775, 3.081097984002554, 3.0810472930024844, 3.0799470229976578, 3.080445530998986, 3.0794686430017464, 3.0794682139967335, 3.0792630590003682, 3.0783378619962605, 3.078306881005119, 3.078763429999526, 3.0788027809976484, 3.0786422270030016, 3.078586326999357], "queue_times": [0.0004579880042001605, 0.0006435820032493211, 0.001404736001859419, 0.0016696519960532896, 0.0017612639931030571, 0.0025420890015084296, 0.00266398999519879, 0.0027384120039641857, 0.0035046959965256974, 0.003614628003560938, 0.003698330001498107, 0.004844011993554886, 0.00498157499532681, 0.005218767997575924, 0.006185696998727508, 0.006296948995441198, 2.9838142539956607, 2.9923879569978453, 2.9940629889970296, 2.9942125710003893, 2.994357214003685, 2.9956780190041172, 2.995903383998666, 2.9960698159993626, 2.9962006580026355, 2.997229528002208, 2.997381931003474, 2.997508503998688, 2.9976238059971365, 2.997731408002437, 2.9979620219965, 2.998084683997149], "max_output_tokens_per_s": 2944.0, "max_concurrent_requests": 32, "rtfx": 0.0, "mean_ttft_ms": 185.86262690701005, "median_ttft_ms": 179.37585700201453, "std_ttft_ms": 12.438898750920941, "p99_ttft_ms": 200.72544690898212, "mean_tpot_ms": 5.576368441107445, "median_tpot_ms": 5.591059015655901, "std_tpot_ms": 0.10873207563221228, "p99_tpot_ms": 5.720285027372877, "mean_itl_ms": 5.576368441107445, "median_itl_ms": 5.473894005262991, "std_itl_ms": 0.7789732759432322, "p99_itl_ms": 8.254564001763349}