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-131710", "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.20149075199879, "completed": 4, "failed": 0, "total_input_tokens": 512, "total_output_tokens": 2048, "request_throughput": 0.43471216869191565, "request_goodput": null, "output_throughput": 222.5726303702608, "total_token_throughput": 278.215787962826, "latencies": [2.3295679519942496, 2.2681098110042512, 2.3518707039984292, 2.2500724690034986], "queue_times": [0.00011195200204383582, 2.329975740001828, 4.598632271998213, 6.950942083996779], "max_output_tokens_per_s": 233.0, "max_concurrent_requests": 2, "rtfx": 0.0, "mean_ttft_ms": 64.8051502485032, "median_ttft_ms": 59.618496998155024, "std_ttft_ms": 10.944803192670298, "p99_ttft_ms": 82.80239896972488, "mean_tpot_ms": 4.3739727666371895, "median_tpot_ms": 4.361735964775732, "std_tpot_ms": 0.07262158369977947, "p99_tpot_ms": 4.4790539440546056, "mean_itl_ms": 4.3739727666371895, "median_itl_ms": 4.342186999565456, "std_itl_ms": 0.3944851750097205, "p99_itl_ms": 5.257087841819152}
@@ -0,0 +1 @@
{"date": "20261030-131737", "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.2549286220018985, "completed": 32, "failed": 0, "total_input_tokens": 4096, "total_output_tokens": 16384, "request_throughput": 4.410794601473286, "request_goodput": null, "output_throughput": 2258.3268359543226, "total_token_throughput": 2822.908544942903, "latencies": [4.284489930993004, 4.297968145998311, 4.300566474994412, 4.296409756003413, 4.296139081001456, 4.296641500004625, 4.2919777529969, 4.294990979004069, 4.294913307996467, 4.291240208003728, 4.295396656998491, 4.293970599996101, 4.301511222001864, 4.301273888006108, 4.292548243000056, 4.293090933999338, 2.9570418879957288, 2.9517587879963685, 2.951575484999921, 2.954181923996657, 2.954692053994222, 2.9535957030020654, 2.953517392001231, 2.953047923001577, 2.9527566180040594, 2.952970851001737, 2.953349037998123, 2.9528462390007917, 2.9529875209991587, 2.951621025997156, 2.9432107569955406, 2.9434489110062714], "queue_times": [0.00033478600380476564, 0.0004644090004148893, 0.0012073920006514527, 0.0013813760015182197, 0.0014414670004043728, 0.0022470429976237938, 0.0023374640004476532, 0.002393946000665892, 0.00317118000384653, 0.0032375609953305684, 0.003297502000350505, 0.00424118999944767, 0.004320512001868337, 0.004421413999807555, 0.005309260996000376, 0.005383422001614235, 4.285416897997493, 4.295572170005471, 4.295889836001152, 4.29916488800518, 4.2994216730003245, 4.299672187997203, 4.299881911996636, 4.300136716999987, 4.3003492200004985, 4.300544473997434, 4.300796119001461, 4.301031773997238, 4.301240378001239, 4.302350498997839, 4.3097588590026135, 4.309957833000226], "max_output_tokens_per_s": 3024.0, "max_concurrent_requests": 32, "rtfx": 0.0, "mean_ttft_ms": 713.1098644060785, "median_ttft_ms": 701.743625497329, "std_ttft_ms": 542.477717948387, "p99_ttft_ms": 1265.228840127893, "mean_tpot_ms": 5.695707872920403, "median_tpot_ms": 5.740273529348153, "std_tpot_ms": 0.25375777656368675, "p99_tpot_ms": 5.977519379566533, "mean_itl_ms": 5.695707872920404, "median_itl_ms": 5.601891003607307, "std_itl_ms": 0.9009929298611752, "p99_itl_ms": 8.81470399894169}