[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:
co-authored by
Kevin H. Luu
parent
d92a4f25f2
commit
784d1fff0c
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user