[Model Runner V2] Spec decode rejection sampler greedy support (#37238)
Signed-off-by: Giancarlo Delfin <gdelfin@inferact.ai>
This commit is contained in:
@@ -821,9 +821,7 @@ class GPUModelRunner(LoRAModelRunnerMixin):
|
||||
logits,
|
||||
input_batch,
|
||||
# Draft logits are needed for probabilistic rejection sampling.
|
||||
self.req_states.draft_logits[input_batch.idx_mapping]
|
||||
if self.req_states.draft_logits is not None
|
||||
else None,
|
||||
self.req_states.draft_logits,
|
||||
)
|
||||
|
||||
# Get the number of sampled and rejected tokens.
|
||||
|
||||
Reference in New Issue
Block a user