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,12 @@
# LFM3-1.7B bench — util_target (2026-10-30 14:29)
Server: lfm3-vllm-xpu, Arc Pro B65, bf16, `vllm bench serve` random dataset, `--ignore-eos`.
| scenario | conc | in/out | requests | median TTFT ms | P99 TTFT ms | median TPOT ms | P99 ITL ms | prefill tok/s | decode tok/s | total tok/s | prefix-cache hits |
|---|---|---|---|---|---|---|---|---|---|---|---|
| decode | 1 | 128/512 | 4 | 59.0 | 60.6 | 4.60 | 6.31 | 53 | 210.3 | 263 | 0.0% |
| decode | 16 | 128/512 | 32 | 195.3 | 203.7 | 5.78 | 8.00 | 650 | 2600.2 | 3250 | 0.0% |
- prefill tok/s = input tokens / duration (meaningful for the prefill rows: 1 output token).
- decode tok/s = output tokens / duration (meaningful for the decode rows).
- raw JSON: results/bench_util_target/