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-132240", "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.2137749839967, "completed": 4, "failed": 0, "total_input_tokens": 512, "total_output_tokens": 2048, "request_throughput": 0.4341325902735365, "request_goodput": null, "output_throughput": 222.2758862200507, "total_token_throughput": 277.84485777506336, "latencies": [2.3026521140054683, 2.373372879999806, 2.269543337999494, 2.2659465489996364], "queue_times": [0.00018372299382463098, 2.303330916998675, 4.677177905999997, 6.947146732003603], "max_output_tokens_per_s": 235.0, "max_concurrent_requests": 2, "rtfx": 0.0, "mean_ttft_ms": 62.31931825095671, "median_ttft_ms": 59.20683400108828, "std_ttft_ms": 7.055927176017418, "p99_ttft_ms": 73.77881559215894, "mean_tpot_ms": 4.3846563639924545, "median_tpot_ms": 4.341671964775991, "std_tpot_ms": 0.08746617675322246, "p99_tpot_ms": 4.528438632075258, "mean_itl_ms": 4.3846563639924545, "median_itl_ms": 4.31771199873765, "std_itl_ms": 0.40329988055793464, "p99_itl_ms": 6.040865168179151}
@@ -0,0 +1 @@
{"date": "20261030-132307", "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.54802715400001, "completed": 32, "failed": 0, "total_input_tokens": 4096, "total_output_tokens": 16384, "request_throughput": 4.886968127560692, "request_goodput": null, "output_throughput": 2502.1276813110744, "total_token_throughput": 3127.659601638843, "latencies": [3.054806586995255, 3.0668559039986576, 3.0626327749996562, 3.0608720210002502, 3.0621205959978397, 3.0643164969951613, 3.0605357160020503, 3.0606926689943066, 3.0594298639989574, 3.062966381003207, 3.0595920070045395, 3.058884673999273, 3.0618774100003066, 3.058483635999437, 3.060433703001763, 3.0607144789973972, 3.478686281996488, 3.479912166003487, 3.4783612270039157, 3.478365025999665, 3.4761647550039925, 3.4761305740030366, 3.47708925200277, 3.4767125949947513, 3.4771384129999205, 3.4800967190021765, 3.4793207950060605, 3.4796097299986286, 3.4797114219982177, 3.479403135999746, 3.4791207409944036, 3.479240762993868], "queue_times": [0.00028907500382047147, 0.00044917900231666863, 0.0012163229985162616, 0.0014273170017986558, 0.0015189080004347488, 0.0026252989991917275, 0.0027319910004734993, 0.0028240930041647516, 0.003941554998164065, 0.00404087700007949, 0.004101427999557927, 0.005094596999697387, 0.005196157995669637, 0.00538743200013414, 0.006329759999061935, 0.006417061005777214, 3.0557930060022045, 3.0628867799969157, 3.0645302510019974, 3.064725454998552, 3.065851154999109, 3.066002977997414, 3.066120740993938, 3.0662330929990276, 3.06634454500454, 3.066493387996161, 3.0673940849956125, 3.0675425579975126, 3.067680731001019, 3.067813812995155, 3.0679247340012807, 3.0680347270026687], "max_output_tokens_per_s": 2992.0, "max_concurrent_requests": 32, "rtfx": 0.0, "mean_ttft_ms": 314.4544960625808, "median_ttft_ms": 304.602268999588, "std_ttft_ms": 114.80067770748755, "p99_ttft_ms": 439.9563904916431, "mean_tpot_ms": 5.783251873837243, "median_tpot_ms": 5.791373567515517, "std_tpot_ms": 0.18505527019046542, "p99_tpot_ms": 6.004944822777242, "mean_itl_ms": 5.783251873837243, "median_itl_ms": 5.729088501539081, "std_itl_ms": 0.7786390007531732, "p99_itl_ms": 7.9767331857874515}