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-133310", "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.806620774994371, "completed": 4, "failed": 0, "total_input_tokens": 512, "total_output_tokens": 2048, "request_throughput": 0.4078877007459581, "request_goodput": null, "output_throughput": 208.83850278193054, "total_token_throughput": 261.0481284774132, "latencies": [2.5343534249986988, 2.507429586003127, 2.359211853996385, 2.4032645460029016], "queue_times": [0.00010628200107021257, 2.5350101869989885, 5.042861751004239, 7.402549354002986], "max_output_tokens_per_s": 219.0, "max_concurrent_requests": 2, "rtfx": 0.0, "mean_ttft_ms": 68.29343675053678, "median_ttft_ms": 62.815908502670936, "std_ttft_ms": 11.815546853132076, "p99_ttft_ms": 87.79470537832822, "mean_tpot_ms": 4.66295776125194, "median_tpot_ms": 4.68205705968756, "std_tpot_ms": 0.12626504023643145, "p99_tpot_ms": 4.786341066027901, "mean_itl_ms": 4.662957761251939, "median_itl_ms": 4.535510997811798, "std_itl_ms": 0.4837975677422912, "p99_itl_ms": 6.449697571079013}
@@ -0,0 +1 @@
{"date": "20261030-133337", "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.476818970004388, "completed": 32, "failed": 0, "total_input_tokens": 4096, "total_output_tokens": 16384, "request_throughput": 4.940696991563178, "request_goodput": null, "output_throughput": 2529.6368596803472, "total_token_throughput": 3162.046074600434, "latencies": [3.3921412660056376, 3.3828076200006763, 3.3884135050029727, 3.390662568002881, 3.389854782995826, 3.3891727600057493, 3.387174112001958, 3.389975376005168, 3.3883370339972316, 3.3783038849942386, 3.388375005000853, 3.3884888169995975, 3.3869605580039206, 3.3866946029957035, 3.3859646299970336, 3.3826797580040875, 3.0916658050045953, 3.082811168002081, 3.0845420109981205, 3.0825336430061725, 3.0824638420017436, 3.0823317090034834, 3.082255758003157, 3.0820056829979876, 3.0815021930029616, 3.0809265930001857, 3.081018655000662, 3.080512453998381, 3.0802968200005125, 3.080508525003097, 3.080317430998548, 3.0807372790004592], "queue_times": [0.0005260899997665547, 0.0008151660003932193, 0.0017322329949820414, 0.0021105799969518557, 0.0022432030018535443, 0.0030716979963472113, 0.00323956099600764, 0.0033597629953874275, 0.004523996001807973, 0.004713289003120735, 0.004822901995794382, 0.0049115229994640686, 0.006091515002481174, 0.006232047999219503, 0.006335929996566847, 0.007501030995626934, 3.383899319996999, 3.3842048660008004, 3.3911751880004886, 3.391500173995155, 3.3916946169993025, 3.3935127519944217, 3.3937487959992723, 3.3938991790055297, 3.394064232998062, 3.3941876249955385, 3.3943496769934427, 3.394502711002133, 3.394613633005065, 3.394725464997464, 3.3948303170036525, 3.394938358993386], "max_output_tokens_per_s": 2896.0, "max_concurrent_requests": 32, "rtfx": 0.0, "mean_ttft_ms": 190.83304818832403, "median_ttft_ms": 191.48188650069642, "std_ttft_ms": 7.19111219311296, "p99_ttft_ms": 199.670005214939, "mean_tpot_ms": 5.956811295683056, "median_tpot_ms": 5.9732182397273155, "std_tpot_ms": 0.29480574813937316, "p99_tpot_ms": 6.277825648172017, "mean_itl_ms": 5.956811295683055, "median_itl_ms": 5.721187997551169, "std_itl_ms": 1.066640031289085, "p99_itl_ms": 10.268871907901483}