[watermarking] add context deduplication support to speculative decoding (#56807)
Signed-off-by: Raphael Rialland <raphael.rialland@mistral.ai> Signed-off-by: Simon Veitner <sveitner@redhat.com> Co-authored-by: Simon Veitner <sveitner@redhat.com> Co-authored-by: Lucas Wilkinson <LucasWilkinson@users.noreply.github.com>
This commit is contained in:
co-authored by
Simon Veitner
Lucas Wilkinson
parent
73a5831127
commit
0f8b398158
@@ -1344,13 +1344,6 @@ class VllmConfig:
|
||||
"share of output tokens supplied by accepted drafts.",
|
||||
scope="global",
|
||||
)
|
||||
if watermark_config.deduplicate_contexts != "none":
|
||||
logger.warning_once(
|
||||
"Context deduplication is not supported with speculative "
|
||||
"decoding and will not be applied to accepted drafts, "
|
||||
"rejection-recovery tokens, or bonus tokens.",
|
||||
scope="global",
|
||||
)
|
||||
if watermark_config.algorithm == "dual_key_gumbel" and (
|
||||
watermark_config.alpha != get_field(WatermarkConfig, "alpha").default
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user