[watermarking] Add DFlash support to dual-key gumbel-max watermarking (#59554)
Signed-off-by: Shern Shiou Tan <shernshiou@gmail.com> Signed-off-by: Simon Veitner <sveitner@redhat.com> Signed-off-by: Raphael Rialland <raphael.rialland@mistral.ai> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Simon Veitner <sveitner@redhat.com> Co-authored-by: Raphael Rialland <raphael.rialland@mistral.ai> Co-authored-by: Lucas Wilkinson <LucasWilkinson@users.noreply.github.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
Simon Veitner
Raphael Rialland
Lucas Wilkinson
parent
e711723352
commit
d92a4f25f2
@@ -366,6 +366,7 @@ class DFlashSpeculator(DraftModelSpeculator):
|
||||
self.seeds,
|
||||
self.sample_col[:num_sample],
|
||||
self.draft_logits,
|
||||
num_steps=self.num_speculative_steps,
|
||||
)
|
||||
self.draft_tokens[:num_reqs] = draft_tokens.view(
|
||||
num_reqs, self.num_speculative_steps
|
||||
|
||||
Reference in New Issue
Block a user