[MRV2][Spec Decode] Quantized draft lm_head for drafters that share the target head (#59973)

Signed-off-by: Stefano Castagnetta <scastagnetta@nvidia.com>
Co-authored-by: Kevin H. Luu <khluu000@gmail.com>
This commit is contained in:
Stefano Castagnetta
2026-10-15 22:06:40 +00:00
committed by GitHub
co-authored by Kevin H. Luu
parent d92a4f25f2
commit 784d1fff0c
11 changed files with 613 additions and 3 deletions
@@ -607,6 +607,7 @@ class ParallelLMHead(VocabParallelEmbedding):
prefix: str = "",
*,
disable_tp: bool = False,
quant_method: QuantizeMethodBase | None = None,
):
self.has_bias = bias
super().__init__(
@@ -618,6 +619,7 @@ class ParallelLMHead(VocabParallelEmbedding):
quant_config,
prefix,
disable_tp=disable_tp,
quant_method=quant_method,
)
self.quant_config = quant_config
if bias: