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

+18
View File
@@ -0,0 +1,18 @@
r1 target decode c=1 TTFT 72.3 ms TPOT 4.34 ms in 56 tok/s out 224.5 tok/s cache-hits 0.0%
r1 target decode c=16 TTFT 800.7 ms TPOT 6.02 ms in 537 tok/s out 2149.9 tok/s cache-hits 0.0%
r1 headonly decode c=1 TTFT 59.6 ms TPOT 4.36 ms in 56 tok/s out 222.6 tok/s cache-hits 0.0%
r1 headonly decode c=16 TTFT 701.7 ms TPOT 5.74 ms in 565 tok/s out 2258.3 tok/s cache-hits 0.0%
r1 body decode c=1 TTFT 57.1 ms TPOT 4.32 ms in 56 tok/s out 224.1 tok/s cache-hits 0.0%
r1 body decode c=16 TTFT 670.0 ms TPOT 5.86 ms in 558 tok/s out 2233.8 tok/s cache-hits 0.0%
r2 target decode c=1 TTFT 86.2 ms TPOT 4.44 ms in 54 tok/s out 217.5 tok/s cache-hits 0.0%
r2 target decode c=16 TTFT 190.6 ms TPOT 5.76 ms in 648 tok/s out 2590.5 tok/s cache-hits 0.0%
r2 headonly decode c=1 TTFT 62.3 ms TPOT 4.42 ms in 55 tok/s out 220.5 tok/s cache-hits 0.0%
r2 headonly decode c=16 TTFT 185.9 ms TPOT 5.62 ms in 671 tok/s out 2683.7 tok/s cache-hits 0.0%
r2 body decode c=1 TTFT 59.4 ms TPOT 4.34 ms in 57 tok/s out 226.0 tok/s cache-hits 0.0%
r2 body decode c=16 TTFT 183.7 ms TPOT 5.53 ms in 683 tok/s out 2731.2 tok/s cache-hits 0.0%
r3 target decode c=1 TTFT 58.5 ms TPOT 4.43 ms in 55 tok/s out 219.3 tok/s cache-hits 0.0%
r3 target decode c=16 TTFT 183.6 ms TPOT 5.84 ms in 627 tok/s out 2509.2 tok/s cache-hits 0.0%
r3 headonly decode c=1 TTFT 59.2 ms TPOT 4.34 ms in 56 tok/s out 222.3 tok/s cache-hits 0.0%
r3 headonly decode c=16 TTFT 304.6 ms TPOT 5.79 ms in 626 tok/s out 2502.1 tok/s cache-hits 0.0%
r3 body decode c=1 TTFT 62.0 ms TPOT 4.46 ms in 54 tok/s out 215.8 tok/s cache-hits 0.0%
r3 body decode c=16 TTFT 214.8 ms TPOT 6.54 ms in 575 tok/s out 2300.8 tok/s cache-hits 0.0%